Skip to content

Drop the dependency on array - #107

Merged
mixphix merged 1 commit into
haskell:masterfrom
meooow25:drop-array
Sep 8, 2024
Merged

Drop the dependency on array#107
mixphix merged 1 commit into
haskell:masterfrom
meooow25:drop-array

Conversation

@meooow25

@meooow25 meooow25 commented Sep 8, 2024

Copy link
Copy Markdown
Contributor

The array package was imported to provide NFData instances for the Array type. However, this type is defined in base, not array, making the dependency unncecessary. The Data.Array import is replaced with GHC.Arr.

This change will also allow array to define NFData instances for other types, because it can now depend on deepseq.

As discussed in #102.

The array package was imported to provide NFData instances for the
Array type. However, this type is defined in base, not array, making
the dependency unncecessary. The Data.Array import is replaced with
GHC.Arr.

This change will also allow array to define NFData instances for other
types, because it can now depend on deepseq.
@mixphix
mixphix merged commit c4b5c0d into haskell:master Sep 8, 2024
@meooow25
meooow25 deleted the drop-array branch September 8, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants