# Why curry doesn't work with :+

**URL:** <https://www.ruby-forum.com/t/why-curry-doesnt-work-with/263449>\
**Category:** Uncategorized\
**Created:** [November 24, 2022, 6:58pm UTC](https://www.ruby-forum.com/t/why-curry-doesnt-work-with/263449 "2022-11-24T18:58:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgomo3](https://www.ruby-forum.com/user_avatar/www.ruby-forum.com/jgomo3/32/950_2.png) [@jgomo3](https://www.ruby-forum.com/u/jgomo3)\
**Post date:** [November 24, 2022, 6:58pm UTC](https://www.ruby-forum.com/t/why-curry-doesnt-work-with/263449/1 "2022-11-24T18:58:29Z")

</div>

I was expecting the following to return a Proc:

```auto
:+.to_proc.curry.(10)

```

But it raises an error:

```auto
ArgumentError (wrong number of arguments (given 0, expected 1))

```

If we have a proc similar to `:+`:

```auto
add = ->(x,y){x + y}
add.curry.(10)

```

I get the expected Proc.

Why curry doesn’t work as I’m expecting with `:+`?
