Skip to content

Change type of launchAff to avoid duplicate label errors #88

@no-longer-on-githu-b

Description

@no-longer-on-githu-b

The current type is:

launchAff :: forall e a. Aff e a -> Eff (err :: EXCEPTION | e) (Canceler e)

This causes duplicate label issues when the Aff action already has the err :: EXCEPTION effect in its type.

This problem should be solved by using the following type:

launchAff :: forall e a. Aff (err :: EXCEPTION | e) a -> Eff (err :: EXCEPTION | e) (Canceler e)

Most old code should keep working because adding an effect to an action type isn't a problem.

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