Type-level programming
Type-level fluency: recursive types, tuples, brands and type tests.
- TS.07.01Recursive typesSeniorBeing written
- TS.07.02Tuples and variadic tuple typesSeniorBeing written
- TS.07.03Branded types and nominal patternsMid-levelBeing written
Practice rooms
- Type tests and type challenges workshop15 challenges (rung 3–4)
Interview questions in this module
- Write a
DeepReadonly<T>type. - Create a type for all dot-separated paths of an object.
- What is a branded type and why would you use one?
- How do you test types?
- Type a
pipefunction with any number of steps (or explain why it is hard).