08:43:18 <lontong> hi, i guess i miss something but why can't i simply doing something like $forall x <- [1..10] in a hamlet template file?
08:43:56 <lontong> it complains about unexpected "." expecting digit
08:59:59 <donri> > [1..10]
09:00:00 <lambdabot>   [1,2,3,4,5,6,7,8,9,10]
09:00:17 <donri> lontong: probably it's not using the ghc parser and it gets confused by float vs range
09:01:03 <donri> lontong: try adding whitespace [1 .. 10]
09:35:18 <lontong> still, unexpected "."
09:36:51 <donri> lontong: ok then maybe it doesn't support range syntax. put the list in a variable outside the template, perhaps
09:38:26 <lontong> because i only use it for a "static" pagination (only displaying 10 pages).. i did this : $forall x <- [1,2,3,4,5,6,7,8,9,10]
09:38:43 <donri> :)
09:38:53 <lontong> btw, is there any ready to use pagination module like yesod-paginator for happstack?
09:39:06 <donri> not to my knowledge
09:39:28 <lontong> i saw blaze-html contribution, but without any sample
09:39:40 <lontong> oh, ok then
11:01:10 <lontong> happstack + hamlet + bootstrap really speed up my development time :)
11:01:26 <lontong> i'm extremely happy with the result so far