Skip to content

Commit

Permalink
note for later
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Jan 10, 2020
1 parent 39fce03 commit d5b554c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Wave.elm
Expand Up @@ -167,6 +167,7 @@ propagate todo (Wave wave) =
Just cell ->
[ Direction.up, Direction.down, Direction.left, Direction.right ]
|> List.foldl (propagateInDirection target cell) ( Wave wave, rest )
-- TODO this prevents TCO. Should rearrange the code once it works.
|> (\( finalWave, finalRest ) -> propagate finalRest finalWave)


Expand Down

0 comments on commit d5b554c

Please sign in to comment.