on master help sign in
Minor tweaks to match type-checker generation of ADT constraints
commit0ab92aeee73451972f8de3d4939e471b9226f68c authorEvan Czaplicki <info@elm-lang.org> dateFri 26 Jul 2013, 12:25 (13 years ago) parent0681fbe
2 files changed+4−2
libraries/Matrix2D.elm+2 libraries/Maybe.elm+2−2
libraries/Matrix2D.elm+2
@@ -3,6 +3,8 @@ module Matrix2D where
33
44import Native.Matrix2D as Native
55
6+data Matrix2D = Matrix2D
7+
68-- Create an identity matrix.
79--
810-- / 1 0 \\
libraries/Maybe.elm+2−2
@@ -1,8 +1,8 @@
11
22module Maybe where
33
4−import open Basics
5−import open List
4+import Basics (not, (.))
5+import List (foldr)
66
77-- The Maybe datatype. Useful when a computation may or may not
88-- result in a value (e.g. logarithm is defined only for positive numbers).