@hackage / lensref

References which can be joined and on which lenses can be applied

Version Deprecated package0.2

About

Metadata

  • Last updated , by PeterDivianszky
  • License BSD-3-Clause
  • Maintained by: divipp@gmail.com

  • Lottery factor: 0

Links

Installation

This package has been deprecated

Package Flags

Use the -f option with cabal commands to enable flags

    tests (off by default)

    Build the tests

Readme

The lensref package provides and interface an two implementation for references which can be joined and on which lenses can be applied.

  • The pure implementation is slow and has memory leaks but probably easier to follow. This is the reference implementation, so if the the other implementation differs this has the right behaviour.

  • The fast implementation is intended for real usage.

Status:

  • The interface is getting stable. You can expect more functionality and minor changes on current functionality.

  • There are test cases for the first half of the interface. Both implementations fulfil the test cases.

  • The pure implementation is ready.

  • The fast implementation is much faster than the pure implementation, but it is far from being as fast as possible. Probably it also leaks memory.

To see what is possible to do with lens references, look at the test cases in Data.LensRef.Test

For more information visit the following links: