[erlang-questions] parameterized modules alternative in chicago boss like use case
Mon Jul 4 15:27:01 CEST 2011
On 4 July 2011 12:12, Pablo Platt <pablo.platt@REDACTED> wrote:
> exprecs looks interesting.
> Not sure how hard it will be to patch erly_dtl to use it.
Actually come to think of it, erlydtl will take a proplist. So with
exprecs, you can work (in your code) with a record and then use the
(auto) exported exprecs functions to convert this to a property list.
I do something similar to this (for serialization purposes) here:
More information about the erlang-questions