> For the complete documentation index, see [llms.txt](https://radlohead.gitbook.io/typescript-deep-dive/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://radlohead.gitbook.io/typescript-deep-dive/main-1/currying.md).

# 커링

굵은 화살표 함수를 연속해서 사용하세요:

```typescript
// 커리 함수
let add = (x: number) => (y: number) => x + y;

// 간단한 사용
add(123)(456);

// 부분 적용
let add123 = add(123);

// 함수 전체 적용
add123(456);
```
