Hey y'all,
I posted the following question to stackoverflow:
https://stackoverflow.com/q/68960202/268581
Fyodor there suggested it may be a bug in the template compiler. Is that something on the IHP side? Or part of some other library where I'd need to report the issue?
Thanks!
@marc,
Great answer, thanks for the explanation!
Follow up question...
GHC 9.2.1 is going to feature RecordDotSyntax. Once that's out, do you expect that users will be able to do:
post.title
instead of:
get #title post
?
Is that a style that you think will be encouraged? Or is there some reason (besides historical momentum and existing docs) to stick with get #title post
.
That's a cool new feature! I would certainly enjoy using that syntax.
Yes, post.title
will be the future :) We'll switch over once 9.2 is out and stable
This is a known bug :) Just answered on stackoverflow