AJChapman / formatting

Format strings type-safely with combinators
BSD 3-Clause "New" or "Revised" License
164 stars 39 forks source link

Update examples in comments to pass cabal-docspec #70

Closed iteratee closed 3 years ago

iteratee commented 3 years ago

The only really tricky case was the lens example, where we define _1 as non-polymorphic. It only works on tuples of length 2.

All examples now pass with cabal-docspec

AJChapman commented 3 years ago

I'm not familiar with cabal-docspec. How do I run it? A quick google didn't enlighten me. Is it part of cabal or do I need to install something else?

iteratee commented 3 years ago

https://github.com/phadej/cabal-extras

Cabal v2-doctest is currently unimplemented and this is the current alternative.