juan_gandhi: (Default)
Juan-Carlos Gandhi ([personal profile] juan_gandhi) wrote2007-04-24 01:04 pm

Higher Order JavaScript

the link

ToC:

HOJ.0: Functional JavaScript Reviewed

HOJ.0.1: Scope in JavaScript

HOJ.0.2: Return Values

HOJ.0.2.1: Implicit Return Values

HOJ.0.3: Miscellanea

JavaScript At Large

1.1: Decimal to Binary Conversion

1.2: Factorial

A digression into PostScript

1.3: The Tower of Hanoi, Digressing into print(format(...))

A second version of hanoi(), with callbacks

With check-move() as a callback

1.4: Hierarchical data (and a digression into JS mock objects)

1.5: Applications and Variations of Directory Walking

dir-walk-cb, with filefunc and dirfunc callbacks

dir-walk-sizehash (p23)

dir-walk-cd-def (p24)

1.6: Functional vs OO

1.7: HTML

A Digression into DOM vs HTML::Element

Implementing walk_html in DOM

Map and Grep

1.7.1: More Flexible Selection

1.8: When Recursion Blows Up

1.8.1: Fibonacci numbers

1.8.2: Partitioning

Incrementing and Counter-Hashes in partition()

Pseudoassertions and Definedness

2.2: Calculator

Digression: JavaScript's Horrible Horrible "+" Operator

2.2 Calculator Continued: Abstract Syntax Trees

Digression: graft, and turning data trees into DOM trees

3.5: The Memoize Module

License

Notes about Changes

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting