Thursday, March 17, 2016

February 2016: Haskell 1Liners

One-liners
  • February 11th, 2015: rewrite
    \n -> mapM f (replicate 10 n)
    using replicateM instead
    where f :: Monad m => Int -> m a
    • Gautier DI FOLCO @gautier_difolco replicateM 10 . f

No comments: