这是indexloc提供的服务,不要输入任何密码
Skip to content

Definition of 'interpret' in document is incorrect #18

@ENvironmentSet

Description

@ENvironmentSet

Definition of interpret is given as following in the 'Simple effect handlers' section:

interpret f = handle (liftH . f)

However, this must not have type checked since handle requires term of type (a -> Eff effs r) before term of type (forall effs' b. eff :< effs' => eff (Eff effs') b -> Handle eff effs a r effs' b) (which is liftH . f). Therefore I checked definition of interpret in codebase and it was interpret f = handle pure (liftH . f). I think it would be better to remedy this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions