6 Feb
2015
6 Feb
'15
10:12 p.m.
On 6 February 2015 at 13:47, hokum <h-o-k-u-m@yandex.ru> wrote:
It's probably something to do with lenses, but I'm not very familiar with it. Four hours of googling didn't give me anything on the subject, so any help?
Indeed, hcTemplateLocations is not a record field. Try using lenses instead: initHeist $ mempty & hcTemplateLocations .~ [ loadTemplates "templates" ] & hcInterpretedSplices .~ defaultInterpretedSplices