[Haskell-cafe] Can I write this function without doing the action on a different line?

Matt Joiner anacrolix at gmail.com
Sun Apr 6 06:31:25 UTC 2014


   1. packageBase <- do
   2.     curDir <- getCurrentDirectory
   3.     return . last . splitDirectories . normalise . joinPath $
curDir:maybeToList
   package
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140406/e3727a82/attachment.html>


More information about the Haskell-Cafe mailing list