Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é First-class function, higher-order function?

Também chamado de: first-class function · higher-order function

Definition 9.1 University Computer Science — Year 2 · Capítulo 9 — Functional Programming

Functions are first-class in a language if they are values: stored in variables and data structures, passed as arguments, returned as results. A higher-order function takes a function as argument or returns one.

Ler no capítulo →