concept high - order function in category dsl

appears as: higher-order functions, higher-order function
DSLs in Action

This is an excerpt from Manning's book DSLs in Action.

Now let’s now try to embed our DSL in a language that’s more expressive than Java. Groovy is a language that runs on the JVM, is more expressive than Java, is dynamically typed, and supports higher-order functions.

  • Higher-order functions. Clojure supports higher-order functions where you can use functions as first-class values. You can pass functions as parameters, accept one as a return value, and so on.