Functional Physics Code Along with Visual Blocks
summary
Claim: a browser-only visual block environment implements visual Parsons puzzles for Clojure and SICM so students code along without installing anything. Built as cljtiles in the browser (SICM utils ported to ClojureScript), it shows concrete examples: average calculation, column vectors, symbolic expressions, second derivative of sin resulting in -sin, and a driven-pendulum derivation developed puzzle-by-puzzle. Types come from clojure.spec, inspect reveals values and types, higher-order functions and functionals are represented; the system runs interactively and the prepared puzzles execute as demonstrated.
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:02parsons puzzles
- 4:13algebra
- 7:06display of types
- 8:22flattening
- 10:14column vectors
- 11:20type expressions
- 12:22higher order functions
- 14:14taking derivatives
- 16:36Functional
- 19:14Parsons Puzzle
related talks
38m"Emmy: Moldable Physics and Lispy Microworlds"
38mScientific Clojure, a bird's eye view
31mScientific Computing with Clojure
40mFun with Functional Programming in Clojure
01h 02mSolving Problems the Clojure Way
41mClojureScript for Skeptics
38mFun with Functional Programming in Clojure
31mLightning Talks
