summaryrefslogtreecommitdiff
path: root/lib/std/result.myr
blob: 58ef45bd79ef0a50061b2d51ae96af1e94e4b83a (plain)
1
2
3
4
5
6
7
8
9
use "die.use"

pkg std =
	type result(@a, @b) = union
		`Ok	@a
		`Fail	@b
	;;
;;