Closed funrep closed 11 years ago
I bypassed this problem by manually implementing lazyTextToStrictByteString and strictByteStringToLazyText in clicker.hs. But then a new problem arised:
clicker.hs:66:22: Not in scope: `staticRoot'
clicker.hs:71:17: Not in scope: `H.preEscapedLazyText'
clicker.hs:95:17: Not in scope: `H.lazyText'
Might clicker.hs be made in a older version of blaze-html? As for the staticRoot, I got no idea...
I think clicker only ever worked on my computer... and not even any of the ones I currently have, since I lost the JS file. :-(
I'm just going to remove the example. Are you interested because you are looking for a cookie example? We can probably come up with a much better one now.
Yes, I was interested in the cookie example. I'm currently investigating how to implement a login system and I'm completely new to web dev. I looked into Yesod but it was waay to complex, scotty seems much nicer! :-)
I'm going to close this, as I've removed the clicker example, and open an issue for 'write a cookie example' instead.
I use scotty-0.4.6. The clicker examples gives this error:
Which make sense since clicker.hs imports a hidden module.