mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
Merge branch 'main' of github.com:roc-lang/roc into simplify_examples
This commit is contained in:
commit
076190a217
61 changed files with 1913 additions and 1004 deletions
|
@ -21,7 +21,7 @@ encodeChunks = \bytes ->
|
|||
coerce : Nat, a -> a
|
||||
coerce = \_, x -> x
|
||||
|
||||
# folder : { output : List Encoder, accum : State }, U8 -> { output : List ByteEncoder, accum : State }
|
||||
# folder : { output : List ByteEncoder, accum : State }, U8 -> { output : List ByteEncoder, accum : State }
|
||||
folder = \{ output, accum }, char ->
|
||||
when accum is
|
||||
Unreachable n -> coerce n { output, accum: Unreachable n }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue