Get the latest tech news
Show HN: Lfi – a lazy functional sync, async, and concurrent iteration library
A lazy functional sync, async, and concurrent iteration library
lfi delays applying operations until their results are needed. lfi ’s functions are automatically curried and their parameters are perfectly arranged for use in the pipe function, which provides a syntax similar to method chaining without giving up tree shaking. The functions imported in the code below bundle to just 790 B gzipped!
Or read this on Hacker News