摘要: Functions are first class in JavaScript. This means we can treat a function like any other data. This also means we can end up with a function as the 阅读全文
posted @ 2018-05-14 21:02 Zhentiw 阅读(245) 评论(0) 推荐(0)
摘要: The alt method allows us to recover from a nothing with a default Maybe, but sometimes our recovery efforts might need to enlist some logic to recover 阅读全文
posted @ 2018-05-14 18:54 Zhentiw 阅读(377) 评论(0) 推荐(0)
摘要: Once we’re using Maybes throughout our code, it stands to reason that at some point we’ll get a Maybe and want to continue applying transformations. W 阅读全文
posted @ 2018-05-14 17:54 Zhentiw 阅读(383) 评论(0) 推荐(0)