MHN

Show HN: Lfi – a lazy functional sync, async, and concurrent iteration library

98 points by tomeraberbach·718 days ago·lfi.dev·Show in HN

Hey HN! Roughly 4 years ago I started building a lazy functional iteration library for JS/TS. I had a few goals for the library:

  • Supporting sync, sequential async, and concurrent async iteration
  • Limiting it to a small number of orthogonal concepts that compose beautifully to solve problems
  • Making it fully tree-shakeable

I built it for myself and have (mostly) been its only user as I refined it. I've used it in lots of personal projects and really enjoyed it.

I recently decided it would be nice to spread that enjoyment so I created a documentation website complete with a playground where you can try out the library.

I hope you enjoy using it as much as I do! Looking forward to hearing your thoughts :)

Add a comment on Hacker News →
1 of 48 comments
  1. Another fp-ts