~/talk

Write your Own Domain Specific Language with F#

Talkat DevDays Europe 2019 · 2019-05-14..05-16· [javascript, developer-experience]
slides:none on file

Claims a practical recipe to write a strongly, statically typed DSL in F# and shows concrete tools and patterns used: Fable transpiles F# to JavaScript, units-of-measure prevent gram/kilogram mix at compile time, option and result types eliminate nulls and force explicit errors. Examples include payment and gadget types, phone/tablet code validators, and a composed workflow that goes validate -> price -> acknowledge -> events pipeline. Demonstrations compile and run, reduce runtime checks and tests, and show why nontechnical people balk at raw JSON.

AI-written summary · about

  1. 0:00Start
  2. 3:02Why I Like Being a Dotnet Developer
  3. 5:01Business Logic
  4. 9:14F-Sharp Language
  5. 16:24Pure Functions and the Mutability
  6. 17:34Nulls
  7. 19:29Discriminated Union
  8. 21:28Example of Pattern Matching
~/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.