format roc code

This commit is contained in:
Folkert 2022-07-03 13:02:41 +02:00
parent 8a611fdb34
commit eefba96a16
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -379,7 +379,6 @@ walk = \list, state, func ->
Continue newState -> newState
Break void -> List.unreachable void
## Note that in other languages, `walkBackwards` is sometimes called `reduceRight`,
## `fold`, `foldRight`, or `foldr`.
walkBackwards : List elem, state, (state, elem -> state) -> state
@ -820,4 +819,5 @@ iterHelp = \list, state, f, index, length ->
else
Continue state
## useful for typechecking guaranteed-unreachable cases
unreachable : [] -> a