Skip to content

Should we explain why new is effectful in the docs? #23

Closed
@BebeSparkelSparkel

Description

@BebeSparkelSparkel

Quick question on the type of new. Why does it have the type new :: forall s. s -> Effect (Ref s) instead of new :: forall s. s -> Ref s? I see no effects happening in the code.

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