vsintegration/ProjectTemplates/TutorialProject/Template/xlf/Tutorial.fsx.es.xlf (1,637 lines of code) (raw):

<?xml version="1.0" encoding="utf-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd"> <file datatype="xml" source-language="en" target-language="es" original="../Tutorial.fsx"> <body> <trans-unit id="SampleHeader"> <source>This sample will guide you through elements of the F# language.</source> <target state="translated">Este ejemplo le guiará por los elementos del lenguaje F#.</target> <note /> </trans-unit> <trans-unit id="Instructions-Line1"> <source>To execute the code in F# Interactive, highlight a section of code and press Alt-Enter or right-click</source> <target state="translated">Para ejecutar el código en F# interactivo, resalte una sección de código y presione Alt-Entrar, o haga clic con el botón secundario</target> <note /> </trans-unit> <trans-unit id="Instructions-Line2"> <source>and select "Execute in Interactive". You can open the F# Interactive Window from the "View" menu.</source> <target state="translated">y seleccione "Ejecutar en modo interactivo". Puede abrir la ventana de F# interactivo desde el menú "Ver".</target> <note /> </trans-unit> <trans-unit id="MoreAbout"> <source>For more about F#, see:</source> <target state="translated">Para obtener más información acerca de F#, vea:</target> <note /> </trans-unit> <trans-unit id="SeeDocumentaton"> <source>To see this tutorial in documentation form, see:</source> <target state="translated">Para ver este tutorial en forma de documentación, vea:</target> <note /> </trans-unit> <trans-unit id="LearnMoreAbout"> <source>To learn more about applied F# programming, use</source> <target state="translated">Para obtener más información sobre la programación de F# aplicada, use</target> <note /> </trans-unit> <trans-unit id="ToInstall-Line1"> <source>To install the Visual F# Power Tools, use</source> <target state="translated">Para instalar Visual F# Power Tools, use</target> <note /> </trans-unit> <trans-unit id="ToInstall-Line2"> <source>'Tools' --&gt; 'Extensions and Updates' --&gt; `Online` and search</source> <target state="translated">"Herramientas" --&gt; "Extensiones y actualizaciones" --&gt; "En línea" y busque</target> <note /> </trans-unit> <trans-unit id="AdditionalTemplates-Line1"> <source>For additional templates to use with F#, see the 'Online Templates' in Visual Studio,</source> <target state="translated">Para obtener plantillas adicionales para su uso con F#, consulte 'Plantillas en línea' en Visual Studio,</target> <note /> </trans-unit> <trans-unit id="AdditionalTemplates-Line2"> <source>'New Project' --&gt; 'Online Templates'</source> <target state="translated">"Nuevo proyecto" --&gt; "Plantillas en línea"</target> <note /> </trans-unit> <trans-unit id="SupportsComments"> <source>F# supports three kinds of comments:</source> <target state="translated">F# admite tres tipos de comentarios:</target> <note /> </trans-unit> <trans-unit id="DoubleSlash"> <source>1. Double-slash comments. These are used in most situations.</source> <target state="translated">1. Comentarios con doble barra diagonal. Se usan en la mayoría de las situaciones.</target> <note /> </trans-unit> <trans-unit id="MLStyle"> <source>2. ML-style Block comments. These aren't used that often.</source> <target state="translated">2. Comentarios de bloque de estilo ML. No se usan con tanta frecuencia.</target> <note /> </trans-unit> <trans-unit id="TripleSlash-Line1"> <source>3. Triple-slash comments. These are used for documenting functions, types, and so on.</source> <target state="translated">3. Comentarios de triple barra diagonal. Se utilizan para funciones de documentación, tipos, etc.</target> <note /> </trans-unit> <trans-unit id="TripleSlash-Line2"> <source>They will appear as text when you hover over something which is decorated with these comments.</source> <target state="translated">Aparecerán como texto al mantener el puntero por encima de algo decorado con estos comentarios.</target> <note /> </trans-unit> <trans-unit id="XmlComments-Line1"> <source>They also support .NET-style XML comments, which allow you to generate reference documentation,</source> <target state="translated">También admiten comentarios XML de estilo .NET, que le permite generar documentación de referencia,</target> <note /> </trans-unit> <trans-unit id="XmlComments-Line2"> <source>and they also allow editors (such as Visual Studio) to extract information from them.</source> <target state="translated">y también permite a los editores (como Visual Studio) extraer información de ellos.</target> <note /> </trans-unit> <trans-unit id="XmlComments-Line3"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/xml-documentation</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/xml-documentation</target> <note /> </trans-unit> <trans-unit id="OpenNamespaces"> <source>Open namespaces using the 'open' keyword.</source> <target state="translated">Abra los espacios de nombres con la palabra clave "open".</target> <note /> </trans-unit> <trans-unit id="LearnMore"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/import-declarations-the-open-keyword</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/import-declarations-the-open-keyword</target> <note /> </trans-unit> <trans-unit id="Module-Line1"> <source>A module is a grouping of F# code, such as values, types, and function values.</source> <target state="translated">Un módulo es una agrupación de código de F#, como valores, tipos y valores de función.</target> <note /> </trans-unit> <trans-unit id="Module-Line2"> <source>Grouping code in modules helps keep related code together and helps avoid name conflicts in your program.</source> <target state="translated">El código de agrupación de los módulos ayuda a mantener el código relacionado en conjunto y ayuda a evitar los conflictos de nombres en su programa.</target> <note /> </trans-unit> <trans-unit id="Module-Line3"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/modules</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/modules</target> <note /> </trans-unit> <trans-unit id="SampleInt"> <source>This is a sample integer.</source> <target state="translated">Este es un entero de ejemplo.</target> <note /> </trans-unit> <trans-unit id="SampleFloat"> <source>This is a sample floating point number.</source> <target state="translated">Este es un número de punto flotante de ejemplo.</target> <note /> </trans-unit> <trans-unit id="Computed-Line1"> <source>This computed a new number by some arithmetic. Numeric types are converted using</source> <target state="translated">Se calcula un número nuevo aplicando cierta aritmética. Los tipos numéricos se convierten mediante</target> <note /> </trans-unit> <trans-unit id="Computed-Line2"> <source>functions 'int', 'double' and so on.</source> <target state="translated">funciones "int", "double", etc.</target> <note /> </trans-unit> <trans-unit id="ListNumbers"> <source>This is a list of the numbers from 0 to 99.</source> <target state="translated">Esta es una lista de números del 0 al 99.</target> <note /> </trans-unit> <trans-unit id="ListSquares"> <source>This is a list of all tuples containing all the numbers from 0 to 99 and their squares.</source> <target state="translated">Esta es una lista de todas las tuplas que contienen todos los números de 0 a 99 y sus cuadrados.</target> <note /> </trans-unit> <trans-unit id="PrintList1"> <source>The next line prints a list that includes tuples, using '%A' for generic printing.</source> <target state="translated">La línea siguiente imprime una lista que incluye tuplas, utilizando "%A" para la impresión genérica.</target> <note /> </trans-unit> <trans-unit id="SampleIntType"> <source>This is a sample integer with a type annotation</source> <target state="translated">Este es un entero de ejemplo con una anotación de tipo</target> <note /> </trans-unit> <trans-unit id="ValuesImmutable-Line1"> <source>Values in F# are immutable by default. They cannot be changed</source> <target state="translated">Los valores de F# son inmutables de manera predeterminada. No se pueden cambiar</target> <note /> </trans-unit> <trans-unit id="ValuesImmutable-Line2"> <source>in the course of a program's execution unless explicitly marked as mutable.</source> <target state="translated">en el transcurso de la ejecución de un programa a menos que se marquen explícitamente como mutable.</target> <note /> </trans-unit> <trans-unit id="ValuesImmutable-Line3"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/values/index#why-immutable</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/values/index#why-immutable</target> <note /> </trans-unit> <trans-unit id="LetKeyword-Line1"> <source>Binding a value to a name via 'let' makes it immutable.</source> <target state="translated">Al enlazar un valor a un nombre con "let", se convierte en inmutable.</target> <note /> </trans-unit> <trans-unit id="LetKeyword-Line2"> <source>The second line of code fails to compile because 'number' is immutable and bound.</source> <target state="translated">La segunda línea de código no se compila porque "number" es inmutable y está enlazado.</target> <note /> </trans-unit> <trans-unit id="LetKeyword-Line3"> <source>Re-defining 'number' to be a different value is not allowed in F#.</source> <target state="translated">En F#, no se puede redefinir "number" para darle otro valor.</target> <note /> </trans-unit> <trans-unit id="MutableKeyword"> <source>A mutable binding. This is required to be able to mutate the value of 'otherNumber'.</source> <target state="translated">Enlace mutable. Es necesario para poder mutar el valor de "otherNumber".</target> <note /> </trans-unit> <trans-unit id="MutableAssignment-Line1"> <source>When mutating a value, use '&lt;-' to assign a new value.</source> <target state="translated">Para la mutación de un valor, use "&lt;-" para asignar un valor nuevo.</target> <note /> </trans-unit> <trans-unit id="MutableAssignment-Line2"> <source>You could not use '=' here for this purpose since it is used for equality</source> <target state="translated">No pudo usar "=" con este propósito, porque se usa para la igualdad</target> <note /> </trans-unit> <trans-unit id="MutableAssignment-Line3"> <source>or other contexts such as 'let' or 'module'</source> <target state="translated">u otros contextos, como "let" o "module"</target> <note /> </trans-unit> <trans-unit id="FunctionsModule-Line1"> <source>Much of F# programming consists of defining functions that transform input data to produce</source> <target state="translated">Gran parte de la programación de F# consiste en definir funciones que transforman los datos de entrada para generar</target> <note /> </trans-unit> <trans-unit id="FunctionsModule-Line2"> <source>useful results.</source> <target state="translated">resultados útiles.</target> <note /> </trans-unit> <trans-unit id="FunctionsModule-Line3"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/functions/</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/functions/</target> <note /> </trans-unit> <trans-unit id="LetFunction-Line1"> <source>You use 'let' to define a function. This one accepts an integer argument and returns an integer.</source> <target state="translated">"let" se utiliza para definir una función. En este caso, acepta un argumento de entero y devuelve un entero.</target> <note /> </trans-unit> <trans-unit id="LetFunction-Line2"> <source>Parentheses are optional for function arguments, except for when you use an explicit type annotation.</source> <target state="translated">Los paréntesis son opcionales para argumentos de función, excepto cuando se utiliza una anotación de tipo explícito.</target> <note /> </trans-unit> <trans-unit id="ApplyFunction-Line1"> <source>Apply the function, naming the function return result using 'let'.</source> <target state="translated">Aplicar la función, asignando un nombre al resultado devuelto por la función mediante 'let'.</target> <note /> </trans-unit> <trans-unit id="ApplyFunction-Line2"> <source>The variable type is inferred from the function return type.</source> <target state="translated">El tipo de variable se infiere del tipo de valor devuelto por la función.</target> <note /> </trans-unit> <trans-unit id="printf-Line1"> <source>This line uses '%d' to print the result as an integer. This is type-safe.</source> <target state="translated">Esta línea utiliza "%d" para imprimir el resultado de un entero. Cuenta con seguridad de tipos.</target> <note /> </trans-unit> <trans-unit id="printf-Line2"> <source>If 'result1' were not of type 'int', then the line would fail to compile.</source> <target state="translated">Si "result1" no fuese de tipo "int", la línea no se compilaría.</target> <note /> </trans-unit> <trans-unit id="TypeAnnotation"> <source>When needed, annotate the type of a parameter name using '(argument:type)'. Parentheses are required.</source> <target state="translated">Si es necesario, anote el tipo de un nombre de parámetro usando "(argument:type)". Los paréntesis son obligatorios.</target> <note /> </trans-unit> <trans-unit id="Conditionals-Line1"> <source>Conditionals use if/then/elid/elif/else.</source> <target state="translated">Los condicionales usan if/then/elid/elif/else.</target> <note /> </trans-unit> <trans-unit id="Conditionals-Line2"> <source>Note that F# uses whitespace indentation-aware syntax, similar to languages like Python.</source> <target state="translated">Tenga en cuenta que F# utiliza una sintaxis que tiene en cuenta la sangría de espacios en blanco, de forma parecida a lenguajes como Python.</target> <note /> </trans-unit> <trans-unit id="printf-Line3"> <source>This line uses '%f' to print the result as a float. As with '%d' above, this is type-safe.</source> <target state="translated">Esta línea utiliza "%f" para imprimir el resultado como un valor float. Al igual que "%d", cuenta con seguridad de tipos.</target> <note /> </trans-unit> <trans-unit id="Booleans-Line1"> <source>Booleans are fundamental data types in F#. Here are some examples of Booleans and conditional logic.</source> <target state="translated">Los valores booleanos son tipos de datos fundamentales en F#. Estos son algunos ejemplos de valores booleanos y lógica condicional.</target> <note /> </trans-unit> <trans-unit id="Booleans-Line2"> <source>To learn more, see:</source> <target state="translated">Para obtener más información, vea:</target> <note /> </trans-unit> <trans-unit id="Booleans-Line3"> <source>and</source> <target state="translated">y</target> <note /> </trans-unit> <trans-unit id="BooleanValues"> <source>Booleans values are 'true' and 'false'.</source> <target state="translated">Los valores booleanos son "true" y "false".</target> <note /> </trans-unit> <trans-unit id="BooleanOperators"> <source>Operators on booleans are 'not', '&amp;&amp;' and '||'.</source> <target state="translated">Los operadores de valores booleanos son "not", "&amp;&amp;" y "||".</target> <note /> </trans-unit> <trans-unit id="BooleanPrintf"> <source>This line uses '%b'to print a boolean value. This is type-safe.</source> <target state="translated">Esta línea utiliza "%b" para imprimir un valor booleano. Cuenta con seguridad de tipos.</target> <note /> </trans-unit> <trans-unit id="Strings-Line1"> <source>Strings are fundamental data types in F#. Here are some examples of Strings and basic String manipulation.</source> <target state="translated">Las cadenas son tipos de datos fundamentales en F#. Estos son algunos ejemplos de cadenas y de manipulación básica de cadenas.</target> <note /> </trans-unit> <trans-unit id="Strings-Line2"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/strings</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/strings</target> <note /> </trans-unit> <trans-unit id="StringQuotes"> <source>Strings use double quotes.</source> <target state="translated">Las cadenas usan comillas dobles.</target> <note /> </trans-unit> <trans-unit id="StringLiterals-Line1"> <source>Strings can also use @ to create a verbatim string literal.</source> <target state="translated">Las cadenas también pueden usar @ para crear un literal de cadena textual.</target> <note /> </trans-unit> <trans-unit id="StringLiterals-Line2"> <source>This will ignore escape characters such as '\', '\n', '\t', etc.</source> <target state="translated">No tiene en cuenta los caracteres de escape, como "\", "\n", "\t", etc.</target> <note /> </trans-unit> <trans-unit id="StringTripleQuotes"> <source>String literals can also use triple-quotes.</source> <target state="translated">Los literales de cadena también pueden usar comillas triples.</target> <note /> </trans-unit> <trans-unit id="StringConcatenation"> <source>String concatenation is normally done with the '+' operator.</source> <target state="translated">La concatenación de cadenas suele hacerse con el operador "+".</target> <note /> </trans-unit> <trans-unit id="StringPrinting"> <source>This line uses '%s' to print a string value. This is type-safe.</source> <target state="translated">Esta línea utiliza "%s" para imprimir un valor de cadena. Cuenta con seguridad de tipos.</target> <note /> </trans-unit> <trans-unit id="Substrings-Line1"> <source>Substrings use the indexer notation. This line extracts the first 7 characters as a substring.</source> <target state="translated">Las subcadenas utilizan la notación del indexador. Esta línea extrae los 7 primeros caracteres como una subcadena.</target> <note /> </trans-unit> <trans-unit id="Substrings-Line2"> <source>Note that like many languages, Strings are zero-indexed in F#.</source> <target state="translated">Tenga en cuenta que, al igual que en otros muchos lenguajes, las cadenas tienen índice 0 en F#.</target> <note /> </trans-unit> <trans-unit id="Tuples-Line1"> <source>Tuples are simple combinations of data values into a combined value.</source> <target state="translated">Las tuplas son combinaciones simples de valores de datos en un valor combinado.</target> <note /> </trans-unit> <trans-unit id="Tuples-Line2"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/tuples</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/tuples</target> <note /> </trans-unit> <trans-unit id="TupleInteger"> <source>A simple tuple of integers.</source> <target state="translated">Tupla de enteros sencilla.</target> <note /> </trans-unit> <trans-unit id="TupleFunction-Line1"> <source>A function that swaps the order of two values in a tuple.</source> <target state="translated">Una función que intercambia el orden de dos valores en una tupla.</target> <note /> </trans-unit> <trans-unit id="TupleFunction-Line2"> <source>F# Type Inference will automatically generalize the function to have a generic type,</source> <target state="translated">La inferencia de tipos de F# generalizará la función de forma automática para que tenga un tipo genérico,</target> <note /> </trans-unit> <trans-unit id="TupleFunction-Line3"> <source>meaning that it will work with any type.</source> <target state="translated">lo que significa que funcionará con cualquier tipo.</target> <note /> </trans-unit> <trans-unit id="TupleMultiType-Line1"> <source>A tuple consisting of an integer, a string,</source> <target state="translated">Una tupla que consta de un entero, una cadena,</target> <note /> </trans-unit> <trans-unit id="TupleMultiType-Line2"> <source>and a double-precision floating point number.</source> <target state="translated">y un número de punto flotante de doble precisión.</target> <note /> </trans-unit> <trans-unit id="TupleTypeAnnotation-Line1"> <source>A simple tuple of integers with a type annotation.</source> <target state="translated">Una tupla de enteros sencilla con una anotación de tipo.</target> <note /> </trans-unit> <trans-unit id="TupleTypeAnnotation-Line2"> <source>Type annotations for tuples use the * symbol to separate elements</source> <target state="translated">Las anotaciones de tipo para las tuplas usan el símbolo * para separar los elementos</target> <note /> </trans-unit> <trans-unit id="StructTuple-Line1"> <source>Tuples are normally objects, but they can also be represented as structs.</source> <target state="translated">Las tuplas suelen ser objetos, pero también se pueden representar como estructuras.</target> <note /> </trans-unit> <trans-unit id="StructTuple-Line2"> <source>These interoperate completely with structs in C# and Visual Basic.NET; however,</source> <target state="translated">Interoperan completamente con estructuras de C# y Visual Basic.NET; sin embargo,</target> <note /> </trans-unit> <trans-unit id="StructTuple-Line3"> <source>struct tuples are not implicitly convertable with object tuples (often called reference tuples).</source> <target state="translated">las tuplas de estructuras no son implícitamente convertibles con tuplas de objeto (a menudo denominadas tuplas de referencia).</target> <note /> </trans-unit> <trans-unit id="StructTuple-Line4"> <source>The second line below will fail to compile because of this. Uncomment it to see what happens.</source> <target state="translated">La segunda línea no se compilará por esto. Quite las marcas de comentario para ver qué ocurre.</target> <note /> </trans-unit> <trans-unit id="TupleConvert-Line1"> <source>Although you cannot implicitly convert between struct tuples and reference tuples,</source> <target state="translated">Aunque no puede convertir tuplas de struct en tuplas de referencia y viceversa de forma implícita,</target> <note /> </trans-unit> <trans-unit id="TupleConvert-Line2"> <source>you can explicitly convert via pattern matching, as demonstrated below.</source> <target state="translated">puede hacer la conversión de forma explícita mediante coincidencia de patrones, como se muestra a continuación.</target> <note /> </trans-unit> <trans-unit id="Pipes-Line1"> <source>The F# pipe operators ('|&gt;', '&lt;|', etc.) and F# composition operators ('&gt;&gt;', '&lt;&lt;')</source> <target state="translated">Los operadores de canalización ("|&gt;", "&lt;|", etc.) y de composición ("&gt;&gt;", "&lt;&lt;") de F#</target> <note /> </trans-unit> <trans-unit id="Pipes-Line2"> <source>are used extensively when processing data. These operators are themselves functions</source> <target state="translated">se utilizan mucho en el procesamiento de datos. Estos operadores son en sí mismos funciones.</target> <note /> </trans-unit> <trans-unit id="Pipes-Line3"> <source>which make use of Partial Application.</source> <target state="translated">que usan aplicación parcial.</target> <note /> </trans-unit> <trans-unit id="Pipes-Line4"> <source>To learn more about these operators, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/functions/#function-composition-and-pipelining</source> <target state="translated">Para obtener más información sobre estos operadores, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/functions/#function-composition-and-pipelining</target> <note /> </trans-unit> <trans-unit id="Pipes-Line5"> <source>To learn more about Partial Application, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/functions/#partial-application-of-arguments</source> <target state="translated">Para obtener más información sobre la aplicación parcial, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/functions/#partial-application-of-arguments</target> <note /> </trans-unit> <trans-unit id="Squares"> <source>Squares a value.</source> <target state="translated">Eleva un valor la cuadrado.</target> <note /> </trans-unit> <trans-unit id="AddOne"> <source>Adds 1 to a value.</source> <target state="translated">Suma 1 a un valor.</target> <note /> </trans-unit> <trans-unit id="TestOdd"> <source>Tests if an integer value is odd via modulo.</source> <target state="translated">Comprueba si un valor entero es impar mediante un módulo.</target> <note /> </trans-unit> <trans-unit id="NumberList1"> <source>A list of 5 numbers. More on lists later.</source> <target state="translated">Lista de 5 números. Más adelante, se proporciona más información sobre listas.</target> <note /> </trans-unit> <trans-unit id="FilterWithoutPipes-Line1"> <source>Given a list of integers, it filters out the even numbers,</source> <target state="translated">Dada una lista de enteros, aplica un filtro para excluir los números pares,</target> <note /> </trans-unit> <trans-unit id="FilterWithoutPipes-Line2"> <source>squares the resulting odds, and adds 1 to the squared odds.</source> <target state="translated">eleva al cuadrado los impares resultantes y les suma 1.</target> <note /> </trans-unit> <trans-unit id="FilterShorter-Line1"> <source>A shorter way to write 'squareOddValuesAndAddOne' is to nest each</source> <target state="translated">Una forma más corta de escribir "squareOddValuesAndAddOne" es anidar cada</target> <note /> </trans-unit> <trans-unit id="FilterShorter-Line2"> <source>sub-result into the function calls themselves.</source> <target state="translated">subresultado en las propias llamadas a la función.</target> <note /> </trans-unit> <trans-unit id="FilterShorter-Line3"> <source>This makes the function much shorter, but it's difficult to see the</source> <target state="translated">Esto hace la función mucho más corta, pero es difícil ver el</target> <note /> </trans-unit> <trans-unit id="FilterShorter-Line4"> <source>order in which the data is processed.</source> <target state="translated">orden en el que se procesan los datos.</target> <note /> </trans-unit> <trans-unit id="FilterWithPipes-Line1"> <source>A preferred way to write 'squareOddValuesAndAddOne' is to use F# pipe operators.</source> <target state="translated">Una forma recomendable de escribir "squareOddValuesAndAddOne" es usar operadores de canalización de F#.</target> <note /> </trans-unit> <trans-unit id="FilterWithPipes-Line2"> <source>This allows you to avoid creating intermediate results, but is much more readable</source> <target state="translated">Esto permite evitar que se creen resultados intermedios, pero es mucho más fácil de leer</target> <note /> </trans-unit> <trans-unit id="FilterWithPipes-Line3"> <source>than nesting function calls like 'squareOddValuesAndAddOneNested'</source> <target state="translated">que anidar las llamadas a la función como "squareOddValuesAndAddOneNested"</target> <note /> </trans-unit> <trans-unit id="PipeInLambda-Line1"> <source>You can shorten 'squareOddValuesAndAddOnePipeline' by moving the second `List.map` call</source> <target state="translated">No puede acortar "squareOddValuesAndAddOnePipeline" moviendo la segunda llamada de "List.map"</target> <note /> </trans-unit> <trans-unit id="PipeInLambda-Line2"> <source>into the first, using a Lambda Function.</source> <target state="translated">a la primera, usando una función lambda.</target> <note /> </trans-unit> <trans-unit id="PipeInLambda-Line3"> <source>Note that pipelines are also being used inside the lambda function. F# pipe operators</source> <target state="translated">Tenga en cuenta que las canalizaciones se usan también en la función lambda. Los operadores de canalización de F#</target> <note /> </trans-unit> <trans-unit id="PipeInLambda-Line4"> <source>can be used for single values as well. This makes them very powerful for processing data.</source> <target state="translated">se puede usar también para valores individuales. Esto les confiere una gran capacidad para el procesamiento de datos.</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line1"> <source>Lastly, you can eliminate the need to explicitly take 'values' in as a parameter by using '&gt;&gt;'</source> <target state="translated">Por último, puede eliminar la necesidad de tomar "valores" de forma explícita como parámetro usando "&gt;&gt;"</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line2"> <source>to compose the two core operations: filtering out even numbers, then squaring and adding one.</source> <target state="translated">para componer las dos operaciones principales: aplicar un filtro para excluir los números pares, elevar al cuadrado y sumar uno.</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line3"> <source>Likewise, the 'fun x -&gt; ...' bit of the lambda expression is also not needed, because 'x' is simply</source> <target state="translated">De igual modo, no se necesita tampoco la parte "fun x -&gt; ..." de la expresión lambda, porque "x"</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line4"> <source>being defined in that scope so that it can be passed to a functional pipeline. Thus, '&gt;&gt;' can be used</source> <target state="translated">se define en ese ámbito para poderlo pasar a una canalización funcional. Por tanto, "&gt;&gt;" se pude usar</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line5"> <source>there as well.</source> <target state="translated">aquí también.</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line6"> <source>The result of 'squareOddValuesAndAddOneComposition' is itself another function which takes a</source> <target state="translated">El resultado de "squareOddValuesAndAddOneComposition" es en sí mismo otra función que toma una</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line7"> <source>list of integers as its input. If you execute 'squareOddValuesAndAddOneComposition' with a list</source> <target state="translated">lista de enteros como entrada. Si ejecuta "squareOddValuesAndAddOneComposition" con una lista</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line8"> <source>of integers, you'll notice that it produces the same results as previous functions.</source> <target state="translated">de enteros, notará que produce los mismos resultados que las funciones anteriores.</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line9"> <source>This is using what is known as function composition. This is possible because functions in F#</source> <target state="translated">Aquí se utiliza lo que se conoce como composición de funciones. Es posible porque las funciones en F#</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line10"> <source>use Partial Application and the input and output types of each data processing operation match</source> <target state="translated">utilizan aplicación parcial y los tipos de entrada y salida de cada operación de procesamiento de datos buscan</target> <note /> </trans-unit> <trans-unit id="PipesComposition-Line11"> <source>the signatures of the functions we're using.</source> <target state="translated">las signaturas de las funciones que estamos usando.</target> <note /> </trans-unit> <trans-unit id="Lists-Line1"> <source>Lists are ordered, immutable, singly-linked lists. They are eager in their evaluation.</source> <target state="translated">Las listas están ordenadas, son inmutables y están vinculadas individualmente. Son diligentes en su evaluación.</target> <note /> </trans-unit> <trans-unit id="Lists-Line2"> <source>This module shows various ways to generate lists and process lists with some functions</source> <target state="translated">Este módulo muestra varias formas de generar listas y procesarlas con algunas funciones</target> <note /> </trans-unit> <trans-unit id="Lists-Line3"> <source>in the 'List' module in the F# Core Library.</source> <target state="translated">en el módulo "List" de la biblioteca principal de F#.</target> <note /> </trans-unit> <trans-unit id="Lists-Line4"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/lists</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/lists</target> <note /> </trans-unit> <trans-unit id="ListEmptyDefinition"> <source>Lists are defined using [ ... ]. This is an empty list.</source> <target state="translated">Las listas se definen mediante [ ... ]. Esta es una lista vacía.</target> <note /> </trans-unit> <trans-unit id="ListElementDefinition"> <source>This is a list with 3 elements. ';' is used to separate elements on the same line.</source> <target state="translated">Esta es una lista de 3 elementos. Se utiliza ";" para separar los elementos que están en la misma línea.</target> <note /> </trans-unit> <trans-unit id="ListNewlineElements"> <source>You can also separate elements by placing them on their own lines.</source> <target state="translated">También puede separar los elementos poniendo cada uno en su propia línea.</target> <note /> </trans-unit> <trans-unit id="NumberList2"> <source>This is a list of integers from 1 to 1000</source> <target state="translated">Esta es una lista de enteros del 1 al 1000</target> <note /> </trans-unit> <trans-unit id="ListComputation-Line1"> <source>Lists can also be generated by computations. This is a list containing</source> <target state="translated">Las listas también pueden generarse mediante cálculos. Esta es una lista que contiene</target> <note /> </trans-unit> <trans-unit id="ListComputation-Line2"> <source>all the days of the year.</source> <target state="translated">todos los días del año.</target> <note /> </trans-unit> <trans-unit id="PrintList2"> <source>Print the first 5 elements of 'daysList' using 'List.take'.</source> <target state="translated">Imprime los 5 primeros elementos de "daysList" usando "List.take".</target> <note /> </trans-unit> <trans-unit id="ListComputationConditional-Line1"> <source>Computations can include conditionals. This is a list containing the tuples</source> <target state="translated">Los cálculos pueden incluir condicionales. Esta es una lista que contiene las tuplas</target> <note /> </trans-unit> <trans-unit id="ListComputationConditional-Line2"> <source>which are the coordinates of the black squares on a chess board.</source> <target state="translated">que son las coordenadas de los cuadrados negros de un tablero de ajedrez.</target> <note /> </trans-unit> <trans-unit id="ListMap-Line1"> <source>Lists can be transformed using 'List.map' and other functional programming combinators.</source> <target state="translated">Las listas se pueden transformas mediante "List.map" y otros combinadores de programación funcionales.</target> <note /> </trans-unit> <trans-unit id="ListMap-Line2"> <source>This definition produces a new list by squaring the numbers in numberList, using the pipeline</source> <target state="translated">Esta definición genera una nueva lista al elevar al cuadrado los números incluidos en numberList y usa el operador</target> <note /> </trans-unit> <trans-unit id="ListMap-Line3"> <source>operator to pass an argument to List.map.</source> <target state="translated">de canalización para pasar un argumento a List.map.</target> <note /> </trans-unit> <trans-unit id="ListFilter-Line1"> <source>There are many other list combinations. The following computes the sum of the squares of the</source> <target state="translated">Hay otras muchas combinaciones de listas. La siguiente, calcula la suma de los cuadrados de los</target> <note /> </trans-unit> <trans-unit id="ListFilter-Line2"> <source>numbers divisible by 3.</source> <target state="translated">números divisibles por 3.</target> <note /> </trans-unit> <trans-unit id="Arrays-Line1"> <source>Arrays are fixed-size, mutable collections of elements of the same type.</source> <target state="translated">Las matrices son colecciones mutables de tamaño fijo de elementos del mismo tipo.</target> <note /> </trans-unit> <trans-unit id="Arrays-Line2"> <source>Although they are similar to Lists (they support enumeration and have similar combinators for data processing),</source> <target state="translated">Aunque son parecidas a las listas (admiten enumeración y tienen combinadores parecidos para el procesamiento de datos),</target> <note /> </trans-unit> <trans-unit id="Arrays-Line3"> <source>they are generally faster and support fast random access. This comes at the cost of being less safe by being mutable.</source> <target state="translated">suelen ser más rápidas y admitir acceso aleatorio rápido. A cambio, tiene el inconveniente de que es menos seguro porque es mutable.</target> <note /> </trans-unit> <trans-unit id="Arrays-Line4"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/arrays</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/arrays</target> <note /> </trans-unit> <trans-unit id="EmptyArray"> <source>This is The empty array. Note that the syntax is similar to that of Lists, but uses `[| ... |]` instead.</source> <target state="translated">Esta es una matriz vacía. Observe que la sintaxis es parecida a la de las listas, pero utiliza "[| ... |]" en su lugar.</target> <note /> </trans-unit> <trans-unit id="ArrayConstructionList"> <source>Arrays are specified using the same range of constructs as lists.</source> <target state="translated">Las matrices se especifican con el mismo intervalo de construcciones que las listas.</target> <note /> </trans-unit> <trans-unit id="ArrayConstructionRange"> <source>This is an array of numbers from 1 to 1000.</source> <target state="translated">Esta es una matriz de números del 1 al 1000.</target> <note /> </trans-unit> <trans-unit id="ArrayComputationConstruction"> <source>This is an array containing only the words "hello" and "world".</source> <target state="translated">Esta es una matriz que solo contiene las palabras "hola" y "todos".</target> <note /> </trans-unit> <trans-unit id="ArrayInit"> <source>This is an array initialized by index and containing the even numbers from 0 to 2000.</source> <target state="translated">Esta es una matriz inicializada con un índice que contiene los números pares del 0 al 2000.</target> <note /> </trans-unit> <trans-unit id="ArraySlicing"> <source>Sub-arrays are extracted using slicing notation.</source> <target state="translated">Las submatrices se extraen mediante la notación divisoria.</target> <note /> </trans-unit> <trans-unit id="ArrayLooping"> <source>You can loop over arrays and lists using 'for' loops.</source> <target state="translated">Puede ejecutar un bucle en matrices y listas usando bucles "for".</target> <note /> </trans-unit> <trans-unit id="ArrayAssignment-Line1"> <source>You can modify the contents of an an array element by using the left arrow assignment operator.</source> <target state="translated">Puede modificar el contenido de un elemento de matriz mediante el operador de asignación de flecha izquierda.</target> <note /> </trans-unit> <trans-unit id="ArrayAssignment-Line2"> <source>To learn more about this operator, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/values/index#mutable-variables</source> <target state="translated">Para obtener más información sobre este operador, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/values/index#mutable-variables</target> <note /> </trans-unit> <trans-unit id="ArrayMap-Line1"> <source>You can transform arrays using 'Array.map' and other functional programming operations.</source> <target state="translated">Para transformar matrices, use "Array.map" y otras operaciones de programación funcionales.</target> <note /> </trans-unit> <trans-unit id="ArrayMap-Line2"> <source>The following calculates the sum of the lengths of the words that start with 'h'.</source> <target state="translated">La operación siguiente calcula la suma de las longitudes de las palabras que empiezan por "h".</target> <note /> </trans-unit> <trans-unit id="Sequences-Line1"> <source>Sequences are a logical series of elements, all of the same type. These are a more general type than Lists and Arrays.</source> <target state="translated">Las secuencias son una serie lógica de elementos del mismo tipo. Son de un tipo más general que las listas o las matrices.</target> <note /> </trans-unit> <trans-unit id="Sequences-Line2"> <source>Sequences are evaluated on-demand and are re-evaluated each time they are iterated.</source> <target state="translated">Las secuencias se evalúan previa petición y se vuelven a evaluar cada vez que se recorren en iteración.</target> <note /> </trans-unit> <trans-unit id="Sequences-Line3"> <source>An F# sequence is an alias for a .NET System.Collections.Generic.IEnumerable&lt;'T&gt;.</source> <target state="translated">Una secuencia de F# es un alias para un elemento System.Collections.Generic.IEnumerable&lt;'T&gt; de .NET.</target> <note /> </trans-unit> <trans-unit id="Sequences-Line4"> <source>Sequence processing functions can be applied to Lists and Arrays as well.</source> <target state="translated">Las funciones de procesamiento de secuencias también pueden aplicarse a las listas y a las matrices.</target> <note /> </trans-unit> <trans-unit id="Sequences-Line5"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/sequences</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/sequences</target> <note /> </trans-unit> <trans-unit id="EmptySequence"> <source>This is the empty sequence.</source> <target state="translated">Esta es una secuencia vacía.</target> <note /> </trans-unit> <trans-unit id="SequenceOfValues"> <source>This a sequence of values.</source> <target state="translated">Esta es una secuencia de valores.</target> <note /> </trans-unit> <trans-unit id="OnDemandSequence"> <source>This is an on-demand sequence from 1 to 1000.</source> <target state="translated">Esta es una secuencia a petición del 1 al 1000.</target> <note /> </trans-unit> <trans-unit id="SequenceComposition"> <source>This is a sequence producing the words "hello" and "world"</source> <target state="translated">Esta es una secuencia que genera las palabras "hola" y "todos"</target> <note /> </trans-unit> <trans-unit id="SequenceInit"> <source>This sequence producing the even numbers up to 2000.</source> <target state="translated">Esta secuencia genera los números pares hasta el 2000.</target> <note /> </trans-unit> <trans-unit id="InfiniteSequence-Line1"> <source>This is an infinite sequence which is a random walk.</source> <target state="translated">Esta es una secuencia infinita que constituye un recorrido aleatorio.</target> <note /> </trans-unit> <trans-unit id="InfiniteSequence-Line2"> <source>This example uses yield! to return each element of a subsequence.</source> <target state="translated">Este ejemplo usa yield! para devolver cada uno de los elementos de una subsecuencia.</target> <note /> </trans-unit> <trans-unit id="Sequence100Elements"> <source>This example shows the first 100 elements of the random walk.</source> <target state="translated">Este ejemplo muestra los 100 primeros elementos del recorrido aleatorio.</target> <note /> </trans-unit> <trans-unit id="RecursiveFunctions-Line1"> <source>Recursive functions can call themselves. In F#, functions are only recursive</source> <target state="translated">Las funciones recursivas pueden llamarse a sí mismas. En F#, las funciones solo son recursivas</target> <note /> </trans-unit> <trans-unit id="RecursiveFunctions-Line2"> <source>when declared using 'let rec'.</source> <target state="translated">cuando se declara con "let rec".</target> <note /> </trans-unit> <trans-unit id="RecursiveFunctions-Line3"> <source>Recursion is the preferred way to process sequences or collections in F#.</source> <target state="translated">La recursión es la forma recomendada de procesar secuencias o colecciones en F#.</target> <note /> </trans-unit> <trans-unit id="RecursiveFunctions-Line4"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/functions/index#recursive-functions</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/functions/index#recursive-functions</target> <note /> </trans-unit> <trans-unit id="RecFunDef-Line1"> <source>This example shows a recursive function that computes the factorial of an</source> <target state="translated">Este ejemplo muestra una función recursiva que calcula el factorial de un</target> <note /> </trans-unit> <trans-unit id="RecRunDef-Line2"> <source>integer. It uses 'let rec' to define a recursive function.</source> <target state="translated">entero. Usa "let rec" para definir una función recursiva.</target> <note /> </trans-unit> <trans-unit id="RecGcd-Line1"> <source>Computes the greatest common factor of two integers.</source> <target state="translated">Calcula el mayor factor común de dos enteros.</target> <note /> </trans-unit> <trans-unit id="RecGcd-Line2"> <source>Since all of the recursive calls are tail calls,</source> <target state="translated">Puesto que todas las llamadas recursivas son llamadas de cola,</target> <note /> </trans-unit> <trans-unit id="RecGcd-Line3"> <source>the compiler will turn the function into a loop,</source> <target state="translated">el compilador devolverá la función en un bucle,</target> <note /> </trans-unit> <trans-unit id="RecGcd-Line4"> <source>which improves performance and reduces memory consumption.</source> <target state="translated">lo que mejora el rendimiento y reduce el consumo de memoria.</target> <note /> </trans-unit> <trans-unit id="RecSumList"> <source>This example computes the sum of a list of integers using recursion.</source> <target state="translated">Este ejemplo calcula la suma de una lista de enteros con recursión.</target> <note /> </trans-unit> <trans-unit id="RecSumListTail"> <source>This makes 'sumList' tail recursive, using a helper function with a result accumulator.</source> <target state="translated">Esto convierte la función "sumList" en recursiva de cola, usando una función auxiliar con un acumulador de resultados.</target> <note /> </trans-unit> <trans-unit id="RecSumListTailInvoke-Line1"> <source>This invokes the tail recursive helper function, providing '0' as a seed accumulator.</source> <target state="translated">Este código invoca la función auxiliar recursiva de cola, proporcionando "0" como acumulador de valores de inicialización.</target> <note /> </trans-unit> <trans-unit id="RecSumListTailInvoke-Line2"> <source>An approach like this is common in F#.</source> <target state="translated">Este método es habitual en F#.</target> <note /> </trans-unit> <trans-unit id="Records-Line1"> <source>Records are an aggregate of named values, with optional members (such as methods).</source> <target state="translated">Los registros son un agregado de valores con nombre, con miembros opcionales (como los métodos).</target> <note /> </trans-unit> <trans-unit id="Records-Line2"> <source>They are immutable and have structural equality semantics.</source> <target state="translated">Son inmutables y tienen semántica de igualdad estructural.</target> <note /> </trans-unit> <trans-unit id="Records-Line3"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/records</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/records</target> <note /> </trans-unit> <trans-unit id="RecordDefinition"> <source>This example shows how to define a new record type.</source> <target state="translated">Este ejemplo muestra cómo definir un nuevo tipo de registro.</target> <note /> </trans-unit> <trans-unit id="RecordInstantiation1"> <source>This example shows how to instantiate a record type.</source> <target state="translated">Este ejemplo muestra cómo crear una instancia de un tipo de registro.</target> <note /> </trans-unit> <trans-unit id="RecordInstantiation2"> <source>You can also do this on the same line with ';' separators.</source> <target state="translated">También puede hacer esto en la misma línea usando ";" como separador.</target> <note /> </trans-unit> <trans-unit id="UpdateRecord-Line1"> <source>This example shows how to use "copy-and-update" on record values. It creates</source> <target state="translated">Este ejemplo muestra cómo usar "copy-and-update" en los valores de registro. Crea</target> <note /> </trans-unit> <trans-unit id="UpdateRecord-Line2"> <source>a new record value that is a copy of contact1, but has different values for</source> <target state="translated">un nuevo valor de registro que es una copia de contact1, pero con valores distintos para</target> <note /> </trans-unit> <trans-unit id="UpdateRecord-Line3"> <source>the 'Phone' and 'Verified' fields.</source> <target state="translated">los campos "Phone" y "Verified".</target> <note /> </trans-unit> <trans-unit id="UpdateRecord-Line4"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/copy-and-update-record-expressions</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/copy-and-update-record-expressions</target> <note /> </trans-unit> <trans-unit id="ProcessRecord-Line1"> <source>This example shows how to write a function that processes a record value.</source> <target state="translated">Este ejemplo muestra cómo escribir una función que procesa un valor del registro.</target> <note /> </trans-unit> <trans-unit id="ProcessRecord-Line2"> <source>It converts a 'ContactCard' object to a string.</source> <target state="translated">Convierte un objeto "ContactCard" en una cadena.</target> <note /> </trans-unit> <trans-unit id="RecordWithMember-Line1"> <source>This is an example of a Record with a member.</source> <target state="translated">Este es un ejemplo de un registro con un miembro.</target> <note /> </trans-unit> <trans-unit id="RecordWithMember-Line2"> <source>Members can implement object-oriented members.</source> <target state="translated">Los miembros pueden implementar miembros orientados a objetos.</target> <note /> </trans-unit> <trans-unit id="RecordAccess"> <source>Members are accessed via the '.' operator on an instantiated type.</source> <target state="translated">A los miembros se accede con el operador "." en un tipo del que se ha creado una instancia.</target> <note /> </trans-unit> <trans-unit id="RecordStruct-Line1"> <source>Records can also be represented as structs via the 'Struct' attribute.</source> <target state="translated">Los registros se pueden representar también como estructuras con el atributo "Struct".</target> <note /> </trans-unit> <trans-unit id="RecordStruct-Line2"> <source>This is helpful in situations where the performance of structs outweighs</source> <target state="translated">Esto es útil en situaciones donde el rendimiento de las estructuras es superior a</target> <note /> </trans-unit> <trans-unit id="RecordStruct-Line3"> <source>the flexibility of reference types.</source> <target state="translated">la flexibilidad de los tipos de referencia.</target> <note /> </trans-unit> <trans-unit id="DiscriminatedUnions-Line1"> <source>Discriminated Unions (DU for short) are values which could be a number of named forms or cases.</source> <target state="translated">Las uniones discriminadas (DU) son valores que podrían ser un gran número de formas o casos con nombre.</target> <note /> </trans-unit> <trans-unit id="DiscriminatedUnions-Line2"> <source>Data stored in DUs can be one of several distinct values.</source> <target state="translated">Los datos almacenados en uniones discriminadas pueden ser uno de varios valores diferentes.</target> <note /> </trans-unit> <trans-unit id="DiscriminatedUnions-Line3"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/discriminated-unions</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/discriminated-unions</target> <note /> </trans-unit> <trans-unit id="CardSuit"> <source>The following represents the suit of a playing card.</source> <target state="translated">El siguiente código representa el palo de una carta.</target> <note /> </trans-unit> <trans-unit id="CardRank"> <source>A Disciminated Union can also be used to represent the rank of a playing card.</source> <target state="translated">También se puede usar una unión discriminada para representar el rango de una carta.</target> <note /> </trans-unit> <trans-unit id="CardRankValue"> <source>Represents the rank of cards 2 .. 10</source> <target state="translated">Representa el rango de cartas 2 .. 10</target> <note /> </trans-unit> <trans-unit id="CardMember"> <source>Discriminated Unions can also implement object-oriented members.</source> <target state="translated">Las uniones discriminadas pueden implementar también miembros orientados a objetos.</target> <note /> </trans-unit> <trans-unit id="CardType-Line1"> <source>This is a record type that combines a Suit and a Rank.</source> <target state="translated">Este es un tipo de registro que combina un palo y un rango.</target> <note /> </trans-unit> <trans-unit id="CardType-Line2"> <source>It's common to use both Records and Disciminated Unions when representing data.</source> <target state="translated">Es habitual utilizar tanto registros como uniones discriminadas cuando se representan datos.</target> <note /> </trans-unit> <trans-unit id="ComputeFullDeck"> <source>This computes a list representing all the cards in the deck.</source> <target state="translated">Este código calcula una lista que representa todas las cartas de la baraja.</target> <note /> </trans-unit> <trans-unit id="CardToString"> <source>This example converts a 'Card' object to a string.</source> <target state="translated">Este ejemplo convierte un objeto "Card" en una cadena.</target> <note /> </trans-unit> <trans-unit id="PrintAllCards"> <source>This example prints all the cards in a playing deck.</source> <target state="translated">Este ejemplo imprime todas las cartas de una baraja.</target> <note /> </trans-unit> <trans-unit id="SingleCaseDu-Line1"> <source>Single-case DUs are often used for domain modeling. This can buy you extra type safety</source> <target state="translated">Las uniones discriminadas de un solo caso se usan con frecuencia en el modelado de dominios. Esto puede aportar mayor seguridad de tipos</target> <note /> </trans-unit> <trans-unit id="SingleCaseDu-Line2"> <source>over primitive types such as strings and ints.</source> <target state="translated">en tipos primitivos, como cadenas y enteros.</target> <note /> </trans-unit> <trans-unit id="SingleCaseDu-Line3"> <source>Single-case DUs cannot be implicitly converted to or from the type they wrap.</source> <target state="translated">Las uniones discriminadas de un solo caso no se pueden convertir de forma implícita en el tipo que encapsulan, ni viceversa.</target> <note /> </trans-unit> <trans-unit id="SingleCaseDu-Line4"> <source>For example, a function which takes in an Address cannot accept a string as that input,</source> <target state="translated">Por ejemplo, una función que toma una dirección no puede aceptar una cadena como esa entrada,</target> <note /> </trans-unit> <trans-unit id="SingleCaseDu-Line5"> <source>or vive/versa.</source> <target state="translated">o viceversa.</target> <note /> </trans-unit> <trans-unit id="InstantiateSingleCaseDu"> <source>You can easily instantiate a single-case DU as follows.</source> <target state="translated">Puede crear fácilmente una instancia de una unión discriminada de un solo caso del siguiente modo.</target> <note /> </trans-unit> <trans-unit id="UnwrapSingleCaseDu"> <source>When you need the value, you can unwrap the underlying value with a simple function.</source> <target state="translated">Cuando necesite el valor, puede desencapsular el valor subyacente con una función sencilla.</target> <note /> </trans-unit> <trans-unit id="PrintSingleCaseDu"> <source>Printing single-case DUs is simple with unwrapping functions.</source> <target state="translated">Imprimir uniones discriminadas de un solo caso es muy sencillo con funciones de desencapsulamiento.</target> <note /> </trans-unit> <trans-unit id="DuRecursiveDef-Line1"> <source>Disciminated Unions also support recursive definitions.</source> <target state="translated">Las uniones discriminadas admiten también definiciones recursivas.</target> <note /> </trans-unit> <trans-unit id="DuRecursiveDef-Line2"> <source>This represents a Binary Search Tree, with one case being the Empty tree,</source> <target state="translated">Esto representa un árbol de búsqueda binaria, donde un caso es el árbol vacío</target> <note /> </trans-unit> <trans-unit id="DuRecursiveDef-Line3"> <source>and the other being a Node with a value and two subtrees.</source> <target state="translated">y el otro es un nodo con un valor y dos subárboles.</target> <note /> </trans-unit> <trans-unit id="SearchBinaryTree-Line1"> <source>Check if an item exists in the binary search tree.</source> <target state="translated">Comprueba si existe un elemento en el árbol de búsqueda binaria.</target> <note /> </trans-unit> <trans-unit id="SearchBinaryTree-Line2"> <source>Searches recursively using Pattern Matching. Returns true if it exists; otherwise, false.</source> <target state="translated">Hace búsquedas de forma recursiva usando coincidencia de patrones. Devuelve true si existe; de lo contrario, false.</target> <note /> </trans-unit> <trans-unit id="CheckLeftSubtree"> <source>Check the left subtree.</source> <target state="translated">Comprueba el subárbol de la izquierda.</target> <note /> </trans-unit> <trans-unit id="CheckRightSubtree"> <source>Check the right subtree.</source> <target state="translated">Comprueba el subárbol de la derecha.</target> <note /> </trans-unit> <trans-unit id="BinaryTreeInsert-Line1"> <source>Inserts an item in the Binary Search Tree.</source> <target state="translated">Inserta un elemento en el árbol de búsqueda binaria.</target> <note /> </trans-unit> <trans-unit id="BinaryTreeInsert-Line2"> <source>Finds the place to insert recursively using Pattern Matching, then inserts a new node.</source> <target state="translated">Busca dónde insertar de forma recursiva un nuevo nodo usando coincidencia de patrones y lo inserta.</target> <note /> </trans-unit> <trans-unit id="BinaryTreeInsert-Line3"> <source>If the item is already present, it does not insert anything.</source> <target state="translated">Si el elemento ya está presente, no inserta nada.</target> <note /> </trans-unit> <trans-unit id="BinaryTreeInsert-Line4"> <source>No need to insert, it already exists; return the node.</source> <target state="translated">No es necesario insertarlo, ya existe; vuelve al nodo.</target> <note /> </trans-unit> <trans-unit id="BinaryTreeInsert-Line5"> <source>Call into left subtree.</source> <target state="translated">Llama al subárbol de la izquierda.</target> <note /> </trans-unit> <trans-unit id="BinaryTreeInsert-Line6"> <source>Call into right subtree.</source> <target state="translated">Llama al subárbol de la derecha.</target> <note /> </trans-unit> <trans-unit id="DuStruct-Line1"> <source>Discriminated Unions can also be represented as structs via the 'Struct' attribute.</source> <target state="translated">Las uniones discriminadas se pueden representar también como estructuras con el atributo "Struct".</target> <note /> </trans-unit> <trans-unit id="DuStruct-Line2"> <source>This is helpful in situations where the performance of structs outweighs</source> <target state="translated">Esto es útil en situaciones donde el rendimiento de las estructuras es superior a</target> <note /> </trans-unit> <trans-unit id="DuStruct-Line3"> <source>the flexibility of reference types.</source> <target state="translated">la flexibilidad de los tipos de referencia.</target> <note /> </trans-unit> <trans-unit id="DuStruct-Line4"> <source>However, there are two important things to know when doing this:</source> <target state="translated">No obstante, hay dos cosas importantes que deben tenerse en cuenta cuando se hace esto:</target> <note /> </trans-unit> <trans-unit id="DuStruct-Line5"> <source>1. A struct DU cannot be recursively-defined.</source> <target state="translated">1. Una unión discriminada de estructura no se puede definir de forma recursiva.</target> <note /> </trans-unit> <trans-unit id="DuStruct-Line6"> <source>2. A struct DU must have unique names for each of its cases.</source> <target state="translated">2. Una unión discriminada de estructura debe tener un nombre único para cada uno de sus casos.</target> <note /> </trans-unit> <trans-unit id="PatternMatching-Line1"> <source>Pattern Matching is a feature of F# that allows you to utilize Patterns,</source> <target state="translated">La coincidencia de patrones es una característica de F# que permite utilizar patrones,</target> <note /> </trans-unit> <trans-unit id="PatternMatching-Line2"> <source>which are a way to compare data with a logical structure or structures,</source> <target state="translated">que son una forma de comparar datos con estructuras lógicas,</target> <note /> </trans-unit> <trans-unit id="PatternMatching-Line3"> <source>decompose data into constituent parts, or extract information from data in various ways.</source> <target state="translated">descomponer datos en partes constituyentes o extraer información de datos de varias formas.</target> <note /> </trans-unit> <trans-unit id="PatternMatching-Line4"> <source>You can then dispatch on the "shape" of a pattern via Pattern Matching.</source> <target state="translated">Después, puede hacer envíos en función de la "forma" de un patrón mediante coincidencia de patrones.</target> <note /> </trans-unit> <trans-unit id="PatternMatching-Line5"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/pattern-matching</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/pattern-matching</target> <note /> </trans-unit> <trans-unit id="PersonRecord"> <source>A record for a person's first and last name</source> <target state="translated">Un registro para el nombre y los apellidos de una persona</target> <note /> </trans-unit> <trans-unit id="EmployeeDu"> <source>A Discriminated Union of 3 different kinds of employees</source> <target state="translated">Una unión discriminada de 3 tipos de empleados diferentes</target> <note /> </trans-unit> <trans-unit id="CountEmployees-Line1"> <source>Count everyone underneath the employee in the management hierarchy,</source> <target state="translated">Cuenta a todos por debajo del empleado en la jerarquía de administración,</target> <note /> </trans-unit> <trans-unit id="CountEmployees-Line2"> <source>including the employee.</source> <target state="translated">incluido el empleado.</target> <note /> </trans-unit> <trans-unit id="FindDave-Line1"> <source>Find all managers/executives named "Dave" who do not have any reports.</source> <target state="translated">Buscar a todos los directores o ejecutivos que se llamen "Dave" que no tengan jefes.</target> <note /> </trans-unit> <trans-unit id="FindDave-Line2"> <source>This uses the 'function' shorthand to as a lambda expression.</source> <target state="translated">Aquí se utiliza la forma abreviada "function" como una expresión lambda.</target> <note /> </trans-unit> <trans-unit id="MatchEmptyList"> <source>[] matches an empty list.</source> <target state="translated">[] coincide con una lista vacía.</target> <note /> </trans-unit> <trans-unit id="MatchWildcard-Line1"> <source>'_' is a wildcard pattern that matches anything.</source> <target state="translated">"_" es un patrón comodín que busca cualquier cosa.</target> <note /> </trans-unit> <trans-unit id="MatchWildCard-Line2"> <source>This handles the "or else" case.</source> <target state="translated">Este código controla el caso "or else".</target> <note /> </trans-unit> <trans-unit id="MatchShorthand-Line1"> <source>You can also use the shorthand function construct for pattern matching,</source> <target state="translated">También puede usar la construcción abreviada de funciones para la coincidencia de patrones,</target> <note /> </trans-unit> <trans-unit id="MatchShorthand-Line2"> <source>which is useful when you're writing functions which make use of Partial Application.</source> <target state="translated">que es muy útil cuando se escriben funciones que utilizan aplicación parcial.</target> <note /> </trans-unit> <trans-unit id="ParseHelpers"> <source>Define some more functions which parse with the helper function.</source> <target state="translated">Define algunas funciones más que se analizan con la función auxiliar.</target> <note /> </trans-unit> <trans-unit id="ActivePatterns-Line1"> <source>Active Patterns are another powerful construct to use with pattern matching.</source> <target state="translated">Los patrones activos son también una construcción muy eficaz para usarla con coincidencia de patrones.</target> <note /> </trans-unit> <trans-unit id="ActivePatterns-Line2"> <source>They allow you to partition input data into custom forms, decomposing them at the pattern match call site.</source> <target state="translated">Permiten particionar los datos de entrada en formas personalizadas, descomponiéndolos en el sitio de llamada de coincidencia de patrones.</target> <note /> </trans-unit> <trans-unit id="ActivePatterns-Line3"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/active-patterns</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/active-patterns</target> <note /> </trans-unit> <trans-unit id="MatchActivePattern"> <source>Pattern Matching via 'function' keyword and Active Patterns often looks like this.</source> <target state="translated">La coincidencia de patrones con la palabra clave "function" y patrones activos suele ser similar a este código.</target> <note /> </trans-unit> <trans-unit id="PrintParse"> <source>Call the printer with some different values to parse.</source> <target state="translated">Llamar a la impresora con algunos valores diferentes para analizar.</target> <note /> </trans-unit> <trans-unit id="Option-Line1"> <source>Option values are any kind of value tagged with either 'Some' or 'None'.</source> <target state="translated">Los valores de opción son cualquier tipo de valor etiquetado como 'Some' o 'None'.</target> <note /> </trans-unit> <trans-unit id="Option-Line2"> <source>They are used extensively in F# code to represent the cases where many other</source> <target state="translated">Se usan de forma exhaustiva en el código de F# para representar los casos en los que muchos otros</target> <note /> </trans-unit> <trans-unit id="Option-Line3"> <source>languages would use null references.</source> <target state="translated">lenguajes usarían referencias NULL.</target> <note /> </trans-unit> <trans-unit id="Option-Line4"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/options</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/options</target> <note /> </trans-unit> <trans-unit id="ZipCode"> <source>First, define a zipcode defined via Single-case Discriminated Union.</source> <target state="translated">En primer lugar, defina un código postal con una unión discriminada de un solo caso.</target> <note /> </trans-unit> <trans-unit id="Customer"> <source>Next, define a type where the ZipCode is optional.</source> <target state="translated">Después, defina un tipo donde ZipCode sea opcional.</target> <note /> </trans-unit> <trans-unit id="ShippingCalculator-Line1"> <source>Next, define an interface type that represents an object to compute the shipping zone for the customer's zip code,</source> <target state="translated">Después, defina un tipo de interfaz que represente un objeto para calcular la zona de envío del código postal del cliente,</target> <note /> </trans-unit> <trans-unit id="ShippingCalculator-Line2"> <source>given implementations for the 'getState' and 'getShippingZone' abstract methods.</source> <target state="translated">especificando implementaciones para los métodos abstractos 'getState' y 'getShippingZone'.</target> <note /> </trans-unit> <trans-unit id="CalcShippingZone-Line1"> <source>Next, calculate a shipping zone for a customer using a calculator instance.</source> <target state="translated">Después, calcule una zona de envío para un cliente con una instancia de la calculadora.</target> <note /> </trans-unit> <trans-unit id="CalcShippingZone-Line2"> <source>This uses combinators in the Option module to allow a functional pipeline for</source> <target state="translated">Aquí se utilizan combinadores en el módulo Option para permitir que una canalización funcional</target> <note /> </trans-unit> <trans-unit id="CalcShippingZone-Line3"> <source>transforming data with Optionals.</source> <target state="translated">transforme datos con valores opcionales.</target> <note /> </trans-unit> <trans-unit id="UnitsOfMeasure-Line1"> <source>Units of measure are a way to annotate primitive numeric types in a type-safe way.</source> <target state="translated">Las unidades de medida son una forma de anotar tipos numéricos primitivos con seguridad de tipos.</target> <note /> </trans-unit> <trans-unit id="UnitsOfMeasure-Line2"> <source>You can then perform type-safe arithmetic on these values.</source> <target state="translated">Después, puede realizar operaciones aritméticas con seguridad de tipos en estos valores.</target> <note /> </trans-unit> <trans-unit id="UnitsOfMeasure-Line3"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/units-of-measure</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/units-of-measure</target> <note /> </trans-unit> <trans-unit id="CommonUnits"> <source>First, open a collection of common unit names</source> <target state="translated">Primero, abra una colección de nombres de unidad comunes</target> <note /> </trans-unit> <trans-unit id="DefineUnitConstant"> <source>Define a unitized constant</source> <target state="translated">Defina una constante dividida en unidades</target> <note /> </trans-unit> <trans-unit id="MileUnit"> <source>Next, define a new unit type</source> <target state="translated">Después, defina un nuevo tipo de unidad</target> <note /> </trans-unit> <trans-unit id="MileToMeter"> <source>Conversion factor mile to meter.</source> <target state="translated">Factor de conversión de millas a metros.</target> <note /> </trans-unit> <trans-unit id="DefineMileConstant"> <source>Define a unitized constant</source> <target state="translated">Defina una constante dividida en unidades</target> <note /> </trans-unit> <trans-unit id="ComputeMileToMeter"> <source>Compute metric-system constant</source> <target state="translated">Calcular constante del sistema métrico</target> <note /> </trans-unit> <trans-unit id="PrintUnitsOfMeasure"> <source>Values using Units of Measure can be used just like the primitive numeric type for things like printing.</source> <target state="translated">Los valores que usan unidades de medida se pueden usar simplemente como tipo numérico primitivo para cosas como la impresión.</target> <note /> </trans-unit> <trans-unit id="Classes-Line1"> <source>Classes are a way of defining new object types in F#, and support standard Object-oriented constructs.</source> <target state="translated">Las clases son una forma de definir tipos de objeto nuevos en F# y admiten construcciones orientadas a objetos estándar.</target> <note /> </trans-unit> <trans-unit id="Classes-Line2"> <source>They can have a variety of members (methods, properties, events, etc.)</source> <target state="translated">Pueden tener una gran variedad de miembros (métodos, propiedades, eventos, etc.)</target> <note /> </trans-unit> <trans-unit id="Classes-Line3"> <source>To learn more about Classes, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/classes</source> <target state="translated">Para obtener más información sobre las clases, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/classes</target> <note /> </trans-unit> <trans-unit id="Classes-Line4"> <source>To learn more about Members, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/members</source> <target state="translated">Para obtener más información sobre miembros, vea https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/members</target> <note /> </trans-unit> <trans-unit id="Vector-Line1"> <source>A simple two-dimensional Vector class.</source> <target state="translated">Clase Vector bidimensional sencilla.</target> <note /> </trans-unit> <trans-unit id="Vector-Line2"> <source>The class's constructor is on the first line,</source> <target state="translated">El constructor de la clase está en la primera línea</target> <note /> </trans-unit> <trans-unit id="Vector-Line3"> <source>and takes two arguments: dx and dy, both of type 'double'.</source> <target state="translated">y toma dos argumentos: dx y dy, ambos de tipo "double".</target> <note /> </trans-unit> <trans-unit id="ClassInternalField-Line1"> <source>This internal field stores the length of the vector, computed when the</source> <target state="translated">Este campo interno almacena la longitud del vector, que se calcula cuando</target> <note /> </trans-unit> <trans-unit id="ClassInternalField-Line2"> <source>object is constructed</source> <target state="translated">se construye el objeto</target> <note /> </trans-unit> <trans-unit id="ThisKeyword-Line1"> <source>'this' specifies a name for the object's self identifier.</source> <target state="translated">'this' especifica un nombre para el propio identificador del objeto.</target> <note /> </trans-unit> <trans-unit id="ThisKeyword-Line2"> <source>In instance methods, it must appear before the member name.</source> <target state="translated">En los métodos de instancia, debe aparecer delante del nombre del miembro.</target> <note /> </trans-unit> <trans-unit id="MemberMethod"> <source>This member is a method. The previous members were properties.</source> <target state="translated">Este miembro es un método. Los miembros anteriores eran propiedades.</target> <note /> </trans-unit> <trans-unit id="InstantiateClass"> <source>This is how you instantiate the Vector2D class.</source> <target state="translated">Así es cómo se crea una instancia de la clase Vector2D.</target> <note /> </trans-unit> <trans-unit id="ScaledVector"> <source>Get a new scaled vector object, without modifying the original object.</source> <target state="translated">Obtener un nuevo objeto de vector a escala sin modificar el objeto original.</target> <note /> </trans-unit> <trans-unit id="GenericClasses-Line1"> <source>Generic classes allow types to be defined with respect to a set of type parameters.</source> <target state="translated">Las clases genéricas permiten definir tipos con respecto a un conjunto de parámetros de tipo.</target> <note /> </trans-unit> <trans-unit id="GenericClasses-Line2"> <source>In the following, 'T is the type parameter for the class.</source> <target state="translated">En el siguiente código, 'T es el parámetro de tipo para la clase.</target> <note /> </trans-unit> <trans-unit id="GenericClasses-Line3"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/generics/</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/generics/</target> <note /> </trans-unit> <trans-unit id="InternalField"> <source>This internal field store the states in a list.</source> <target state="translated">Este campo interno almacena los estados en una lista.</target> <note /> </trans-unit> <trans-unit id="AddElement"> <source>Add a new element to the list of states.</source> <target state="translated">Agregar un nuevo elemento a la lista de estados.</target> <note /> </trans-unit> <trans-unit id="MutableAssignment"> <source>use the '&lt;-' operator to mutate the value.</source> <target state="translated">Use el operador "&lt;-" para mutar el valor.</target> <note /> </trans-unit> <trans-unit id="History"> <source>Get the entire list of historical states.</source> <target state="translated">Obtener la lista completa de estados históricos.</target> <note /> </trans-unit> <trans-unit id="Current"> <source>Get the latest state.</source> <target state="translated">Obtener el último estado.</target> <note /> </trans-unit> <trans-unit id="InferredTypeParameter"> <source>An 'int' instance of the state tracker class. Note that the type parameter is inferred.</source> <target state="translated">Una instancia 'int' de la clase del rastreador de estados. Observe que se ha inferido el parámetro de tipo.</target> <note /> </trans-unit> <trans-unit id="AddState"> <source>Add a state</source> <target state="translated">Agregar un estado</target> <note /> </trans-unit> <trans-unit id="Interfaces-Line1"> <source>Interfaces are object types with only 'abstract' members.</source> <target state="translated">Las interfaces son tipos de objeto que solo tienen miembros "abstract".</target> <note /> </trans-unit> <trans-unit id="Interfaces-Line2"> <source>Object types and object expressions can implement interfaces.</source> <target state="translated">Los tipos de objeto y las expresiones de objeto pueden implementar interfaces.</target> <note /> </trans-unit> <trans-unit id="Interfaces-Line3"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/interfaces</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/interfaces</target> <note /> </trans-unit> <trans-unit id="IDisposable"> <source>This is a type that implements IDisposable.</source> <target state="translated">Este es un tipo que implementa IDisposable.</target> <note /> </trans-unit> <trans-unit id="IDisposableImplementation"> <source>This is the implementation of IDisposable members.</source> <target state="translated">Esta es la implementación de los miembros de IDisposable.</target> <note /> </trans-unit> <trans-unit id="IDisposableObjectExpression-Line1"> <source>This is an object that implements IDisposable via an Object Expression</source> <target state="translated">Este es un objeto que implementa IDisposable mediante una expresión de objeto</target> <note /> </trans-unit> <trans-unit id="IDisposableObjectExpression-Line2"> <source>Unlike other languages such as C# or Java, a new type definition is not needed</source> <target state="translated">A diferencia de otros lenguajes, como C# o Java, no es necesaria una nueva definición de tipo</target> <note /> </trans-unit> <trans-unit id="IDisposableObjectExpression-Line3"> <source>to implement an interface.</source> <target state="translated">para implementar una interfaz.</target> <note /> </trans-unit> <trans-unit id="Parallel-Line1"> <source>The FSharp.Core library defines a range of parallel processing functions. Here</source> <target state="translated">La biblioteca FSharp.Core define un intervalo de funciones de procesamiento paralelo. Aquí</target> <note /> </trans-unit> <trans-unit id="Parallel-Line2"> <source>you use some functions for parallel processing over arrays.</source> <target state="translated">se usan algunas funciones de procesamiento paralelo en matrices.</target> <note /> </trans-unit> <trans-unit id="Parallel-Line3"> <source>To learn more, see: https://msdn.microsoft.com/en-us/visualfsharpdocs/conceptual/array.parallel-module-%5Bfsharp%5D</source> <target state="translated">Para obtener más información, vea: https://msdn.microsoft.com/en-us/visualfsharpdocs/conceptual/array.parallel-module-%5Bfsharp%5D</target> <note /> </trans-unit> <trans-unit id="InputArray"> <source>First, an array of inputs.</source> <target state="translated">Primero, una matriz de entradas.</target> <note /> </trans-unit> <trans-unit id="ExpensiveFunction"> <source>Next, define a functions that does some CPU intensive computation.</source> <target state="translated">Después, defina una función que realice algunos cálculos con gran consumo de CPU.</target> <note /> </trans-unit> <trans-unit id="ParallelMap"> <source>Next, do a parallel map over a large input array.</source> <target state="translated">Después, realice una asignación en paralelo en una matriz de entrada grande.</target> <note /> </trans-unit> <trans-unit id="PrintParallel"> <source>Next, print the results.</source> <target state="translated">Después, imprima los resultados.</target> <note /> </trans-unit> <trans-unit id="Events-Line1"> <source>Events are a common idiom for .NET programming, especially with WinForms or WPF applications.</source> <target state="translated">Los eventos son algo habitual en la programación para .NET, especialmente con aplicaciones de WinForms o WPF.</target> <note /> </trans-unit> <trans-unit id="Events-Line2"> <source>To learn more, see: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/members/events</source> <target state="translated">Para obtener más información, vea: https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/members/events</target> <note /> </trans-unit> <trans-unit id="SimpleEvent"> <source>First, create instance of Event object that consists of subscription point (event.Publish) and event trigger (event.Trigger).</source> <target state="translated">Primero, cree una instancia del objeto Event que conste de un punto de suscripción (event.Publish) y un desencadenador de eventos (event.Trigger).</target> <note /> </trans-unit> <trans-unit id="AddEventHandler1"> <source>Next, add handler to the event.</source> <target state="translated">Después, agregue un controlador al evento.</target> <note /> </trans-unit> <trans-unit id="TriggerEvent"> <source>Next, trigger the event.</source> <target state="translated">Después, desencadene el evento.</target> <note /> </trans-unit> <trans-unit id="EventWithArgs"> <source>Next, create an instance of Event that follows standard .NET convention: (sender, EventArgs).</source> <target state="translated">Después, cree una instancia de Event que siga la convención estándar de .NET: (sender, EventArgs).</target> <note /> </trans-unit> <trans-unit id="AddEventHandler2"> <source>Next, add a handler for this new event.</source> <target state="translated">Después, agregue un controlador para este nuevo evento.</target> <note /> </trans-unit> <trans-unit id="TriggerEventWithArgs"> <source>Next, trigger this event (note that sender argument should be set).</source> <target state="translated">Después, desencadene este evento (tenga en cuenta que el argumento sender debe estar establecido).</target> <note /> </trans-unit> </body> </file> </xliff>