Binary Search Tree debugging

2000-04-17 Thread Sitzman
Hey all.. I was wondering if somebody might offer me some assistance in trying to debug some code I wrote to check whether a tree is a binary search tree.. For some reason it always comes back as false! :( Thanks much! -Andrew Sitzer > isBST :: Ord a => Tree a -> Bool > isBST thetree > | isNil

RE: How to list all properties & methods inside COM?

2000-04-17 Thread Erik Meijer
> I am doing my final year project related to Haskell & COM. > I have to write a program that can read any COM & display all the > properties > & methods inside. > > Do you know how to solve this problem or would you please suggest some > documents about this? > > Thank you very much, > Phan Dung.

How to list all properties & methods inside COM?

2000-04-17 Thread Nguyen Phan Dung
Hi, Sorry for this irrelevant question: I am doing my final year project related to Haskell & COM. I have to write a program that can read any COM & display all the properties & methods inside. Do you know how to solve this problem or would you please suggest some documents about this? Thank

coercing newtypes

2000-04-17 Thread Chris Okasaki
Many of you have run across the problem with newtypes that, although it is very cheap to coerce between the newtype and the base type, it can be very expensive to coerce between, say, a list of the newtype and a list of the base type. Stephanie Weirich and I are working on a proposal for the Haske

JFP Special Issue on Haskell

2000-04-17 Thread gmh
-- CALL FOR PAPERS Journal of Functional Programming Special Issue on Haskell Since its inception in 1987, Haskell has provided a focal point for resear