Haskell Love 2020
2020-07-31..2020-08-01
-- online --
who it's for
Haskell developers, library authors, compiler and language designers, tool and infrastructure maintainers, functional programming educators, game and systems programmers
topics
Template Haskell code generation; GHC Core desugaring; staging for zero-overhead abstractions; type-level JWT payloads; type-safe GraphQL servers; continuations as serializable data; lens optics and traversals; free monads with STM concurrency; Haskell static analysis (Stan); aeson-schemas JSON extraction; Haskell to stack VM compilation; amortized stacks and queues
| title | author | length |
|---|---|---|
| Replacing functions with data | Bartosz Milewski | 40m |
Turns a recursive Haskell tree traversal into data by CPS transforming lambdas into three constructors of a sum type called cont continuation and writing an… | ||
| Writing 2D games using super simple Haskell | Jan Christopher Vogt | 26m |
Walks through a working 2D shooter coded in super simple Haskell that uses GLFW + OpenGL for rendering, MVar to sync engine and game state across threads, and… | ||
| How to market Haskell to a mainstream programmer | Gabriella Gonzalez | 42m |
Argues that marketing equals disciplined prioritization, not hype, and prescribes a concrete plan: solve an enormous problem for one market, deliver a… | ||
| Elastic sheet-defined functions | Simon Peyton Jones | 44m |
Paper describes an algorithm that turns a fixed-size sheet-defined function into an elastic one and proves it returns the principal generalisation under… | ||
| Building a web library using super hard Haskell | Marcin Rzeźnicki | 48m |
Builds a JWT-focused web library that replaces the usual HashMap Text Value payload with a statically described map of symbol→type pairs so keys and types are… | ||
| Haskell to Core: Understanding Haskell Features Through Their Desugaring | Vladislav Zavialov | 32m |
Explains how GHC desugars Haskell into System FC (Core), showing concrete translations: infix -> function application, multi-argument functions -> nested… | ||
| Compiling gracefully | Conal Elliott | 45m |
Derives a small Haskell-to-stack-VM compiler by treating stack computation as functions on (accumulator, stack) and solving category homomorphism equations so… | ||
| Getting acquainted with Lens | Pawel Szulc | 52m |
Shows that Haskell records are painful and demonstrates using the Lens library to read and update nested fields without boilerplate, using examples: a… | ||
| Propositions as Types | Philip Wadler | 45m |
Asserts that logic and computation are the same structure: natural deduction rules (implication and conjunction introduction/elimination) correspond one-to-one… | ||
| The clear path to Haskell complexities | Vitaly Bragilevsky | 30m |
Asserts that there is nothing deep behind monads — just a typeclass, laws and instances — and teaches by example with concrete libraries: compares list… | ||
| Zero-Overhead Abstractions in Haskell using Staging | Andres Löh | 34m |
Demonstrates using typed Template Haskell to guarantee zero‑overhead abstractions by generating concrete code at compile time rather than trusting GHC… | ||
| GraphQL :heart: Haskell | Alejandro Serrano | 46m |
Concrete demo of a type‑safe GraphQL server built on the Mu microservices framework: it parses a .graphql schema with template Haskell to produce compile‑time… | ||
| How to design co-programs | Jeremy Gibbons | 50m |
Argues that program structure follows not only input but also output data structures, promoting structural corecursion (unfolds) alongside recursion; shows zip… | ||
| Technique for writing debuggable Haskell functions | John Wiegley | 23m |
Practical technique: split a stateful Haskell step function into describe and apply, where describe produces a list of change events (eight distinct kinds in… | ||
| Reasoning under Uncertainty | Tikhon Jelvis | 45m |
Haskell code models Markov decision processes as functions s -> m s using a probability monad and WriterT for rewards, simulated with the streaming library. A… | ||
| Hulk SMASH: re-imagining the Maybe-monad and its design space | Emily Pillmore | 38m |
Claim: the Maybe monad encodes pointed spaces and supports wedge and smash product constructions in a discrete Haskell setting. Uses category theory (pointed… | ||
| Concurrent applications with Free monads and STM | Alexander Granin | 31m |
Claims that Free monads plus STM give a practical inversion-of-control for real concurrent apps, demonstrated by a Hydra framework that runs a labyrinth CLI… | ||
| Stan – Haskell Static Analyser | Veronika Romashkina, Dmitrii Kovanikov | 31m |
Stan is a command‑line Haskell static analyser that uses HIE files to access precise types and AST nodes, matches code with type and AST patterns implemented… | ||
| Down to the wire | Eric torreborre | 45m |
Compares concrete wiring techniques: using Backpack to swap Map implementations, type classes (with FlexibleInstances/UndecidableInstances) that let tests pick… | ||
| aeson-schemas: Safely extract JSON data when data types are too cumbersome | Brandon Chinn | 29m |
aeson-schemas provides quasiquoters that define JSON schemas at the type-level and a get quasiquoter to extract values, letting GHC check keys at compile time… | ||
| A Dominion of Domains | Zainab Ali | 29m |
Builds a composable Dominion DSL using Tagless-Final encoding and Haskell type classes, splitting card programs into four fragment languages (ints, resources… | ||
| Data vs Control: a tale of two functors | Arnaud Spiwack | 47m |
Argues that Haskell has two distinct functor flavors and uses GHC’s linear types to expose them: a data functor (maps over stored values, e.g. list, fixed-size… | ||
| Parameters of Many Flavors | Richard Eisenberg | 31m |
Argument that Haskell already supports most dependent-style parameters is demonstrated with concrete code: GHC 9.0 adds linear/multiplicity, Typeable/typable… | ||
| Thinking in Properties | Susan Potter | 50m |
Property-based testing uses generators, shrinking and relational patterns to catch bugs beyond example tests: she uses QuickCheck in Erlang historically and… | ||
| The many faces of isOrderedTree | Joachim Breitner | 33m |
Starts from a direct specification and derives three concrete, working implementations: a top‑down checker that threads interval bounds (Maybe lower/upper)… | ||
| Quotient Types + Behavioral Reflection = ? | Derek Elkins | 31m |
Combines quotient types with behavioral reflection and claims quotient types can tame behavioral reflection so reify/reflect become safe and composable. Shows… | ||
| Bit vectors without compromises | Andrew Lelechenko | 29m |
Implements a compact bit-vector type with full Vector and MVector instances, thread-safe writes via atomic OR/AND/XOR and word-level ops so random updates stay… | ||
| Agile generation of Cloud API bindings with Haskell | Michal Gajda | 38m |
A data pipeline scrapes API docs with a Python scraper into CSV, then Haskell parses, validates, infers JSON types with jsonite autotype, aggregates issues… | ||
| Stacks and queues with amortized logarithmic-time operations | David Feuer | 24m |
Claims functional stacks and queues that store elements in arrays with doubling and Okasaki-style implicit queues, achieving storage of n words plus O(log n)… | ||
| nothing matches | ||