Getting Started with Frege
summary
Frege claims to be a Haskell-for-JVM and demonstrates building a JSONLint web service end to end, showing JSONLint web service built (~45 minutes), REPL-driven development, Jackson-based parsing and a Spark/Knock HTTP layer, plus JDBC H2 demo. Compiler compiles Haskell-like source to Java source that javac then compiles, with heavy annotations. JVM interop uses native declarations + native-gen for Java interop and explains mutable vs pure wrappers and Gradle/Leiningen/sbt plugins.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 2:38Features
- 5:02Getting started
- 5:43Functional language
- 12:15Functions
- 15:10RIP
- 15:43Google
- 16:22JSON Library
- 19:41Native Declarations
- 21:05Compiler Magic
- 22:13Frege Native declarations
- 24:44Pure types
- 27:02Mutable types
- 30:51mutable type
- 32:17native declaration
- 36:55Web service
- 39:02Main application
- 40:39Database
- 41:33Test
- 44:38Links
- 45:43Questions
related talks
02h 06mETA lang a Journey from Haskell via STG and Bytecode to Assembly Part 2
33mIntegrating Scala Java with your Python code
01h 54mETA lang a Journey from Haskell via STG and Bytecode to Assembly Part 3
46mIntroduction to Scala
52mClojure Web Development
30mThrough the lens of Haskell: exploring new ideas for library design
27mPython and the JVM - A Love Story
56mJourney from Java to Python: Two Worlds, One JEP
