Skip to content

Instantly share code, notes, and snippets.

@Tehnix
Created January 4, 2014 02:06
Show Gist options
  • Select an option

  • Save Tehnix/8250548 to your computer and use it in GitHub Desktop.

Select an option

Save Tehnix/8250548 to your computer and use it in GitHub Desktop.
Hamlet $with error on ´.´
-- Hamlet file
$with Entity _ user <- runDB $ selectFirst [UserId ==. userId] [] >>= return.fromJust
#{userIdent user}
-- Error (it is referring to the `.` in `return.fromJust`)
<div #content-preview-container>
<div .clear>
" (line 32, column 105):
unexpected '.'
expecting letter or digit, "_", "'", " ", ",", end of input, "\n" or "\r\n"
Code: widgetFile "admin/articles"
In a stmt of a 'do' block: $(widgetFile "admin/articles")
In the second argument of `($)', namely
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment