Software Unscripted

The Unison Programming Language with Rúnar Bjarnason

11 snips
Apr 22, 2022
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

No More Dependency Conflicts With Hash Addresses

  • Hashes eliminate traditional dependency conflicts because different versions are distinct hashes and can coexist.
  • Unison's compiler treats different-version types as separate types, producing normal type errors when mixing them.
ADVICE

Remix Libraries By Publishing Selected Definitions

  • Remix only the exact definitions you need rather than importing whole libraries to avoid pulling unnecessary code.
  • Rúnar advises publishing a new library composed of selected hashes so downstream users get the same definitions directly.
ANECDOTE

Working With A Single Scratch Buffer And UCM

  • Rúnar describes his typical Unison workflow: a codebase manager in one window and a single vim buffer as a scratch pad.
  • He saves edits to the buffer which UCM (Unison Codebase Manager) ingests, pushes definitions into the codebase, and reloads edited definitions.
Get the Snipd Podcast app to discover more snips from this episode
Get the app