[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 Prol

[Haskell-cafe] Haskell and AI

2007-03-19 Thread Adam Wyner
ects, and people. We could consider one of the standard AI books 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" &

[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 b

[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] And another basic typing question -- empty list

2005-09-16 Thread Adam Wyner
;a', b = "b") Input and output are: > testList01 (a = 'a', b = "b") ComplexActions01> :t (a = 'a', b = "b") (a = 'a', b = "b") :: Rec (a :: Char, b :: [Char]) But

[Haskell-cafe] Basic Haskell Types Question

2005-09-16 Thread Adam Wyner
pList The reason I want this is that in more complex cases, it will be easier to see what 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

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

2005-08-22 Thread Adam Wyner
Util (giveActionFromLabel "Action6" testLexActions03) testLexActions03 [(label="Action7", xcond=["prop1","prop7","prop5"], ycond=["prop3","pr op4","neg-prop6"]),(label="Action08", xcond=["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 mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

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

2005-08-22 Thread Adam Wyner
emantics03> :r LexicalSemantics03> findCoordinatesUtil (giveActionFromLabel "Action6" testLexActions03) testLexActions03 [(label="Action7", xcond=["prop1","prop7","prop5"], ycond=["prop3","pr op4","neg-prop6"]),(label="Action08", xcond=["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 mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/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 "C: