Skip to content

Instantly share code, notes, and snippets.

View Ltrlg's full-sized avatar

Ltrlg

View GitHub Profile

Various command line applications use an Interpreter Directive to define how they should be run.

#! js -m foo
#! node foo

Motivation

  • expression-oriented programming one of the great advances of FP
  • expressions plug together like legos, making more malleable programming experience in-the-small

Examples

Write in an expression-oriented style, scoping variables as locally as possible: