Talk:First-class functions: Difference between revisions

The Ursala example seems to have missed out the creation of a compose function
(The Ursala example seems to have missed out the creation of a compose function)
Line 79:
:The task was written to introduce the concept of a language having first class functions and then to write a task that would show if the language had first class functions. Changing a functions name or parameter count are not normally taken as signs of functions being first class in a language. I took 'classic' traits then tried to create a task that would need them, but it is the idea of treating functions as any other datatype that I wanted to convey.
:Most languages would allow you to take integers from two lists in pairs and apply the addition function on them. The task asks you to put, and then take functions from lists in a similar way and apply the compose function between them. <br>Duck typing is a separate topic and should not be confused with this. --[[User:Paddy3118|Paddy3118]] 23:10, 5 June 2009 (UTC)
 
==Ursala example has no compose function==
The Ursala example seems to have missed out the creation of a compose function in its example.--[[User:Paddy3118|Paddy3118]] 19:17, 24 June 2009 (UTC)
Anonymous user