From 3f12383c2542fb5b1382fb2aa74581460ccd8ae5 Mon Sep 17 00:00:00 2001 From: Sylvain Tedoldi Date: Mon, 11 Apr 2016 11:43:16 +0200 Subject: [PATCH] Fixes transducers usage. --- src/fr/tedoldi/lichess/game/retriever/lichess.clj | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/fr/tedoldi/lichess/game/retriever/lichess.clj b/src/fr/tedoldi/lichess/game/retriever/lichess.clj index 761b159..347a489 100644 --- a/src/fr/tedoldi/lichess/game/retriever/lichess.clj +++ b/src/fr/tedoldi/lichess/game/retriever/lichess.clj @@ -100,6 +100,7 @@ (> timestamp since-timestamp))))) (map #(-games-url->games url max-per-page % total-pages)))] - (lazy-cat - (sequence page-nb->game - (range total-pages)))))) + (flatten + (lazy-seq + (sequence page-nb->game + (range total-pages)))))))