摘要: import { curry, compose, toUpper, pipe } from 'ramda'; // #region listeners const _log = (value) => console.log(value); // #endregion // #region broad 阅读全文
posted @ 2020-10-25 22:11 Zhentiw 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Buffers give you chance to gather values together until your ready to work with them. This pattern can be used for calculations, string manipulations, 阅读全文
posted @ 2020-10-25 22:10 Zhentiw 阅读(97) 评论(0) 推荐(0) 编辑
摘要: In our previous code, we have seen this partten for operators: // #region operators const concat = curry((broadcaster, listener) => { let string = ''; 阅读全文
posted @ 2020-10-25 21:54 Zhentiw 阅读(149) 评论(0) 推荐(0) 编辑
摘要: If you can think ahead to how you want your code to look into the future, then you can tackle your problems from the inside out. You design how you wa 阅读全文
posted @ 2020-10-25 21:18 Zhentiw 阅读(84) 评论(0) 推荐(0) 编辑
摘要: import { curry } from 'ramda'; // #region listeners const _log = (value) => console.log(value); // #endregion // #region broadcasters const done = Sym 阅读全文
posted @ 2020-10-25 17:45 Zhentiw 阅读(118) 评论(0) 推荐(0) 编辑