Directories
¶
| Path | Synopsis |
|---|---|
|
The idea here is to test out sending functions as values over a channel.
|
The idea here is to test out sending functions as values over a channel. |
|
The idea here is to test out having a function returning another function to be executed next.
|
The idea here is to test out having a function returning another function to be executed next. |
|
The purpose of this exercise is to test how to compose a function based on what input you give to the function composer.
|
The purpose of this exercise is to test how to compose a function based on what input you give to the function composer. |
|
Testing out chaining functions on a struct by returning a pointer to the structure from each method.
|
Testing out chaining functions on a struct by returning a pointer to the structure from each method. |
|
Same as test nr 19 for testing chaining functions on a struct, but this one returns an interface from the methods instead of a pointer to the structs, so we only make the methods available and not the types of the structs while chaining.
|
Same as test nr 19 for testing chaining functions on a struct, but this one returns an interface from the methods instead of a pointer to the structs, so we only make the methods available and not the types of the structs while chaining. |
|
Higher order functions.
|
Higher order functions. |
Click to show internal directories.
Click to hide internal directories.