# curry1to0

**Kind:** Function

**Source:** [`atloria-monorepo/packages/editor/src/utils/fp.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/editor/src/utils/fp.ts#L29)

Takes a 1 argument function and returns a function which when called, executes it with the provided argument.

## Signature

```ts
function curry1to0(proc: (arg: T) => R, arg: T): () => R
```

## Parameters

| Name | Type |
|---|---|
| `proc` | `(arg: T) => R` |
| `arg` | `T` |

**Returns:** `() => R`
