上一页 1 ··· 260 261 262 263 264 265 266 267 268 ··· 498 下一页
摘要: When you accidentally committed some changes to your branch you have various possibilities to “undo” that operation and add some more changes. One is 阅读全文
posted @ 2019-03-26 20:51 Zhentiw 阅读(179) 评论(0) 推荐(0)
摘要: By given an array [1,2,3]: Return all possible combinations. for example: [[], [1], [2], [3], [1, 2].... [1,2,3]] 阅读全文
posted @ 2019-03-26 20:18 Zhentiw 阅读(331) 评论(0) 推荐(0)
摘要: Using Naive JS: The main problem is inside 'rando' function, not really a FP way doing stuff. Arrow approach: It becomes complex with we need to do Pa 阅读全文
posted @ 2019-03-26 17:15 Zhentiw 阅读(257) 评论(0) 推荐(0)
摘要: We don't need to 阅读全文
posted @ 2019-03-26 00:35 Zhentiw 阅读(143) 评论(0) 推荐(0)
摘要: Did you make a typo in your last commit message? No problem, we can use the git --amend command to change it very easily. Note: This only holds if you 阅读全文
posted @ 2019-03-25 21:34 Zhentiw 阅读(249) 评论(0) 推荐(0)
摘要: Often you have your feature branch you’ve been working on and once it’s ready, you just want it to merge into master as a single commit. You don’t car 阅读全文
posted @ 2019-03-25 21:30 Zhentiw 阅读(233) 评论(0) 推荐(0)
摘要: Gosh no, I just added all of these commits to master. They were thought to be peer reviewed first in a dedicated branch! No worries, in this lesson we 阅读全文
posted @ 2019-03-25 20:59 Zhentiw 阅读(215) 评论(0) 推荐(0)
摘要: Recently, I am learning Working with ADT. Got some extra thought about State Monad. Basiclly how to thinking in State. First, we need to know the type 阅读全文
posted @ 2019-03-25 19:06 Zhentiw 阅读(268) 评论(0) 推荐(0)
摘要: Given a sorted array, for example: Then we rotated it 1 time, it becomes: 2 times: So now given you an array which is rotated N times based on an sort 阅读全文
posted @ 2019-03-25 05:12 Zhentiw 阅读(215) 评论(0) 推荐(0)
摘要: In previous post, Arrow Functor with contramap, we have seen how to opreating on params before we invoke the function by using Arrow + contramap. It h 阅读全文
posted @ 2019-03-24 22:06 Zhentiw 阅读(337) 评论(0) 推荐(0)
上一页 1 ··· 260 261 262 263 264 265 266 267 268 ··· 498 下一页