cies / htoml

TOML file format parser in Haskell
https://hackage.haskell.org/package/htoml
Other
38 stars 13 forks source link

Out of date #4

Closed bsima closed 8 years ago

bsima commented 9 years ago

The latest version of TOML is now 4.0, not 3.1 as the README states.

voidzero commented 9 years ago

To add to this - the README contains the following line:

let r = parseTomlDoc "" txt

Which leads to the following error:

    Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’
    Expected type: Data.Text.Internal.Text
      Actual type: String
    In the second argument of ‘parseTomlDoc’, namely ‘txt’
    In the expression: parseTomlDoc "" txt
cies commented 8 years ago

@voidzero It seems your REPL is not picking up the .ghci file. I've stackified the instructions in the README, maybe you can have another look.

cies commented 8 years ago

@bsima I'll pull in some PRs that will fix this, in the meanwhile I'll close this issue.