Skip to content

Would it make sense to embed Eval actions in STM ones? #42

@treeowl

Description

@treeowl

We can hypothetically write

evalToSTM :: Eval a -> STM a
evalToSTM (Eval (IO m)) = STM m

Would that be a sensible operation? My intuition says yes, but my intuition around STM is fairly limited as yet.

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