getify / monio

tweak to $() so that it brands its single-shot iterable;
refactored to pull getIterator() out of IO/State, into util.js, and it now checks for the (internal) brand to allow do() / doEither() (both IO and State) to accept a value wrapped by $().
Kyle Simpson Kyle Simpson committed on Jan 4, 2026, 08:18 AM
Showing 5 changed files +28 additions -25 deletions
M package.json +1 -1
M src/io/io.js +2 -9
M src/lib/util.js +19 -3
M src/state.js +2 -9
Browse files at this commit โ†’