Skip to content

Commit aa2f7de

Browse files
committed
fix formatting
1 parent 8e21e3f commit aa2f7de

File tree

3 files changed

+21
-25
lines changed

3 files changed

+21
-25
lines changed

examples/Arithmetic/main.roc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ readArgs =
4646

4747
args =
4848
Arg.list {}
49-
|> Task.mapErr! \_ -> InvalidArg
49+
|> Task.mapErr! \_ -> InvalidArg
5050

5151
aResult = List.get args 1 |> Result.try Str.toI32
5252
bResult = List.get args 2 |> Result.try Str.toI32

examples/Parser/main.roc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import parser.String exposing [parseStr, codeunit, anyCodeunit]
99

1010
main =
1111
many letterParser
12-
|> parseStr inputStr
13-
|> Result.map countLetterAs
14-
|> Result.map \count -> "I counted $(count) letter A's!"
15-
|> Result.withDefault "Ooops, something went wrong parsing"
16-
|> Stdout.line!
12+
|> parseStr inputStr
13+
|> Result.map countLetterAs
14+
|> Result.map \count -> "I counted $(count) letter A's!"
15+
|> Result.withDefault "Ooops, something went wrong parsing"
16+
|> Stdout.line!
1717

1818
Letter : [A, B, C, Other]
1919

flake.lock

Lines changed: 15 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)