Assuming you mean "infix to Reverse Polish", I guess you need something that
will parse mathematical expressions. You might like to check out Happy...
it's a parser generator for Haskell, and you could write your own infix to RPN
program using it. Alternatively, there is a parsing
On my question
Here is a small awkwardness with naming. ...
Defining the operation of the set cardinality, we put naturally
that it may return
FiniteCard n, n = 0 :: Integer
InfiniteCard,
UnknownCard
But in this case, - as in
Simon Marlow wrote:
I just downloaded the binary relase of ghc-4.01 for sparc-sun-solaris2
I am running SunOS 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-4
I tried to compile and run this little program
module Main where
main = putStr "Hello!\n"
and it compiles just fine.