[Haskell-cafe] Haskell and AI

2007-03-19 Thread Adam Wyner
as a guide for chapters, sections, and problems to fill in with Haskell approaches. I'd be very interested to contribute to this. Cheers, Adam Wyner Message: 7 Date: Mon, 19 Mar 2007 12:51:19 -0400 From: Andrew Wagner [EMAIL PROTECTED] Subject: Re: [Haskell-cafe] Haskell Chess To: haskell-cafe

[Haskell-cafe] Two Other AI Sources

2007-03-19 Thread Adam Wyner
For the Haskell and AI work, we ought to consider AI programming books in addition to Russell and Norvig: /Paradigms of AI Programming: Case Studies in Common Lisp/, P. Norvig, 1991. /Prolog Programming for Artificial Intelligence/, I. Bratko, 1990./ Artificial Intelligence Techniques in

[Haskell-cafe] Whatever happened to Trex.hs

2007-03-01 Thread Adam Wyner
Hi, I'd been using trex.hs for extensible records and programmed a bit using it. I liked it for what it did and also because it had very nice documentation on how to use it. I know there are other proposals and implementations in Haskell for records (HaskellDB and HList), but for the time

[Haskell-cafe] Moving from Hugs to GHC and getting an error

2006-03-31 Thread Adam Wyner
I developed some code in Hugs, but now am moving to GHC. I had used Hugs because I wanted to use the Trex module (extensible records), but this has not been as important as I had thought it would be. My modules run fine in Hugs, but I get an error message when I try to run my module in GHC.

[Haskell-cafe] Basic Haskell Types Question

2005-09-16 Thread Adam Wyner
is going wrong (as the functions are developed) if I can see the types I want. Am I supposed to be using newtype or data declarations here? How would I do this? I looked around for information in the usual sources, but haven't found an answer. Thanks, Adam Wyner

[Haskell-cafe] And another basic typing question -- empty list

2005-09-16 Thread Adam Wyner
]) But the following type is uninterpretable: type TestList02 = Rec (a :: Char, b :: []) ERROR ComplexActions01.lhs:196 - Illegal type [] in constructor application. Suggestions about how to treat empty lists? Thanks, Adam Wyner ___ Haskell-Cafe mailing list Haskell

[Haskell-cafe] Pattern match failure, then inconsistent function behavior

2005-08-22 Thread Adam Wyner
=[prop1,prop7,prop5], ycond=[prop3,neg-prop6,prop5]),(label=Action09, xcond=[prop1 ,prop7,prop5], ycond=[prop3,neg-prop6,neg-prop1])] I don't understand the pattern match failure or how to correct it. What is this error message telling me? Thanks, Adam Wyner

[Haskell-cafe] Pattern match failure, then inconsistent function

2005-08-22 Thread Adam Wyner
]),(label=Action09, xcond=[prop1 ,prop7,prop5], ycond=[prop3,neg-prop6,neg-prop1])] I don't understand the pattern match failure or how to correct it. What is this error message telling me? Thanks, Adam Wyner ___ Haskell-Cafe mailing list Haskell-Cafe

[Haskell-cafe] Installing and running QuickCheck

2005-04-11 Thread Adam Wyner
Hi, I'd like to use QuickCheck for testing Haskell programs. I'm using Hugs in Windows. I'm a newbie to Haskell. Just running QuickCheck.hs itself, which comes with the Hugs98 libraries, I get an error message and the Monad command line, which indicates that quickcheck didn't load. ERROR