Update to doctemplates-0.9
0.9
* Add BoolVal constructor to Val. This gives a smoother interface with
JSON and YAML. [API change]
* Remove overlapping instances by generalizing ToContext String String
and FromContext String String to TemplateTarget [a] => ToContext [a]
[a] and TemplateTarget [a] => FromContext [a] [a]. Remove the
instance ToContext String (Doc String). Remove redundant
constraints. (#9, favonia) [API change]
0.8.3
* Properly handle nested loops (#15). Previously "it" was always used
for the variable in a loop, and in a nested loop there was no way to
distinguish the value of the inner iteration from the value of the
outer one. Now we assign the iterated value to both "it" and to the
original variable name (e.g. "foo.bar"). This probably has a small
negative performance impact. Note that this change also affects the
output of the template parser: original variable names are now
retained instead of being replaced by "it".
* Remove duplicate IsString constraint (#14, Mario Lang).
* Update haddocks from README (#10).
* Minor code clean-ups (#7, favonia).
* Add hsyaml >= 0.2 constraint (#6).
0.8.2
* Add filters: first, rest, last, allbutlast.
* New constructors for Filter: FirstItem, LastItem, Rest, AllButLast
[API change].
2021-04-24 17:28:11 +02:00
|
|
|
$NetBSD: distinfo,v 1.2 2021/04/24 15:28:11 pho Exp $
|
2020-01-15 12:35:54 +01:00
|
|
|
|
Update to doctemplates-0.9
0.9
* Add BoolVal constructor to Val. This gives a smoother interface with
JSON and YAML. [API change]
* Remove overlapping instances by generalizing ToContext String String
and FromContext String String to TemplateTarget [a] => ToContext [a]
[a] and TemplateTarget [a] => FromContext [a] [a]. Remove the
instance ToContext String (Doc String). Remove redundant
constraints. (#9, favonia) [API change]
0.8.3
* Properly handle nested loops (#15). Previously "it" was always used
for the variable in a loop, and in a nested loop there was no way to
distinguish the value of the inner iteration from the value of the
outer one. Now we assign the iterated value to both "it" and to the
original variable name (e.g. "foo.bar"). This probably has a small
negative performance impact. Note that this change also affects the
output of the template parser: original variable names are now
retained instead of being replaced by "it".
* Remove duplicate IsString constraint (#14, Mario Lang).
* Update haddocks from README (#10).
* Minor code clean-ups (#7, favonia).
* Add hsyaml >= 0.2 constraint (#6).
0.8.2
* Add filters: first, rest, last, allbutlast.
* New constructors for Filter: FirstItem, LastItem, Rest, AllButLast
[API change].
2021-04-24 17:28:11 +02:00
|
|
|
SHA1 (doctemplates-0.9.tar.gz) = 24af93320be556c02b91ac1bd9612a83540967f3
|
|
|
|
RMD160 (doctemplates-0.9.tar.gz) = 37b103a8b73faf0325a44bfcaa4085c20a6097d1
|
|
|
|
SHA512 (doctemplates-0.9.tar.gz) = 3216fc7ef4e2a45230a2854c22c2a8622774bc834bbf59d34134912b3942df2a541230bd91324995e13e19098a0fa0bf7057c7d55ca35ec75da7840fddd61a37
|
|
|
|
Size (doctemplates-0.9.tar.gz) = 27366 bytes
|