Talk:Library for binary
From HaskellWiki
What's the difference between this and Data.Bits? -- kowey 14:55, 7 March 2007 (UTC)
Data.Bits
data Tree t = Leaf t | Branch (Tree t) (Tree t) get_node :: Bits -> Tree t -> Tree t get_node [] t = t get_node (b:bs) (Branch t0 t1) = get_node bs $ if b == Zero then t0 else t1
Data.Bits
[Zero]
[Zero,Zero,Zero]
In summary, you could say that this library is for solving a slightly different problem. MathematicalOrchid 15:53, 7 March 2007 (UTC)
