ref: b9cf124f492b69a0c76c9cb89d07a046c0e6c7e8
dir: /test/compoundimpl.myr/
use std
trait frobable @a =
frob : (val : @a -> void)
;;
impl frobable int# =
frob = {val
std.put("intptr,")
}
;;
impl frobable char# =
frob = {val
std.put("charptr\n")
}
;;
generic foo = {x : @a::frobable
frob(x)
}
const main = {
var a = (123 : int)
var b = 'c'
foo(&a)
foo(&b)
}