ParseFragment should be in public API
clarfonthey opened this issue · comments
Clar Fon commented
Since it's provided to converters when calling them, it should be importable as kdl.ParseFragment
.
Tab Atkins Jr. commented
My thought was that there's never any reason to create one, so exposing it wasn't very necessary.
Tho hm, I suppose you do need access to it to write type signatures, if nothing else. Okay, I'll export it.
Tab Atkins Jr. commented
And cut a new version 1.0.5.
Clar Fon commented
Thank you!
And yeah, I'm not exactly sure how you could export it as just a type definition and not the class itself, but at least for the moment it's useful for type definitions.