microlens VS streams

Compare microlens vs streams and see what are their differences.


A lightweight (but compatible with ‘lens’) lenses library (by stevenfontanella)


Haskell 2010 stream comonads (by ekmett)
Our great sponsors
  • Zigi - The context switching struggle is real
  • Scout APM - Truly a developer’s best friend
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Build time-series-based applications quickly and at scale.
microlens streams
2 3
276 18
0.7% -
5.4 0.0
25 days ago 3 days ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of microlens. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-03.
  • [Offer] Tutoring for Computer Science / Programming / Software Engineering topics
    2 projects | reddit.com/r/tutor | 3 Sep 2022
    I'm a software engineer with 3 years of professional experience. I worked for 2 years at Microsoft on Azure Compute and now work at Google, working on improving Google search. I am the sole maintainer of the popular open-source library microlens with 80k downloads. I've also contributed to the Koka programming language developed at Microsoft Research.
  • microlens is looking for a new maintainer
    2 projects | reddit.com/r/haskell | 8 May 2022
    microlens is a tiny van Laarhoven lenses library, mostly just copying definitions from lens and trying to avoid dependencies as much as possible. It has gained some popularity (742 package downloads in the last 30 days, vs the 1724 of the original lens).


Posts with mentions or reviews of streams. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-13.
  • Infinite lists
    2 projects | reddit.com/r/haskell | 13 Nov 2022
    Cool, looks good. I've used u/edwardkmett's streams package, but I would certainly consider moving to something more complete, maintained and with a smaller dependency footprint. Plus, it defines head, which streams lacks for some reason.
    2 projects | reddit.com/r/haskell | 13 Nov 2022

What are some alternatives?

When comparing microlens and streams you can also consider the following projects:

data-lens - Haskell 98 Lenses

cassava-conduit - Conduit interface for cassava [Haskell]

fclabels - First class composable record labels for Haskell.


proto-lens - API for protocol buffers using modern Haskell language and library patterns.

bimap - Bidirectional mapping between two key types

order-statistic-tree - Order statistic tree in Haskell

syb-with-class - Fork of http://patch-tag.com/r/Saizan/syb-with-class

filesystem-trees - Traverse and manipulate directories as lazy rose trees

base64-bytestring - Fast base64 encoding and decoding for Haskell.

monoid-extras - Miscellaneous constructions on monoids

pretty-hex - A human readable style for binary data.