Library design/intent/future #61
Labels
purs-0.15
A reminder to address this issue or merge this PR before we release PureScript v0.15.0
type: breaking change
A change that requires a major version bump.
This library currently defines all its own types and a bunch of specialized functions, completely independent from the rest of the spec-based web/dom libraries. Do we want to keep it as it is, or should we remove the stuff that duplicates work done elsewhere and just have it implement the
Context2D
interface as per https://www.w3.org/TR/2dcontext?I'm fine with either, but if it's the latter, I'll be tempted to make a
purescript-web-context2d
library that is just the minimal thing, and then base this library on top of that, so at least it can share types with the rest of the web ecosystem.The text was updated successfully, but these errors were encountered: