evilsoft / evilsoft/crocks

Allow `String` and `Array` constructors anywhere a Monoid is accepted

Open
#105 4 comments 3 reactions 1 assignee Claimed by @dalefrancis88 View on GitHub
breaking enhancement
Dominant language
JavaScript
Stars
1.6k
Forks
103
PR merge metrics
No merged PRs in 30d

Description

So there is no reason we cannot just accept `String` and `Array` JS Constructors as `Monoid`. They will need to be implemented in the following places:

- [ ] `mconcat`
- [ ] `mconcatMap`
- [ ] `mreduce`
- [ ] `mreduceMap`
- [ ] `Writer` constructor

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.