Tag: erlang

Vigdís — an oil painting of a lighthouse on a rocky outcropping sweeping it's light across a storm-tossed sea
design

Teaching LFE to Format Itself, Part 2: Someone Already Solved This

Looking for a principled way to decide layout, we found Racket's raco fmt and the 2023 paper beneath it — a provably optimal pretty-printer. It was exactly what we needed, with exactly one problem: it is slowest precisely on the S-expressions a Lisp formatter sees most.

oubiwann · June 30, 2026

Vigdís — a typesetter's bench buried under hand-cut type and an overgrown rulebook, oil and digital
design

Teaching LFE to Format Itself, Part 1: A Hand-Written Formatter

The origin of LFE's code formatter — the hand-written engine that shipped inside rebar3_lfe, the one genuinely hard BEAM-specific obstacle (comments), and the maintainability wall that taught us we'd been writing the formatting convention as code when it wanted to be data.

oubiwann · June 28, 2026

Vigdís — LFE Friday, LiffyBot reaching into a glowing key-value lattice in a Mead-style command room
tutorials

LFE Friday - maps:get/3

Reopening LFE Friday with the safe map read: maps:get/3 hands back a default instead of crashing on a missing key — plus the one eager-evaluation gotcha to know.

Duncan McGreggor · June 19, 2026

tutorials

Graph Theory in LFE: A Knowledge Graph of Erlang Itself

A deep, hands-on tour of graph theory in LFE — built on a real corpus of 1,664 Erlang concept cards, driven by the graffeo library, and unfolded slowly enough to teach the mathematics underneath each query.

Duncan McGreggor · June 5, 2026

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - ETS selects, continuations and inserts

Robert Virding · January 31, 2016

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - Using ETS select with a limit

Robert Virding · January 23, 2016

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - ETS, match_specs and functions

Robert Virding · January 18, 2016

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - More ETS data matching (and querying)

Robert Virding · January 10, 2016

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - ETS data matching

Robert Virding · January 3, 2016

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - ETS Introduction, part 5: keypos, read_concurrency and write_concurrency

Robert Virding · December 25, 2015

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - ETS Introduction, part 4: ETS Access Protections

Robert Virding · December 22, 2015

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - ETS Introduction, part 3: ETS Table Types

Robert Virding · December 12, 2015

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - ETS Introduction, part 2

Robert Virding · December 5, 2015

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - ETS Introduction, part 1

Robert Virding · November 28, 2015

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - digraph:del_path/3

Robert Virding · November 27, 2015

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - digraph:get_cycle/2

Robert Virding · November 16, 2015

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - digraph:in_neighbors/2

Robert Virding · November 13, 2015

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - digraph:get_path/3

Robert Virding · November 7, 2015

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - digraph:add_edge/4

Robert Virding · October 23, 2015

Vigdís — LFE Friday, LiffyBot studying Erlang modules in a Mead-style command room
tutorials

LFE Friday - digraph:add_vertex/1

Robert Virding · October 20, 2015