Skip to content

Commit a856fd2

Browse files
Alex KelleyAlex Kelley
authored andcommitted
Cleaned up stray broken lines
1 parent 46fb855 commit a856fd2

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tut01/src/Main.purs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
module Main
2-
( nextCharForNumberString
3-
) where
1+
module Main where
42

53
import Prelude
64

@@ -48,8 +46,7 @@ nextCharForNumberString'' =
4846
>>> (+) 1
4947
>>> fromCharCode
5048
>>> fromMaybe ' '
51-
>>>
52-
singleton
49+
>>> singleton
5350

5451
-- But when mixing categories (i.e., Box, Maybe), we'll often use
5552
-- composition by putting s into a box and mapping over it
@@ -61,8 +58,7 @@ nextCharForNumberString str =
6158
# map (\i -> i + 1)
6259
# map (\i -> fromMaybe ' ' $ fromCharCode i)
6360
# map (\c -> toLower $ singleton c)
64-
#
65-
extract
61+
# extract
6662

6763
main :: Effect Unit
6864
main = do

0 commit comments

Comments
 (0)