Nanobot: Polygonal Mascot
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    catspublic

    cats.js

    (This is an alpha product.)

    Categories for Javascript adapted from Haskell's Control modules.

    var main = Monad.do
      (print("3")) (pause)
      (print("2")) (pause)
      (print("1")) (pause)
      (print("Blast off!"))
      // The closing pair of parentheses is required. 
      ();
     
    main.run();

    Try it out: http://jsfiddle.net/enQyg/3.

    More Examples

    Drag and drop.

    var dragdrop = function(x) {
      return click(x).then(drag);
    }

    BSD licensed.

    Keywords

    none

    install

    npm i cats

    Downloadslast 7 days

    2

    version

    0.0.2

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar