Exploring Effect Capabilities with Refactored Function
Hey, just started to use Effect in one of my project, I started by refactoring a small function to view the capabilities of Effect:
I have few questions:
This code works, but I was wondering if it is really "effectful" ? Also, can I get rid of the
How do I pass the GitHub ID to the gen function ?
If I want to use the "program" in a part of my codebase that isn't using effect yet, can I just do something like
Can effect be incrementally adopted ?
Sorry, I haven't finished reading the docs, I just want to play with the library and discovers things for now
I have few questions:
This code works, but I was wondering if it is really "effectful" ? Also, can I get rid of the
undefined ? How do I pass the GitHub ID to the gen function ?
If I want to use the "program" in a part of my codebase that isn't using effect yet, can I just do something like
const user = await Effect.runPromise(program) ? Can effect be incrementally adopted ?
Sorry, I haven't finished reading the docs, I just want to play with the library and discovers things for now
