Skip to content
Snippets Groups Projects
Commit e74043c3 authored by bjorn-stevens's avatar bjorn-stevens
Browse files

revised generic fuctions as closures

To define generic functions we use the closure construct which
introduces a way to make a function with the given parameters so that
when it is called it is executed with those parameters without having to
pass the parameters.  This allows the function calls for different
quantities to share a common interface, and more allows for a cleaner
separation between a function and its parameters, the latter being used
to construct the function.
parent 29a519cc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment