---
name: curry2
kind: function
lang: go
domain: core
version: "1.0.0"
purity: pure
signature: "func Curry2[A, B, C any](f func(A, B) C) func(A) func(B) C"
description: "Transforma una funcion de dos argumentos en forma currificada."
tags: [functional, generic, curry]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: []
params:
  - name: f
    desc: "función de dos argumentos a currificar: (A, B) -> C"
output: "función currificada que retorna una función parcial: A -> (B -> C)"
tested: false
tests: []
test_file_path: ""
file_path: "functions/core/curry2.go"
---

## Ejemplo

```go
add := func(a, b int) int { return a + b }
curriedAdd := Curry2(add)
add5 := curriedAdd(5)
result := add5(3) // 8
```

## Notas

Funcion pura generica. Implementacion en devfactory/core.
