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 |
Beta Was this translation helpful? Give feedback.
-
Some sort of |
Beta Was this translation helpful? Give feedback.
-
Actually @erikerlandson , when I tried defining a Have you thought about providing a |
Beta Was this translation helpful? Give feedback.
-
If our Data Types are units, then it would seem that a collection's
size
ought to yield a typedQuantity
. Aquantity
extension method could be offered over sized-collections egIterator
and the Scala collections APIThese would presumably be in separate modules since they are distinct from other Coulomb features
Beta Was this translation helpful? Give feedback.
All reactions