guards

Richard Carlsson richardc@REDACTED
Wed Jan 28 16:36:12 CET 2004


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



More information about the erlang-questions mailing list