# Phanaeng Curry

**Submitted By:**

david

**Difficulty:**

Elementary

**Tags:**

lambdas, functions, functional programming

**Instructions:**

There are lot of things named curry that we like: the mathematician, the dish, and the Ruby method. Create a partial function based on an existing lambda by using currying.

**Hidden Code:**

There is hidden code with assertions that is also being run to test out your code.

**Code:**

exponential = -> x, y { y ** x } squared = exponential.___ assert_equal squared.(3) == 9, true

## Your Solution

Back to Problems