22 Apr
2014
22 Apr
'14
6:33 a.m.
Tom Ellis <tom-lists-haskell-cafe-2013@jaguarpaw.co.uk> writes:
unless <$> doesDirectoryExist path <*>| pure (do putStrLn $ "Creating directory " ++ path createDirectory path)
-1. This is not appealing to me, compared to the ease of reading and writing the equivalent expression using unlessM. John