caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] xor on booleans
@ 2003-02-01 19:10 Christoph Bauer
  2003-02-03 13:31 ` Frederic De Jaeger
  0 siblings, 1 reply; 11+ messages in thread
From: Christoph Bauer @ 2003-02-01 19:10 UTC (permalink / raw)
  To: OCaml List

Hi,

a little suggestion for the Pervasives module: the
xor operator on booleans

let (^^) = (<>)

Christoph Bauer

-- 
proc self {} {foreach c [split [info body self] ""] d {14 -7 0 0 4 -67 4 73 11
69 24 -83 -15 6 -4 -84 78 20 11 -78 -1 -1 79 19 -8 4} { binary scan $c c c
if {[catch {append r [format %c [expr $c+$d]]}]} {return $r};}};puts [self]
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-02-10 18:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-01 19:10 [Caml-list] xor on booleans Christoph Bauer
2003-02-03 13:31 ` Frederic De Jaeger
2003-02-03 14:02   ` Fabrice Le Fessant
2003-02-03 15:14     ` Frederic De Jaeger
2003-02-03 15:08       ` Fabrice Le Fessant
2003-02-04 17:29       ` Pierre Weis
2003-02-04 17:20     ` Pierre Weis
2003-02-06 14:39       ` Fabrice Le Fessant
2003-02-07 13:00         ` Damien Doligez
2003-02-10  8:16           ` [Caml-list] gdb with ocaml byte code on MacOSX David Brown
2003-02-10 18:47             ` Damien Doligez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).