Idris state machines in JavaScript apps | Hacker News Reader