From 303120f54a57f56458c98efa6d04c76c0ae741ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20P=C3=A4tzel?= Date: Fri, 18 Oct 2019 13:36:59 +0200 Subject: [PATCH] Fix result extraction --- src/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.hs b/src/Main.hs index 0636b36..280c8d6 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -15,7 +15,7 @@ main = do hSetBuffering stdout NoBuffering pop <- mkPop pop' <- runEffect $ for (run 2 1 pop (steps 100)) log - res <- bests 5 pop + res <- bests 5 pop' sequence_ $ format <$> res where format :: (Individual i, MonadIO m, Pretty i) => i -> m ()