-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
type: breaking changeA change that requires a major version bump.A change that requires a major version bump.
Description
If this instance was implemented via ST, then purescript-backend-optimizer would inline things when possible.
However, it seems that we can't currently do this because arrays depends on nonempty, which depends on unfoldable. AFAIK, this dependency chain exists because arrays has functions like fromNonEmpty, though I don't think anyone uses NonEmpty Array.
flowchart TD
arrays ---> nonempty
nonempty ---> unfoldable
If we updated arrays to depend on unfoldable and nonempty to depend on arrays, then we could add an Unfoldable instance for Array that uses ST
flowchart TD
nonempty ---> arrays
arrays ---> unfoldable
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: breaking changeA change that requires a major version bump.A change that requires a major version bump.