[Oz] XOR

Denys Duchier Denys.Duchier at ps.uni-sb.de
Mon Jun 14 17:02:52 CEST 1999


fla at virtutech.se (Fredrik Larsson) writes:

> I need to do xor and other bitwise operations in Oz, I cant find the
> functions in the docs. Are there any or do I have to implement them
> myself?

xor of what? Mozart provides bit strings for which bit operations are
meaningful. They are just not meaningful on anything else. There is
code for manipulating file permissions and converting between bit
strings and integers in mozart/contrib/os/mode.oz (I think).  I can't
remember if xor is directly supported though.

-- 
Dr. Denys Duchier			Denys.Duchier at ps.uni-sb.de
Forschungsbereich Programmiersysteme	(Programming Systems Lab)
Universitaet des Saarlandes, Geb. 45	http://www.ps.uni-sb.de/~duchier
Postfach 15 11 50			Phone: +49 681 302 5618
66041 Saarbruecken, Germany		Fax:   +49 681 302 5615
-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-users mailing list