Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

add unsafePerformEff to .Unsafe? #8

@hdgarrood

Description

@hdgarrood

It's not obvious at first that it's possible to implement unsafePerformEff :: forall e a. Eff e a -> a in terms of the functions this library already exports without using the FFI.

I've seen a few people implementing their own unsafePerformEff via the FFI, which probably doesn't matter very much, although it does have a potential of causing pain with backends other than JS.

Perhaps we should add unsafePerformEff to Control.Monad.Eff.Unsafe to prevent this from happening so often?

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