摘要: We see three varied examples of where natural transformations come in handy. Let's mark the law here for Natural Transformations: Then let's see why w 阅读全文
posted @ 2019-03-01 22:24 Zhentiw 阅读(283) 评论(0) 推荐(0)
摘要: Natural Transformations, let's explain it by using a coding example, for example, we have a 'Either' holding a value 'a' and we want to transform a' T 阅读全文
posted @ 2019-03-01 21:30 Zhentiw 阅读(266) 评论(0) 推荐(0)
摘要: We use the traversable instance on List to reimplement Promise.all() type functionality. For example we want to conver: Conver array of Task, into Tas 阅读全文
posted @ 2019-03-01 14:31 Zhentiw 阅读(273) 评论(0) 推荐(0)