I'm not really sure if I'm missing something, but why are you using `case` to pattern match on a boolean in the _Haskell_ source, when all of those ``` case isVisited of True -> ... False -> ... ``` could be replaced by simple `if isVisited then ... else ...`?