Hi,
What results should a lazy parser return before emitting ⊥? At the time
you read the html-tag, you cannot know whether a syntax error far down
in the file makes it invalid. Thus, you may not return the top-most
html-tag until you see the closing /html.
But to return the top most html you
Hi,
Thanks for the answers. The best solution would be a general purpose
arbitrary precision math library for Haskell. I found two:
http://medialab.freaknet.org/bignum/
http://r6.ca/FewDigits/
I think both uses power series and have trigonometric functions too. (I only
need sqrt, so probably I
Hello,
I would like to use the sqrt function on Fractional numbers.
(mysqrt :: (Fractional a) = a-a)
Half of the problem is solved by:
Prelude :t (realToFrac.sqrt)
(realToFrac.sqrt) :: (Fractional b, Real a, Floating a) = a - b
For the other half I tried:
Prelude :t