brandonchinn178 / toml-reader

Haskell library for parsing v1.0 TOML files
https://hackage.haskell.org/package/toml-reader
BSD 3-Clause "New" or "Revised" License
15 stars 6 forks source link

Consider exposing DecoderM #28

Closed berberman closed 1 year ago

berberman commented 1 year ago

That would be useful to run a decoder and get the result on Value instead of Text, as well as allow users to define their primitive decoder functions like getFieldsOptWith.

brandonchinn178 commented 1 year ago

DecodeM is exposed?

https://hackage.haskell.org/package/toml-reader-0.2.1.0/docs/TOML-Decode.html#t:DecodeM

berberman commented 1 year ago

Oh I missed that, thank you for your information.