Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. ...
  2. [lucius|...|]
  3. ...
  4. [luciusFile|...|]
  5. ...
  6.  
  7. ...
  8. [clay|...|]
  9. ...
  10.  
  11. module Main where
  12.  
  13. import Distribution.Simple
  14. import Style.Main (stylesheet, writeStylesheet)
  15.  
  16. main = do
  17. writeStylesheet "static/css/style.css" stylesheet
  18. defaultMain
  19.  
  20. [ 1 of 10] Compiling Settings ( Settings.hs, dist/setup/Settings.o )
  21.  
  22. Settings.hs:60:2: lexical error at character 'i'
  23.  
  24. import qualified Clay as C
  25. clay :: C.Css -> Q Exp
  26. clay css =
  27. let rendered = C.renderWith C.compact [] css
  28. in [lucius| #{rendered} |]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement