Skip to content

Add Compose functor

What does this MR do?

Adds a right-to-left composition type.

Furthermore, it adds required two exports for default instances of class Foldable.

Related issues

n.a.

Changes to public APIs

Data.Functor.Compose is added.

Author's checklist (required)

See CONTRIBUTING.md for the rationale behind these items:

  • The commit history does not contain merges (use git rebase -i master if it does)
  • Intermediate commits compile (use git rebase -i master if not)
  • Newly added code follows the Platform code style
  • Newly added code is documented
  • If bugs have been solved, tests have been added
  • Appropriate types have been used, especially in APIs
  • If efficiency is part of the acceptance criteria of the issue, a benchmark is provided
  • A changelog entry has been added if required. See CONTRIBUTING.md

Feature

Merge request reports

Loading