This language bar is your friend. Select your favorite languages!

Idiom #37 Currying

Transform a function that takes multiple arguments into a function for which some of the arguments are preset.

#Edit dateEdit SummaryEditor
👁 Δ 29 2018-05-15, 18:35 [Haskell] Format improvements (Comments) hrschueler
👁 Δ 28 2018-05-15, 18:34 [Haskell] Clarifications. hrschueler
👁 Δ 27 2018-05-15, 18:32 [Haskell] Removed parantheses and argument, added type, removed sp, added importecial symbols hrschueler
👁 Δ 26 2018-01-28, 08:25 [Rust] looks like other samples do not include a main() function either. Miquel
👁 Δ 25 2018-01-28, 08:21 New Rust implementation by user [Miquel] Miquel
👁 Δ 24 2018-01-23, 14:43 Lead: imperative style programming-idioms.org
👁 Δ 23 2017-06-14, 15:17 New Scheme implementation by user [Dodopod] Dodopod
👁 Δ 22 2017-03-20, 08:02 [Python] 2222 222
👁 Δ 22 2017-03-20, 08:02 [Python] 2222 222
👁 Δ 21 2017-02-07, 22:40 [Elixir] +DemoURL programming-idioms.org
👁 Δ 20 2016-11-13, 23:10 [Ruby] +DemoURL programming-idioms.org
👁 Δ 19 2016-08-23, 11:02 New Elixir implementation by user [barroco] barroco
👁 Δ 18 2016-04-07, 07:40 New Lua implementation by user [Nepta]
👁 Δ 17 2016-03-21, 17:01 [D] indent
👁 Δ 16 2016-02-18, 17:22 Restored version 14
👁 Δ 15 2016-02-18, 16:57 New Java implementation by user [javasucks]
👁 Δ 14 2016-02-17, 10:15 New Java implementation by user [javasucks]
👁 Δ 13 2015-11-30, 12:37
👁 Δ 12 2015-10-29, 14:05
👁 Δ 11 2015-09-05, 11:22
👁 Δ 10 2015-09-05, 11:22
👁 Δ 9 2015-09-05, 11:16
👁 Δ 8 2015-09-05, 11:16
👁 Δ 7 2015-09-03, 16:34
👁 Δ 6 2015-08-23, 11:05
👁 Δ 5 2015-08-22, 10:11
👁 Δ 4 2015-08-20, 17:18
👁 Δ 3 2015-08-20, 17:17
👁 Δ 2 2015-07-31, 20:08
1 2015-05-06, 21:04