Created
June 17, 2016 14:05
-
-
Save Lysxia/f5e31a527810556c15ae98c688354f8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
forM_ (zip [0, 2..] (makeForm someUser)) $ \(idx, label_name) -> do | |
createLabel label_name >>= attach idx | |
Entry.entryNew >>= attach (idx+1) | |
where | |
attach idx x = Grid.gridAttach grid x 0 idx 1 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment