roc format

This commit is contained in:
Ian McLerran 2024-12-31 12:13:23 -06:00
parent b32f12015d
commit b4c20fca39
No known key found for this signature in database
GPG key ID: 022CF95852BFF343

View file

@ -1481,7 +1481,6 @@ walk! : List elem, state, (state, elem => state) => state
walk! = \list, state, func! -> walk! = \list, state, func! ->
when list is when list is
[] -> state [] -> state
[elem, .. as rest] -> [elem, .. as rest] ->
nextState = func! state elem nextState = func! state elem
walk! rest nextState func! walk! rest nextState func!