Merge branch 'trunk' of github.com:rtfeldman/roc into crates-folder

This commit is contained in:
Anton-4 2022-07-02 12:35:19 +02:00
commit b74fc3554b
No known key found for this signature in database
GPG key ID: C954D6E0F9C0ABFD
35 changed files with 359 additions and 1204 deletions

View file

@ -2804,7 +2804,7 @@ fn list_walk_until() {
satisfyA = \_ -> []
oneOfResult =
List.walkUntil [satisfyA] [] \_, _ -> Stop []
List.walkUntil [satisfyA] [] \_, _ -> Break []
main =
when oneOfResult is
@ -3004,10 +3004,10 @@ fn do_pass_bool_byte_closure_layout() {
\input ->
walker = \accum, (Pair u rest) ->
if predicate u then
Stop [Pair u rest]
Break [Pair u rest]
else
Stop accum
Break accum
List.walkUntil (any input) [] walker
@ -3019,7 +3019,7 @@ fn do_pass_bool_byte_closure_layout() {
walker = \accum, p ->
output = p input
if List.len output == 1 then
Stop output
Break output
else
Continue accum