jaspervdj / digestive-functors

A general way to consume input using applicative functors
149 stars 71 forks source link

Conditional Error Splice for Heist #30

Closed scan closed 12 years ago

scan commented 12 years ago

The idea is to have a splice like this:

<dfIfErrors>There were errors</dfIfErrors>

<dfItErrors ref="name">There were errors for "name"</dfIfErrors>

Should be easily understood what they do.

jaspervdj commented 12 years ago

Available on Hackage as digestive-functors-heist-0.3.1.0. Please note that I called it dfIfChildErrors for consistency reasons.

scan commented 12 years ago

Many thanks!