Closed sjakobi closed 4 years ago
Seems like this was recently fixed on the 0.2
branch.
Would be nice to get a release though! :)
@sjakobi are you sure? afaics, getDoc
is currently not exported in the 0.2 branch...
Ah, I think I got confused by the export from Internal.hs
, where it is exported.
@sjakobi I'll add something for 0.2.1
but out of curiosity, what kind of code are you writing that the newtype becomes awkward to use?
@sjakobi btw, I plan to release HsYAML-0.2.1 later today; so if there's anything else you'd like to see in it, lemme know asap :-)
what kind of code are you writing that the newtype becomes awkward to use?
I was just exploring a bit in the REPL with decodeNode
. I probably saw getDoc
in the show
output and wondered why I couldn't use it or so.
I plan to release HsYAML-0.2.1 later today
Sounds great! :)
No specific wishes though. I haven't touched the YAML-handling it dhall yet.
It's just slightly inconvenient to have to pattern match on
Doc
.