
21 Apr
2014
21 Apr
'14
6:33 p.m.
Tom Ellis
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