mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
update internal references to Result.map
This commit is contained in:
parent
326558337c
commit
297dd0233e
6 changed files with 11 additions and 11 deletions
|
@ -37,7 +37,7 @@ decoder = @MDecoder \lst, fmt ->
|
|||
#^^^^^^^{-1} MyU8#decoder(12): MDecoder MyU8 fmt where fmt implements MDecoderFormatting
|
||||
when decode_with lst u8 fmt is
|
||||
{ result, rest } ->
|
||||
{ result: Result.map result (\n -> @MyU8 n), rest }
|
||||
{ result: Result.map_ok result (\n -> @MyU8 n), rest }
|
||||
|
||||
my_u8 : Result MyU8 _
|
||||
my_u8 = from_bytes [15] (@Linear {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue