Fix result extraction
This commit is contained in:
parent
6c41743dbd
commit
303120f54a
|
@ -15,7 +15,7 @@ main = do
|
||||||
hSetBuffering stdout NoBuffering
|
hSetBuffering stdout NoBuffering
|
||||||
pop <- mkPop
|
pop <- mkPop
|
||||||
pop' <- runEffect $ for (run 2 1 pop (steps 100)) log
|
pop' <- runEffect $ for (run 2 1 pop (steps 100)) log
|
||||||
res <- bests 5 pop
|
res <- bests 5 pop'
|
||||||
sequence_ $ format <$> res
|
sequence_ $ format <$> res
|
||||||
where
|
where
|
||||||
format :: (Individual i, MonadIO m, Pretty i) => i -> m ()
|
format :: (Individual i, MonadIO m, Pretty i) => i -> m ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user