Skip to content

Commit

Permalink
Update CLI solver to PS 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed May 13, 2017
1 parent 61df797 commit a838f05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/cli.purs
Expand Up @@ -5,7 +5,7 @@ import Control.Monad.Eff (Eff)
import Control.Monad.Eff.Console (CONSOLE, log)
import Data.Array as A
import Data.List (List)
import Data.Traversable (for)
import Data.Traversable (for, for_)

import Types (Cube(..))
import Solver (solve)
Expand Down Expand Up @@ -35,6 +35,6 @@ main = void do
log $ " Initial: " <> showList2 (map (map ttyColor) level.initial)
log $ " Target: " <> showList2 (map (map ttyColor) level.target)
log $ " Solutions: "
for solutions $ \sol ->
for_ solutions $ \sol ->
log $ " " <> showList sol
log ""

0 comments on commit a838f05

Please sign in to comment.