Skip to content

Instantly share code, notes, and snippets.

@jacobstanley
Created March 15, 2011 18:38
Show Gist options
  • Save jacobstanley/871207 to your computer and use it in GitHub Desktop.
Save jacobstanley/871207 to your computer and use it in GitHub Desktop.
withPost :: Splice Application
withPost = callView [ ("title", titleSplice)
, ("date", dateSplice)
, ("body", bodySplice) ]
withPost :: Splice Application
withPost = viewWith [ ("title", titleSplice)
, ("date", dateSplice)
, ("body", bodySplice) ]
withPost :: Splice Application
withPost = runChildrenWith [ ("title", titleSplice)
, ("date", dateSplice)
, ("body", bodySplice) ]
withPost :: Splice Application
withPost = childrenWith [ ("title", titleSplice)
, ("date", dateSplice)
, ("body", bodySplice) ]
withPost :: Splice Application
withPost = contentWith [ ("title", titleSplice)
, ("date", dateSplice)
, ("body", bodySplice) ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment