Skip to content

Why is everything in MonadEffect #18

Description

@jamesdbrock

Everything in this library happens in MonadEffect. Why? Because purescript-arraybuffer is all mutable and in MonadEffect. If there were an immutable frontend ArrayBuffer library, like Node Buffer, then we could refactor all of purescript-protobuf to be pure.

In the meantime, it is totally fine to run everything in unsafePerformEffect. rowtype-yoga/purescript-arraybuffer-builder#2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions