~/talk

Hamsters: A Tiny Scala Utilities Library

TalkinFrenchat Scala.IO 2017 · 2017-11-02..11-03· [open-source]
links:none on file
links:none on file
slides:none on file

Hamsters is a small Scala utility library that provides practical helpers built on standard Either/Option/Future: a Validation that accumulates all errors, FutureOption and FutureEither monad transformers to simplify Future[Option[_]]/Future[Either[_]] patterns, HLists with position- and type-safe head/tail plus type-based lookup, union types and an Enum typeclass. The library uses macros to generate enum helpers and Show instances, supports Scala.js, compiles to about a 5MB artifact, and includes examples and a workshop demonstrating the features.

AI-written summary · about

  1. 0:00Introduction
  2. 1:49Form validation
  3. 4:58Option/Future transformers
  4. 7:28Heterogeneous lists
  5. 10:18Variance with Disjunction
  6. 11:45Simplified enums
  7. 12:49Default values for Option
  8. 14:13Macros and extensions
  9. 15:37Q&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.