随笔分类 -  Compose

上一页 1 ··· 3 4 5 6 7
摘要:Let's we want to combine two account accidently have the same name. So, here we can use Semi-group to combine them, because the semi-group have the kn 阅读全文
posted @ 2016-12-15 19:32 Zhentiw 阅读(210) 评论(0) 推荐(0) 编辑
摘要:An introduction to concatting items via the formal Semi-group interface. Semi-groups are simply a type with a concat method that are associative. We d 阅读全文
posted @ 2016-12-15 19:19 Zhentiw 阅读(375) 评论(0) 推荐(0) 编辑
摘要:For if..else: 阅读全文
posted @ 2016-12-14 02:16 Zhentiw 阅读(245) 评论(0) 推荐(0) 编辑
摘要:We define the Either type and see how it works. Then try it out to enforce a null check and branch our code. Now, we try to make Box more useful. We w 阅读全文
posted @ 2016-12-13 03:25 Zhentiw 阅读(256) 评论(0) 推荐(0) 编辑
摘要:After understanding how Box is, then we are going to see how to use Box to refacotr code, to un-nested expression. For example, we have code: So how i 阅读全文
posted @ 2016-12-12 03:16 Zhentiw 阅读(405) 评论(0) 推荐(0) 编辑
摘要:We'll examine how to unnest function calls, capture assignment, and create a linear data flow with a type we call Box. This is our introduction to wor 阅读全文
posted @ 2016-12-11 21:47 Zhentiw 阅读(327) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7
点击右上角即可分享
微信分享提示