https://github.com/ekmett/lens

Last synced: about 21 hours ago

Repository metadata:

Lenses, Folds, and Traversals - Join us on web.libera.chat #haskell-lens


Owner metadata:


Committers metadata

Last synced: 1 day ago

Total Commits: 3,814
Total Committers: 169
Avg Commits per committer: 22.568
Development Distribution Score (DDS): 0.455

Commits in past year: 36
Committers in past year: 9
Avg Commits per committer in past year: 4.0
Development Distribution Score (DDS) in past year: 0.472

Name Email Commits
Edward Kmett e****t@g****m 2078
Eric Mertens e****s@g****m 348
Ryan Scott r****t@g****m 270
Shachaf Ben-Kiki s****f@g****m 167
Elliott Hird p****s@g****m 88
Oleg Grenrus o****s@i****i 61
Johan Kiviniemi d****l@j****e 57
Nathan van Doorn n****4@g****m 55
basdirks ik@b****u 55
Matvey Aksenov m****v@g****m 34
Mike Ledger e****e@g****m 27
Alexander Altman a****n@m****m 25
Michael Sloan m****n@g****m 24
nand g****t@n****o 22
Dag Odenhall d****l@g****m 20
startling t****3@g****m 19
David Feuer D****r@g****m 18
Liyang HU g****t@l****u 17
Austin Seipp m****e@g****m 16
Adrian Keet a****t@g****m 15
Benno Fünfstück b****k@g****m 13
Maxwell Swadling m****g@g****m 12
Herbert Valerio Riedel h****r@g****g 11
Eric Mertens e****s@g****m 11
Aristid Breitkreuz a****b@g****m 10
Christopher Chalmers c****s@m****m 10
Ryan Scott r****t@g****m 10
nand n****d@l****m 10
Eyal Lotem e****m@g****m 9
Toshio Ito d****o@g****m 9
and 139 more...

Issue and Pull Request metadata

Last synced: about 21 hours ago


Package metadata

hackage: lens

This package comes "Batteries Included" with many useful lenses for the types commonly used from the Haskell Platform, and with tools for automatically generating lenses and isomorphisms for user-supplied data types. The combinators in Control.Lens provide a highly generic toolbox for composing families of getters, folds, isomorphisms, traversals, setters and lenses and their indexed variants. An overview, with a large number of examples can be found in the README. An introductory video on the style of code used in this library by Simon Peyton Jones is available from Skills Matter. A video on how to use lenses and how they are constructed is available on youtube. Slides for that second talk can be obtained from comonad.com. More information on the care and feeding of lenses, including a brief tutorial and motivation for their types can be found on the lens wiki. A small game of pong and other more complex examples that manage their state using lenses can be found in the example folder. Lenses, Folds and Traversals With some signatures simplified, the core of the hierarchy of lens-like constructions looks like:

  • Homepage: http://github.com/ekmett/lens/
  • Licenses: BSD-2-Clause
  • Latest release: 5.3.2 (published 6 months ago)
  • Last Synced: 2024-11-11T03:08:33.004Z (2 days ago)
  • Versions: 158
  • Dependent Packages: 366
  • Dependent Repositories: 4,552
  • Downloads: 422,285 Total
  • Rankings:
    • Downloads: 0.073%
    • Dependent repos count: 0.102%
    • Dependent packages count: 0.102%
    • Average: 0.149%
    • Forks count: 0.209%
    • Stargazers count: 0.26%
  • Maintainers (4)
go: github.com/ekmett/lens

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/ekmett/lens#section-documentation
  • Licenses: other
  • Latest release: v5.2.3+incompatible (published about 1 year ago)
  • Last Synced: 2024-11-11T03:08:18.303Z (2 days ago)
  • Versions: 62
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 1.499%
    • Forks count: 1.725%
    • Average: 5.9%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%
hackage: lens-properties

  • Homepage: http://github.com/ekmett/lens/
  • Licenses: BSD-3-Clause
  • Latest release: 4.11.1 (published almost 7 years ago)
  • Last Synced: 2024-11-11T03:08:26.595Z (2 days ago)
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 8
  • Downloads: 4,032 Total
  • Rankings:
    • Forks count: 0.211%
    • Stargazers count: 0.262%
    • Average: 14.945%
    • Dependent packages count: 19.343%
    • Dependent repos count: 20.26%
    • Downloads: 34.652%
  • Maintainers (3)

Dependencies

.github/workflows/haskell-ci.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
examples/lens-examples.cabal hackage
  • aeson *
  • base >=4.5 && <5
  • bytestring >=0.9.1.10 && <0.12
  • containers >=0.4 && <0.7
  • data-default-class *
  • ghc-prim *
  • gloss >=1.12 && <1.14
  • lens *
  • mtl >=2.0.1 && <2.4
  • random >=1.0 && <1.3
  • streams >=3.3 && <4
lens-properties/lens-properties.cabal hackage
  • QuickCheck >=2.4 && <2.15
  • base >=4.9 && <5
  • lens >=4 && <6
  • transformers >=0.2 && <0.7
lens.cabal hackage
  • base * benchmark
  • base-compat >=0.11.0 && <0.13 benchmark
  • bytestring * benchmark
  • comonad * benchmark
  • comonad >=4 benchmark
  • containers * benchmark
  • criterion * benchmark
  • criterion >=1 benchmark
  • deepseq * benchmark
  • generic-deriving * benchmark
  • lens * benchmark
  • transformers * benchmark
  • uniplate >=1.6.7 && <1.7 benchmark
  • unordered-containers * benchmark
  • vector * benchmark
  • array >=0.5.0.0 && <0.6
  • assoc >=1.0.2 && <1.1
  • base >=4.9 && <5
  • base-orphans >=0.5.2 && <1
  • bifunctors >=5.5.7 && <6
  • bytestring >=0.10.4.0 && <0.12
  • call-stack >=0.1 && <0.5
  • comonad >=5.0.7 && <6
  • containers >=0.5.5.1 && <0.7
  • contravariant >=1.4 && <2
  • distributive >=0.5.1 && <1
  • exceptions >=0.8.2.1 && <1
  • filepath >=1.2.0.0 && <1.5
  • free >=5.1.5 && <6
  • ghc-prim *
  • hashable >=1.2.7.0 && <1.5
  • indexed-traversable ==0.1.*
  • indexed-traversable-instances ==0.1.*
  • kan-extensions ==5.*
  • mtl >=2.2.1 && <2.4
  • parallel >=3.2.1.0 && <3.3
  • profunctors >=5.5.2 && <6
  • reflection >=2.1 && <3
  • semigroupoids >=5.0.1 && <6
  • strict ==0.4.*
  • tagged >=0.8.6 && <1
  • template-haskell >=2.11.1.0 && <2.20
  • text >=1.2.3.0 && <2.1
  • th-abstraction >=0.4.1 && <0.5
  • these >=1.1.1.1 && <1.2
  • transformers >=0.5.0.0 && <0.7
  • transformers-compat >=0.5.0.4 && <1
  • unordered-containers >=0.2.10 && <0.3
  • vector >=0.12.1.2 && <0.14
  • HUnit >=1.2 test
  • QuickCheck >=2.4 test
  • base * test
  • containers * test
  • deepseq * test
  • lens * test
  • mtl * test
  • simple-reflect >=0.3.1 test
  • test-framework >=0.6 test
  • test-framework-hunit >=0.2 test
  • test-framework-quickcheck2 >=0.2 test
  • transformers * test