Skip to content

Instantly share code, notes, and snippets.

@jacobstanley
Created March 11, 2011 19:02
Show Gist options
  • Save jacobstanley/866381 to your computer and use it in GitHub Desktop.
Save jacobstanley/866381 to your computer and use it in GitHub Desktop.
mapBind' :: (Monad m) => (a -> [(Text, Splice m)]) -> [a] -> Splice m
mapBind' f = liftM concat . mapM localSplices
where
localSplices v = localTS
(bindSplices $ f v)
(runNodeList =<< liftM X.childNodes getParamNode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment