Skip to content

Add MonadFix? #37

Open
Open
@treeowl

Description

@treeowl

Haskell has a class

class Monad m => MonadFix m where
  mfix :: (a -> m a) -> m a

It should be possible to do something similar in PureScript. I'm not sure which of these types makes more sense:

  mfix1 :: (Lazy a -> m a) -> m a
  mfix2 :: (Lazy a -> m (Lazy a)) -> m (Lazy a)

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