Thanks for the quick response. Sorry for my newbiness but after fixing
that I get:
MkPrim.aml:193.17-193.38: mismatch on application: expression type
''4 -> bool
does not match function's argument type
Token.token -> bool
because type
''4
does not unify with
Token.token
For the line:
fun char c = satisfy (curry op= c) <?> ("'" ^ Token.toString c ^ "'")
I believe it is for "satisfy (curry op= c)"
I am actually trying to write a real application using Parsec and at the
same time learn Alice. I have a working parser in Python and I want to
compare notes.
Guido Tack wrote:
paul sorenson wrote:
I downloaded the parsec tarball
(http://www.alice.cardexpert.net/alice-parsec-0.21.tar.gz) and so far
haven't been able to make it on fc6 with Alice 1.4.
I removed the the ozf files, remade the Makefile.depend file so it
compiles to .alc (not .ozf) files.
I get this error:
[EMAIL PROTECTED] alice-parsec-0.21]$ make
alicec MkError.aml -o MkError.alc
MkError.aml:58.50-58.55: unknown value or constructor `curry'
make: *** [MkError.alc] Error 1
Any tips would be most appreciated.
One change in Alice 1.4 was that some functions which used to be in the
toplevel are now in the module Fn, and one of them is curry. You just
have to change all occurrences of curry to Fn.curry, or put an "open Fn"
somewhere in the structures that use these functions.
Cheers,
Guido
--
Guido Tack
Programming Systems Lab, Saarland University, Germany
http://www.ps.uni-sb.de/~tack
_______________________________________________
alice-users mailing list
[email protected]
http://www.ps.uni-sb.de/mailman/listinfo/alice-users