Skip to content

Commit

Permalink
rename to avoid another confusing collision
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Feb 21, 2020
1 parent 7da990b commit 48eaadf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Wave.elm
Expand Up @@ -178,7 +178,7 @@ propagateInDirection :
-> Direction
-> ( Wave comparable, List { row : Int, column : Int } )
-> ( Wave comparable, List { row : Int, column : Int } )
propagateInDirection source cell direction ( Wave wave, todo ) =
propagateInDirection source sourceCell direction ( Wave wave, todo ) =
let
target =
Direction.move source direction
Expand All @@ -195,7 +195,7 @@ propagateInDirection source cell direction ( Wave wave, todo ) =
Just (Open remaining) ->
let
possibleInDirection =
case cell of
case sourceCell of
Collapsed value ->
Dict.get ( value, direction ) wave.rules
|> Maybe.withDefault Set.empty
Expand Down

0 comments on commit 48eaadf

Please sign in to comment.