I have the following haskell file:
import Text.ParserCombinators.Parsec
import Text.ParserCombinators.Parsec.Number
parseF = floating
Loading up in ghci I get the following:
*Main> :t floating
floating :: Floating f => CharParser st f
*Main> :t parseFloating
parseFloating :: CharParser st Double
How can it be that the types are different?
And how can I stop this from happening?