cdepillabout / pretty-simple

pretty-printer for Haskell data types that have a Show instance
https://hackage.haskell.org/package/pretty-simple
BSD 3-Clause "New" or "Revised" License
243 stars 29 forks source link

Get rid of the `lens` dependency #3

Closed cdepillabout closed 7 years ago

cdepillabout commented 7 years ago

Ideally, pretty-simple would have as few dependencies as possible.

lens was used during development of pretty-simple to make development go faster, but it should not actually be needed.

Here's three different ideas for getting rid of the lens dependency:

  1. Just remove all lenses. Use regular functions.
  2. Use a smaller lens library, like microlens and microlens-mtl.
  3. Have our own very-small lens library inside of pretty-simple.
tebello-thejane commented 7 years ago

Hey. :-)

I hope https://github.com/cdepillabout/pretty-simple/pull/11 is good enough? :-)

cdepillabout commented 7 years ago

Thanks! It's a big help :-)