Jay Nelson wrote: > I would like to do the following: > > f(A,B,C) when is_integer(A), is_integer(B), (C =:= foo; C =:= bar) -> > do_stuff(A,B,C). f(A,B,C) when is_integer(A), (C =:= foo orelse C =:= bar) -> do_stuff(A,B,C). (unlike Anders, who were faster, I _have_ tested it ;) ) /Fredrik