Comment on Vim CroquetparentComments−bjackman12ymap (format "The %s thing with Haskell is that it can be extremely compact") ["nice thing", "problem"](disclaimer: that probably isn't actual Haskell syntax.)−chongli12y mapM_ (printf "The %s thing with Haskell is that it can be extremely compact\n") ["nice thing", "problem"] This works. :)Alternatively, you could do this: forM_ ["nice thing", "problem"] $ printf "The %s thing with Haskell is that it can be extremely compact\n"−ajanuary12ymap (("The "++).(++" with Haskell is that it can be extremely compact")) ["nice thing", "problem"]
Comments
map (format "The %s thing with Haskell is that it can be extremely compact") ["nice thing", "problem"]
(disclaimer: that probably isn't actual Haskell syntax.)
Alternatively, you could do this:
map (("The "++).(++" with Haskell is that it can be extremely compact")) ["nice thing", "problem"]