Week6 functions as Values

 0    4 informačný list    up804653
stiahnuť mp3 vytlačiť hrať Skontrolujte sa
 
otázka English Odpoveď English
haskel uses the composition operator (.) for what?
začať sa učiť
The composition operator allows us to easily define functions just in terms of other functions. For example we can replace the definition: twice f x = f (f x) with: twice f = f. f
what is a higher order function?
začať sa učiť
a function that does at least one of the following: takes one or more functions as arguments (i.e., procedural parameters), returns a function as its result
what is mapping?
začať sa učiť
it means matching items from one set with items in another set - or it means performing a function on each item in one set to get a new corresponding set.
what is filtering?
začať sa učiť
Keep only the elements of a certain property

Ak chcete pridať komentár, musíte byť prihlásený.