weakish

Lazy.js Javascript 的惰性求值

  •  
  •   weakish · Dec 12, 2013 · 3714 views
    This topic created in 4565 days ago, the information mentioned may be changed or developed.
    学Haskell的时候知道了惰性求值,最近看到 Lazy.js 这个库,和 Underscore 类似,函数名都差不多,但是返回的都是带each方法的序列对象,只要调用 each 方法的时候才会真正开始迭代!真酷!

    http://segmentfault.com/a/1190000000358463
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4055 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 05:19 · PVG 13:19 · LAX 22:19 · JFK 01:19
    ♥ Do have faith in what you're doing.