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
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" &
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
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.
;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
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
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
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
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: