haskell / haskell/parallel

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

Open
#42 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
98
Forks
24
PR merge metrics
No merged PRs in 30d

Description

We can hypothetically write

```haskell
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.