We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 577ee5d commit 9cec4cbCopy full SHA for 9cec4cb
src/pages/blog/announce/repl.elm
@@ -63,8 +63,8 @@ The same can be done with definitions of values and functions:
63
> increment fortyOne
64
42 : number
65
66
-> factorial n = \
67
-| if n < 1 then 1 \
+> factorial n = \\
+| if n < 1 then 1 \\
68
| else n * factorial (n-1)
69
<function> : number -> number
70
@@ -77,8 +77,8 @@ You can also define ADTs:
77
```
78
> data List a = Nil | Cons a (List a)
79
80
-> isNil xs = case xs of \
81
-| Nil -> True \
+> isNil xs = case xs of \\
+| Nil -> True \\
82
| Cons _ _ -> False
83
<function> : List a -> Bool
84
0 commit comments