Login
From:
Christian Tietze
(Uncensored)
subscribe
Typed Filters and callAsFunction • Christian Tietze
https://christiantietze.de/posts/2024/08/typed-filters-and-callasfunction/
links
backlinks
Tagged with:
swift
functional-programming
value
Combining three Swift features for the sake of expressivitiy: sum types aka enums, callAsFunction to introduce “callable” semantics, and type extensions to beautify call sites.
Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Roast topics
Find topics
Find it!