fantasyland / static-land

Specification for common algebraic structures in JavaScript based on Fantasy Land
MIT License
772 stars 41 forks source link

Comonad/Extend implementation #42

Closed TrySound closed 7 years ago

TrySound commented 7 years ago

In fantasy land Extend implements Functor, in static land Extend is by itself and Comonad implements both Functor and Extend. Just would like to figure out who is more right :)

rpominov commented 7 years ago

Seems like it changed in Fantasy Land in this commit https://github.com/fantasyland/fantasy-land/commit/11860a59203037b89917e7db7ade37022c2d465c

Not sure yet why, but I'll probably update it here to align with Fantasy Land.

In general Fantasy Land is the primary source of truth.

rpominov commented 7 years ago

Fixed by #43