Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

List: add @fp-ts/core@0.0.6 instances and 100% test coverage #90

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

gcanti
Copy link
Contributor

@gcanti gcanti commented Oct 26, 2022

This is more a showcase of what can be derived from the instances.

We can either merge it as is and later remove the superfluous functions or, if you mark the not interesting ones, I can remove them in a forthcoming commit.

There's also a fix for the take function.

src/internal/List

The new functions defined in src/internal/List are not optimised

  • product
  • productMany
  • productAll
  • reduceRight
  • filterMap
  • compact

The following pre-existing functions

  • filter
  • partition
  • partitionMap

are no more used by src/List (they are now derived), can I remove them?

test/List

added 100% coverage

@mikearnaldi mikearnaldi merged commit 26872aa into main Oct 26, 2022
@mikearnaldi mikearnaldi deleted the feat/list-core-instances branch October 26, 2022 23:38
@github-actions github-actions bot mentioned this pull request Oct 26, 2022
@mikearnaldi mikearnaldi mentioned this pull request Oct 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants