logo       

Re: guards: msg#00301

lang.erlang.general

Subject: Re: guards


On Wed, 28 Jan 2004, Vlad Dumitrescu wrote:

> Why is
>
> when H>=$a, H=<$z; H>=$A, H=<$Z; H>=$0, H=<$9; H=$- ->
>
> an illegal guard sequence?? I may be too tired to spot the error... I
> think I'll go home.

H=$- should be H==$-.

/Richard


Richard Carlsson (richardc@xxxxxxxxx) (This space intentionally left blank.)
E-mail: Richard.Carlsson@xxxxxxxxx WWW: http://user.it.uu.se/~richardc/
"Having users is like optimization: the wise course is to delay it."
-- Paul Graham



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise