~/talk

Taking Resources to the Type Level

Talkat Typelevel Summit Lausanne 2019 · on Friday, 2019-06-14· [functional-programming]
links:none on file
slides:none on file

Granule is a Haskell-like, linear by default language with parametric polymorphism, indexed types and graded modalities that let types track exact resource usage (intervals like 0..1, bounded counts, semirings). The project has ~1500 commits, 10k LOC and demoed concrete features: linear file handles that thread updated handles, session-typed channels, safe mutable arrays, and a provable leftPad whose length index and usage annotation rule out copying or discarding the input. An SMT-backed solver discharges arithmetic constraints so many resource invariants typecheck automatically.

AI-written summary · about

  1. 0:00Start
  2. 0:22granule language
  3. 3:53Data as a resource
  4. 15:31In Granule Syntax...
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.