ref: 2be6300162a3b32e4d82f71ed6772aa5feced897
dir: /lib/std/option.myr/
pkg std =
type option(@a) = union
`None
`Some @a
;;
generic canget : (o : option(@a) -> bool)
;;
generic canget = {o
match o
| `None: -> false
| `Some _: -> true
;;
}