pliosoft / toml-parse

Haskell library for reading TOML and easily querying it
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Validation of input array types #10

Open clord opened 8 years ago

clord commented 8 years ago

Toml requires arrays to be monomorphic lists. Since we parse to an ADT, we'll have to zip through lists and validate they are all the same type. GADTs might work too?

pbrisbin commented 7 years ago

AFAICT this is happening: https://github.com/pliosoft/toml-parse/blob/master/src/Text/Toml/Parser.hs#L84