~/talk

Bidirectional Data Transformations

Talkat FUNARCH 2024 · on Friday, 2024-09-06· [data-engineering]
links:none on file
links:none on file
links:none on file
slides:none on file

Claim: using lenses as bidirectional transformations eliminates paired DTO functions and yields inverses automatically. Implementation: an industrial Clojure codebase (Active Group) uses the active-closure lens library, record projections like make-url-lens, and combinators (map-lens, focus) to convert URL/link/folder trees, vectors↔maps, and recursive mixed data. Built outcomes: serializers/deserializers become lenses, UI component state sync is lens-based, and the approach reduces repetitive code but requires care when request and event shapes diverge. DOI: 10.1145/3677998.

AI-written summary · about

  1. 0:00Bidirectional data transformations
  2. 2:32Motivation and industry context
  3. 10:35Lenses in Clojure
  4. 25:21Applying the pattern
  5. 34:47Q&A
~/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.