-
Right now we have a `Monoid` for `Function1` values in _cats-core_. I think it makes sense to move the definition to _cats-kernel_ since that's where monoids are defined -- this will allow _algebra_ a…
-
Today I finished reading of the referenced paper "Reflection without Remorse" (before I tried, but did not understood) and after that taking look at Free implementation made more sense but what I don'…
-
updated to @evilsoft's reply, add a `fold` function:
- [x] to List crock (List f, Semigroup s => f s ~> () -> s)
- [x] to pointfree. (fold : Foldable f, Semigroup s => f s -> s)
-
["Type"](https://github.com/rpominov/static-land/blob/master/docs/spec.md#type) is the central artefact in the spec, but the name is confusing. The word "type" already has a different meaning in JavaS…
-
Hi, is there a better way of solving this? (and I hope I'm correct on this)...
`Semigroup (a, b) where a, b must be Semigroups`.
So, we have to define:
```javascript
import {concat} from 'fa…
-
On the main wiki page it mentions that Algebird handles moving average calculations, but I am unable to find which class implements this. I'd like to understand the code for this in more detail. I sea…
-
With version 0.5.1 on clojure version 1.8.0, I encountered this behavior:
```
(fold (range 99)) => 4851
(fold (range 999)) => 498501
(fold (vec (range 99))) => 4851
(fold (vec (ra…
-
Static land replaces prototypes with explicit type dictionaries. While the spec defines how this dictionaries have to be constructed and which rules their static methods have to follow, it says nothin…
-
I have another style of Do Notation.
https://github.com/clinuxrulz/DoNotation/tree/master/src/main/java/org/highj/do_
It is sort of like the 1st attempt that had a fluent interface, but this one allo…
-
@jcoveney
What we want is this:
case class MyClass(name: String, age: Int)
object MyClass {
def ordering = deriveOrdering[MyClass]
def monoid = deriveMonoid[MyClass]
}