fix Roc formatting

This commit is contained in:
Luke Boswell 2023-03-08 18:11:49 +11:00
parent a306d9b129
commit ae6f9067b6
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ false = @Bool False
## the logic [AND](https://en.wikipedia.org/wiki/Logical_conjunction)
## gate. The infix operator `&&` can also be used as shorthand for
## `Bool.and`.
##
##
## ```
## expect (Bool.and Bool.true Bool.true) == Bool.true
## expect (Bool.true && Bool.true) == Bool.true

View file

@ -562,7 +562,7 @@ countIf = \list, predicate ->
## List.keepOks [["a", "b"], [], [], ["c", "d", "e"]] List.last
##
## fn = \str -> if Str.isEmpty str then Err StrWasEmpty else Ok (Str.len str)
##
##
## List.keepOks ["", "a", "bc", "", "d", "ef", ""]
## ```
keepOks : List before, (before -> Result after *) -> List after
@ -580,7 +580,7 @@ keepOks = \list, toResult ->
## List.keepErrs [["a", "b"], [], [], ["c", "d", "e"]] List.last
##
## fn = \str -> if Str.isEmpty str then Err StrWasEmpty else Ok (Str.len str)
##
##
## List.keepErrs ["", "a", "bc", "", "d", "ef", ""]
## ```
keepErrs : List before, (before -> Result * after) -> List after