We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 35782a7 + 69dcc35 commit 299f5e5Copy full SHA for 299f5e5
src/Data/Maybe.purs
@@ -14,7 +14,7 @@ import Data.Monoid (class Monoid)
14
-- | The `Maybe` type is used to represent optional values and can be seen as
15
-- | something like a type-safe `null`, where `Nothing` is `null` and `Just x`
16
-- | is the non-null value `x`.
17
-data Maybe a = Just a | Nothing
+data Maybe a = Nothing | Just a
18
19
-- | The `Functor` instance allows functions to transform the contents of a
20
-- | `Just` with the `<$>` operator:
0 commit comments