shithub: mc

Download patch

ref: c6dc304c9f9bf6e20f0f1b36a961115573e2aecd
parent: 05666a778aae28f2f647f22ef566f041b5bf08c7
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Nov 16 08:28:56 EST 2016

Zero initialized options are better off as `None.

	Make the zero value useful.

--- a/lib/std/option.myr
+++ b/lib/std/option.myr
@@ -1,7 +1,7 @@
 pkg std =
 	type option(@a) = union
-		`Some @a
 		`None
+		`Some @a
 	;;
 ;;