summaryrefslogtreecommitdiff
path: root/test/matchvoid.myr
blob: 86a5b1b4403f5bddcd980044c7a29689a61bb6d0 (plain)
1
2
3
4
5
6
7
8
use std

const main = {
	match `std.Some void
	| `std.Some void:	std.put("ok\n")
	| `std.None:	std.put("nope\n")
	;;
}