<span style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small;display:inline!important;float:none">You could easily write your own using <a href="https://github.com/hyperthunk/annotations">https://github.com/hyperthunk/annotations</a></span><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<br></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
For some usage examples:</div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<br></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<a href="https://github.com/hyperthunk/rebar_annotations/blob/master/src/base_dir.erl">https://github.com/hyperthunk/rebar_annotations/blob/master/src/base_dir.erl</a></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<a href="https://github.com/nebularis/memoize/blob/master/src/memoize.erl">https://github.com/nebularis/memoize/blob/master/src/memoize.erl</a></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<br>It would be easy to write the pre/post conditions as annotations and glue them in to the build using this.</div><br><div class="gmail_quote">On 12 January 2012 02:12, Zabrane Mickael <span dir="ltr"><<a href="mailto:zabrane3@gmail.com">zabrane3@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Steve. But UBF is for protocol validation between Erlang and foreign languages.<br>
<br>
But to simply check pre-conditions, post-conditions aroudn functions ... may be something simple exists!!!<br>
<br>
Regards,<br>
Zabrane<br>
<div class="HOEnZb"><div class="h5"><br>
On Jan 12, 2012, at 1:39 AM, Steve Davis wrote:<br>
<br>
> If you've not seen it already, Joe Armstrong's UBF is worth studying:<br>
><br>
> <a href="http://www.sics.se/~joe/ubf/site/home.html" target="_blank">http://www.sics.se/~joe/ubf/site/home.html</a><br>
><br>
><br>
> On Jan 11, 3:19 pm, Zabrane Mickael <<a href="mailto:zabra...@gmail.com">zabra...@gmail.com</a>> wrote:<br>
>> Hi guys,<br>
>><br>
>> Any Erlang library to simply DbC (à la Eiffel)?<br>
>><br>
>> Regards,<br>
>> Zabrane<br>
>><br>
>> _______________________________________________<br>
>> erlang-questions mailing list<br>
>> erlang-questi...@erlang.orghttp://<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">erlang.org/mailman/listinfo/erlang-questions</a><br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br>