摘要:
// Definition const Endo = run => ({ run, concat: other => Endo(x => other.run(run(x))) }); Endo.empty = () => Endo(x => x); // Ex1: // const classToC 阅读全文
posted @ 2020-03-15 21:12
Zhentiw
阅读(220)
评论(0)
推荐(0)
摘要:
Normally when we use 'map', we do the transform base on the output. 'contramap' can do the transform base on the input, which means, before the orgina 阅读全文
posted @ 2020-03-15 21:11
Zhentiw
阅读(173)
评论(0)
推荐(0)
摘要:
Endo: It takes a type as string and output is the same type. It's concat methods works like composion. All the transform functions on the same input. 阅读全文
posted @ 2020-03-15 18:10
Zhentiw
阅读(149)
评论(0)
推荐(0)
摘要:
There are two types of Loading events: DOMContentLoaded Loaded DOMEContentLoaded: It happens after index.html has been parsed. <!DOCTYPE html> <html> 阅读全文
posted @ 2020-03-15 02:57
Zhentiw
阅读(160)
评论(0)
推荐(0)

浙公网安备 33010602011771号