
14 Apr
2018
14 Apr
'18
3:09 a.m.
On Fri, Apr 13, 2018 at 04:38:46PM +0200, Marc Busqué wrote:
On Fri, 13 Apr 2018, Tom Ellis wrote:
On Fri, Apr 13, 2018 at 03:59:44PM +0200, Marc Busqué wrote:
Before we can help we need to know more. Specifically, why do you want to put them in a single list?
I want to make the same action with more than one (creating them in the database server):
``` migrate :: IO () migrate = do dir <- dBDir createDirectoryIfMissing True dir forM_ [categories, expenses] $ withDB . createTable ```
I think I would just tolerate forM_ [createTable categories, createTable expenses] $ withDB