This syntax is called infix function application, and any function can be made infix in this way.
Esta sintaxis se llama aplicación de función infija, y cualquier función se puede hacer infija de esta manera.
For example, the following nested function application, which finds the street in the address of an employee's boss
Por ejemplo, la siguiente aplicación de función anidada que encuentra la calle en la dirección del jefe de un empleado
The syntax of a lambda expression consists of a list of variables-parameters, followed by the implication (function application) sign =>, then followed by the expression or block that implements the desired functionality.
La sintaxis de una expresión lambda consta de una lista de variables-parámetros, seguida del símbolo de implicación (aplicación de función) =>, que es seguido a su vez de la expresión o bloque de sentencias que implementa la funcionalidad deseada.
As long as the record contains the first and last fields of type String, the function application is well-typed.
Siempre y cuando el registro contenga los campos first y last de tipo String, la aplicación de función está bien tipada.
Note that just like function application, type constructors are applied to other types simply by juxtaposition: the type List Entry is in fact the type constructor List applied to the type Entry - it represents a list of entries.
Date cuenta de que al igual que la aplicación de función, los constructores de tipo se aplican a otros tipos simplemente por yuxtaposición: el tipo List Entry es de hecho el constructor de tipo List aplicado al tipo Entry, representa una lista de entradas.
In PureScript, function application is indicated with whitespace separating the function name from its arguments.
En PureScript, la aplicación de función se indica con espacio en blanco separando el nombre de la función de sus argumentos.
Function application must be used only when the function is not yet defined (such as in ODEs).
Aplicación de función debe usarse solamente cuando la función no está todavía definida, como en las EDOs.
This module shows you how to use currying and partial function application to create new functions that perform the exact operation you need.
Este módulo le muestra cómo usar la aplicación de curry y función parcial para crear nuevas funciones que realicen la operación exacta que necesita.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple