Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Looking for structures. #1378

Open
waynevanson opened this issue Jul 15, 2023 · 1 comment
Open

[Question] Looking for structures. #1378

waynevanson opened this issue Jul 15, 2023 · 1 comment

Comments

@waynevanson
Copy link

I'm looking for Reader, Writer and State structures but can't find them.

Am I missing something?

@mikearnaldi
Copy link
Member

mikearnaldi commented Sep 26, 2023

They are not part of Effect, the advise is to use Effect directly, for example State can be simulated with:

interface NumberState {
  readonly _: unique symbol
}
const NumberState = Tag<NumberState, Ref<number>>("@app/NumberState")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Not an Issue
Development

No branches or pull requests

2 participants