[eeps] Proposal to add is_between(Term, LB, UB) guard test

Richard A. O'Keefe <>
Wed Jul 23 05:54:28 CEST 2008


is_between(Term, LB, UB) fits quite well with existing guard tests,
can easily be implemented so that it is more efficient than anything
the programmer could write, provides an opportunity to avoid certain
errors, and can make some guards simpler.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: eep-btwn.txt
URL: <http://erlang.org/pipermail/eeps/attachments/20080723/d051fc87/attachment.txt>
-------------- next part --------------


--
If stupidity were a crime, who'd 'scape hanging?









More information about the eeps mailing list