On Sun, 13 Nov 2005, Lemmih wrote:
> > 'setBit (bit 0) 4' => 'setBit 1 4' => (binary) 10001 => (dec) 17 OK, what you are saying is that I have misinterpreted the behavior of bit, which I thought only did a conversion, but in fact sets the zero-th bit of a bit string. I have checked that this is in fact what is happening. The (now solved) problem is obscure documentation. Thank you. Murray Gross _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe