[erlang-questions] [ANN] sheriff 0.2: parse transform for type-based data validation
Tue Feb 14 16:24:05 CET 2012
It would be nice if the validation of a type could be defined as a fun.
I was going to build something similar to this for validation on models in
a web framework. So for validating email addresses and things like that.
More complicated than a simple type.
On Tue, Feb 14, 2012 at 8:35 AM, Loïc Hoguin <essen@REDACTED> wrote:
> In the short term fixing bugs, adding the missing iolist() and iodata()
> validation and a couple other less documented types.
> In the long term it would be nice to find a way to generate validation
> functions also for types found in the Erlang libs, or at least a certain
> subset for the most used of the lot, like the calendar module for example.
> I'm open to any and all suggestions at this point.
> On 02/14/2012 02:38 PM, Ignas Vyšniauskas wrote:
>> I'm confused why no-one is excited about this, this looks awesome! I am
>> already looking forward to using this in our project.
>> Loïc, are there any milestones/plans regarding further developement of
>> On 2012.02.13 10:52, Loïc Hoguin wrote:
>>> We just released the first beta version of the sheriff parse transform.
>>> It allows you to validate data against types defined through the Erlang
>>> type system.
> Loïc Hoguin
> Erlang Cowboy
> Nine Nines
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions