on master help sign in
Fix the type of Either, addressing copy-paste error.
commit6d8a50d326fe2082a1ea7799d0506971628d1f89 authorevancz <info@elm-lang.org> dateSat 9 Feb 2013, 10:45 (14 years ago) parentdd9d219
1 file changed+1−1
elm/src/Types/Types.hs+1−1
elm/src/Types/Types.hs+1−1
@@ -61,7 +61,7 @@ listOf t = ADT "List" [t]
6161signalOf t = ADT "Signal" [t]
6262tupleOf ts = ADT ("Tuple" ++ show (length ts)) ts
6363maybeOf t = ADT "Maybe" [t]
64−eitherOf a b = ADT "Maybe" [a,b]
64+eitherOf a b = ADT "Either" [a,b]
6565pairOf t = tupleOf [t,t]
6666point = pairOf int
6767appendable t = Super (Set.fromList [ string, text, listOf t ])