[eeps] Proposal for /\ and \/ operators
Zoltan Peter Toth
zoltan.peter.toth@REDACTED
Thu Feb 26 14:03:38 CET 2009
mats cronqvist wrote:
> Joe Armstrong <joearms@REDACTED> writes:
>
>
>> > I'm sick of writing my own max and min functions.
>>
>>> Aren't you?
>>>
>> Not really - If I didn't know Erlang or If I didn't know all the
>> language I's assume
>> that /\ meant AND and \/ meant OR. This would confuse lots of people.
>>
>
> why would you think they meant AND/OR? I thought "/\" meant "lambda"
> at first, but AND/OR?
>
http://en.wikipedia.org/wiki/Boolean_algebras_canonically_defined says:
Typical equations in the language of Boolean algebra are /x/?/y/ =
/y/?/x/, /x/?/x/ = /x/, /x/?¬/x/ = /y/?¬/y/, and /x/?/y/ = /x/.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/eeps/attachments/20090226/9da67bdd/attachment.htm>
More information about the eeps
mailing list