]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/monads/monads.factor
lists: first pass at some cleanup.
[factor.git] / extra / monads / monads.factor
index 73e2b98eb282c404d2c63ab4bbd1b5928eda0e09..d8d4e35a3542faab52d78dc22f3b99c080851bdd 100644 (file)
@@ -127,7 +127,7 @@ M: list-monad fail   2drop nil ;
 
 M: list monad-of drop list-monad ;
 
-M: list >>= '[ _ swap lazy-map lconcat ] ;
+M: list >>= '[ _ swap lmap-lazy lconcat ] ;
 
 ! State
 SINGLETON: state-monad