Envfunktio
Envfunktio is a term originating from theoretical computer science, specifically in the realm of functional programming and lambda calculus. It describes a function that, when applied to an argument, produces a new function that encapsulates some information or state related to the original argument. This resulting function is often referred to as an "environment" or a "closure."
The core idea behind an envfunktio is to allow a function to "remember" or carry along data
In practice, many programming languages that support functional programming features, like JavaScript, Python, or Scala, provide