Skip to content

Add effect functor and applicatives #10

@turion

Description

@turion

Effect should reflect the Functor-Applicative-Monad hierarchy. How about something like:

class EffectFunctor (m :: k -> * -> *) where
  fmap :: (a -> b) -> m f a -> m f b

There is a fairly obvious Applicative generalisation as well, which would have to introduce the type families Unit, Plus and Inv.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions