~/talk

Simplifying Scala Collections

Talkat Scala World 2015 · 2015-09-20..09-22· [software-architecture]
slides:none on file

Prototype Collections family that captures an equality type class and produces case-insensitive sets and whitespace-insensitive sets without wrapper types, so unions/intersections fail to compile if equalities differ. Implements covariant extensional sets plus contravariant intentional “membership” sets, lazy transformation views and a forceInto to materialize into a chosen equality family. Adds inhabited sets (nonempty types), a sensible default Any equality, and reduced inheritance. Work-in-progress repo code compiles and behaves as described; experiments show the design is practical and migratable, not just theoretical.

AI-written summary · about

  1. 0:00Intro
  2. 1:26Standard Collections Library
  3. 1:40Binary Compatibility
  4. 4:12Equality
  5. 4:29Case insensitive strings
  6. 6:01Wis
  7. 6:18Whitespace Sensitive Strings
  8. 8:09Type class coherence
  9. 9:05Type class equality
  10. 9:53Type less coherence
  11. 10:06Type classes vs the world
  12. 21:04Scala Sets
  13. 28:11Extensional Collections
  14. 29:15Contravariant Collections
  15. 38:27Seek View
  16. 39:29Set View
  17. 40:37Add Inheritance
  18. 40:50demo
  19. 42:27downside
  20. 42:47bugs and duplication
  21. 43:53test matrix
  22. 44:52benefit of type class coherence
~/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.