Skip to content

Include laws for Functor, Applicative, Monad #496

@alex-mckenna

Description

@alex-mckenna

Currently, the modules for Functor, Applicative and Monad include records for the Raw types similar to the algebraic structures, but do not have corresponding types including the laws. I think this could be a nice issue for someone like myself who knows the laws, and wants to take a gentle first step into contributing to the standard library.

From what I can tell this would involve:

  • Creating a Category.Structures module for definitions of IsFunctor, IsApplicative and IsMonad
  • Creating the extended records which include proof the laws hold

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions