ref: 5927f8f8d3b4ab40d2aacfae4b3cbd593c5e7f01
dir: /test/genericimpl.myr/
use std trait gimpl @a = desc : (x : @a -> byte[:]) ;; impl gimpl int = desc = {x -> "int" } ;; impl gimpl byte[:] = desc = {x -> "string" } ;; impl gimpl @a = desc = {x -> "@a" } ;; impl gimpl @b[:] = desc = {x -> "@a[:]" } ;; const main = { std.put("{} {} {} {}\n", desc(123), desc("foo"), desc('x'), desc([true][:])) }