Skip to content

Commit bfc4d0a

Browse files
authored
Merge pull request #684 from spikefoo/fix-repl-post
REPL announcement blog post: properly escape backslashes
2 parents 577ee5d + 9cec4cb commit bfc4d0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/blog/announce/repl.elm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ The same can be done with definitions of values and functions:
6363
> increment fortyOne
6464
42 : number
6565
66-
> factorial n = \
67-
| if n < 1 then 1 \
66+
> factorial n = \\
67+
| if n < 1 then 1 \\
6868
| else n * factorial (n-1)
6969
<function> : number -> number
7070
@@ -77,8 +77,8 @@ You can also define ADTs:
7777
```
7878
> data List a = Nil | Cons a (List a)
7979
80-
> isNil xs = case xs of \
81-
| Nil -> True \
80+
> isNil xs = case xs of \\
81+
| Nil -> True \\
8282
| Cons _ _ -> False
8383
<function> : List a -> Bool
8484

0 commit comments

Comments
 (0)