[Haskell-cafe] Newbie request

2006-06-09 Thread Geevarghese Philip
I am trying to learn Haskell. As an exercise, I wrote a function to create a binary tree in level-order. I am attaching the code. I am sure there are a number of places where the code could be improved. Could you please point these out? Thanks, Philip

Re: [Haskell-cafe] Newbie request

2006-06-09 Thread Donald Bruce Stewart
gphilip.newsgroups: I am trying to learn Haskell. As an exercise, I wrote a function to create a binary tree in level-order. I am attaching the code. I am sure there are a number of places where the code could be improved. Could you please point these out? There's a highly efficient example

Re: [Haskell-cafe] Newbie request

2006-06-09 Thread Bertram Felgenhauer
Geevarghese Philip wrote: I am trying to learn Haskell. As an exercise, I wrote a function to create a binary tree in level-order. I am attaching the code. I am sure there are a number of places where the code could be improved. Could you please point these out? I'll try. Thanks, Philip