quantity[Int, A] extension on Iterator[A], quantity[Long, A] on a F[A]: Foldable ?
#436
Replies: 3 comments 1 reply
|
@benhutchison yes, this has been on my to-do list for a long time. In scala 3 they redesigned the "internals" of scala's collection library, and I need to get familiar with how these all work to best integrate with the collections lib. xref: #50 But yes, there should be a |
|
Some sort of |
|
Actually @erikerlandson , when I tried defining a Have you thought about providing a |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
If our Data Types are units, then it would seem that a collection's
sizeought to yield a typedQuantity. Aquantityextension method could be offered over sized-collections egIteratorand the Scala collections APIThese would presumably be in separate modules since they are distinct from other Coulomb features
All reactions