2022-11-28
|~1 min read
|179 words
What is a function? Brian Lonsdorf’s definition of a function from Hardcore Functional Programming in Javascript, v2 is three legged: Total…
2022-11-28
|~2 min read
|335 words
When writing an interface for a function, it’s common to want to allow a range of types. This can often be communicated with a generic. For…
2022-11-28
|~4 min read
|798 words
Today I learned about total functions, as well as their antipode, partial functions. According to NIST, a total function is “[a] function…