partial.lenses icon indicating copy to clipboard operation
partial.lenses copied to clipboard

More expressive patterns

Open polytypic opened this issue 6 years ago • 1 comments

Ideas

  • [x] L.andP(...ps)
  • [x] L.orP(...ps)
  • [x] L.notP(p)
  • [x] predicate
  • [x] L.apP(iso, p)
  • [x] L.letP([p2, p1], p)
  • [ ] L.caseP(p, [c1, p1], ...[cN, pN])

Test

  • [x] L.andP(...ps)
  • [x] L.orP(...ps)
  • [x] L.notP(p)
  • [x] predicate
  • [x] L.apP(iso, p)
  • [x] L.letP([p2, p1], p)
  • [ ] L.caseP(p, [c1, p1], ...[cN, pN])
  • [x] full coverage

Docs

  • [ ] L.andP(...ps)
  • [ ] L.orP(...ps)
  • [ ] L.notP(p)
  • [ ] predicate
  • [ ] L.apP(iso, p)
  • [ ] L.letP([p2, p1], p)
  • [ ] L.caseP(p, [c1, p1], ...[cN, pN])

polytypic avatar Nov 06 '18 16:11 polytypic

Codecov Report

Merging #209 into master will increase coverage by 0.01%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #209      +/-   ##
==========================================
+ Coverage   99.88%   99.89%   +0.01%     
==========================================
  Files           1        1              
  Lines        1713     1893     +180     
==========================================
+ Hits         1711     1891     +180     
  Misses          2        2
Impacted Files Coverage Δ
dist/partial.lenses.cjs.js 99.89% <0%> (+0.01%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 72363bb...be7d7e4. Read the comment docs.

codecov-io avatar Nov 06 '18 16:11 codecov-io