monio
monio copied to clipboard
The most powerful IO monad implementation in JS, possibly in any language!
This is a fancy, reactive string builder. It's used to define "components" as do-routines that yield string(s) which are all concated together to produce a chunk of HTML, which can...
In addition to things like `IO.is(x)` to determine if `x` is an IO monad instance, we can add `Symbol.hasInstance` to all the monad definitions so that a more ergonomic `x...
Hi Kyle, I am trying to use IO monad in React app(I don't know how much you are familiar with it), and I thought of using it as custom hook...
The error handling story around IOx is embarrassingly buggy and insufficient. * exceptions during IOx effect running leave the instance in an inconsistent state where it can't be cleanly re-run...
Taking inspiration from Hooks (i.e., React), a state preserving mechanism like `useState(..)` is proposed. You could use it in do-routines like this: ```js IO.do(component).run({}); function *component(viewContext) { var [ id,...
Hi! I was curious if there is documentation for AsyncEither. I see it was recommended to use the IO monad* but I prefer the error handling of AsyncEither (and I...
RX operators to look more into adding in IOxHelpers: * `buffer(..)` -- mostly the time based one, which is sorta zip-over-time * `takeUntil(..)` -- waits on a value from another...
Do you have any plans to convert the code to typescript? Or add `.d.ts` files?