For Programmers: Free Programming Magazines  


Home > Archive > Functional > August 2007 > What's the reason to have non-short-circuit operators in erlang guards?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author What's the reason to have non-short-circuit operators in erlang guards?
konryd

2007-08-15, 7:11 pm

I just began reading "Programming Erlang", and wonder what is the
reason for having both short-circuit and non-short-circuit logical
"and" and "or" sice they're to be used in guards anyway (which by
definition don't alter data). While short-circuit logic is obviously
very practical for cases like division by zero in your example, I
can't think of any practical use of non-short-circuit operators in
guards.

Take

2007-08-17, 1:46 am

Jennifer Aniston and Helen Hunt Wrestling & Showing Ass!
http://www.digitalalemedia.com/PlayFile?clip=148803

Tara Reid and Carmen Electra , Lesbian Blondes On Table!
http://www.digitalalemedia.com/Medi....wmv?vid=148803

Cameron Diaz and Carmen Electra Lesbians Get Messy With Food!
http://www.digitalalemedia.com/player.asp?clip=148803

Carmen Electra and Hilary Swank Vibrating In Slits!
http://www.digitalalemedia.com/WatchTube?q=148803

Jennifer Lopez and Christina Aguilera Tormented By Cowgirls!
http://www.digitalalemedia.com/WatchMovie?id=148803
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com