2021-10-10

|~2 min read

|359 words

The domain of a function is the set of inputs for which a function is defined. The range of a function is the set of values that are mapped…

2021-10-10

|~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…

2021-10-10

|~1 min read

|117 words

I’ve been exploring functional programming recently and have really enjoyed some of the benefits! As just one example, see the fetch pattern…

2021-10-10

|~1 min read

|162 words

My experience with modeling fetch with abstract data types inspired me to learn more about functional programming. Not knowing exactly where…

2021-10-10

|~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…

2021-10-10

|~4 min read

|766 words

For a long time, I hated seeing functions like this: . I thought this was just “code golf” (the idea of reducing a function to its shortest…

2021-10-10

|~4 min read

|766 words

For a long time, I hated seeing functions like this: . I thought this was just “code golf” (the idea of reducing a function to its shortest…