mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Format Decode.roc
This commit is contained in:
parent
89def77f01
commit
8ff74465b9
1 changed files with 1 additions and 1 deletions
|
@ -99,4 +99,4 @@ fromBytes = \bytes, fmt ->
|
|||
Err (Leftover rest)
|
||||
|
||||
mapResult : DecodeResult a, (a -> b) -> DecodeResult b
|
||||
mapResult = \{result, rest}, mapper -> {result: Result.map result mapper, rest}
|
||||
mapResult = \{ result, rest }, mapper -> { result: Result.map result mapper, rest }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue