curried function
Transcription
-
- US Pronunciation
- US IPA
-
-
- US Pronunciation
- US IPA
-
Definition of curried function words
- noun Technical meaning of curried function (mathematics, programming) A function of N arguments that is considered as a function of one argument which returns another function of N-1 arguments. E.g. in Haskell we can define: average :: Int -> (Int -> Int) (The parentheses are optional). A partial application of average, to one Int, e.g. (average 4), returns a function of type (Int -> Int) which averages its argument with 4. In uncurried languages a function must always be applied to all its arguments but a partial application can be represented using a lambda abstraction: \ x -> average(4,x) Currying is necessary if full laziness is to be applied to functional sub-expressions. It was named after the logician Haskell Curry but the 19th-century logician, Gottlob Frege was the first to propose it and it was first referred to in ["Uber die Bausteine der mathematischen Logik", M. Schoenfinkel, Mathematische Annalen. Vol 92 (1924)]. Stefan Kahrs <[email protected]> reported hearing somebody in Germany trying to introduce "scho"nen" for currying and "finkeln" for "uncurrying". The verb "scho"nen" means "to beautify"; "finkeln" isn't a German word, but it suggests "to fiddle". 1
Information block about the term
Parts of speech for Curried function
noun
adjective
verb
adverb
pronoun
preposition
conjunction
determiner
exclamation
See also
Matching words
- Words starting with c
- Words starting with cu
- Words starting with cur
- Words starting with curr
- Words starting with curri
- Words starting with currie
- Words starting with curried
- Words starting with curriedf
- Words starting with curriedfu
- Words starting with curriedfun
- Words starting with curriedfunc
- Words starting with curriedfunct
- Words starting with curriedfuncti
- Words starting with curriedfunctio
Was this page helpful?
Thank you for your feedback! Tell your friends about this page
Tell us why?