G.Gonzales, Comonad Challenge Exercise

Aug 08, 2016 08:27

http://www.haskellforall.com/2013/02/you-could-have-invented-comonads.html
Challenge Exercise: Prove that our original implementation of up' does not play nice with extend. In other words, find a counter-example that proves the following ( Read more... )

Leave a comment

Comments 2

zeit_raffer August 8 2016, 08:14:29 UTC

'undefined' and 'seq' always break things

Reply

sassa_nf August 8 2016, 08:55:18 UTC
Yes, but in that article Mr. Gonzales is looking at which of the implementations is "better". Ie in the context it would mean one of the implementations "behaves well" with extend, the other one doesn't, and this equation is seen as the decider.

Reply


Leave a comment

Up