[Haskell-beginners] error: Not in scope: data constructor `BinTree'

Antoine Latter aslatter at gmail.com
Fri Apr 13 18:54:40 CEST 2012


On Fri, Apr 13, 2012 at 11:46 AM, Kak Dod <kak.dod2008 at yahoo.com> wrote:
> Thank you but
> if I change the code like this:
>
> data BinTree a = Node BinTree a BinTree a | EmptyBinTree deriving Show
>

If you look closely, Kyle made other changes to your code as well :-)

Antoine



More information about the Beginners mailing list