YAPC::EU 2018 Glasgow Update!
This commit is contained in:
parent
22f33d4004
commit
4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions
|
|
@ -1,7 +1,5 @@
|
|||
REBOL [
|
||||
Title: "Functional Composition"
|
||||
Author: oofoe
|
||||
Date: 2009-12-06
|
||||
URL: http://rosettacode.org/wiki/Functional_Composition
|
||||
]
|
||||
|
||||
|
|
|
|||
13
Task/Function-composition/Ring/function-composition.ring
Normal file
13
Task/Function-composition/Ring/function-composition.ring
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Project : Function composition
|
||||
|
||||
sumprod = func1(:func2,2,3)
|
||||
see sumprod + nl
|
||||
|
||||
func func1(func2,x,y)
|
||||
temp = call func2(x,y)
|
||||
res = temp + x + y
|
||||
return res
|
||||
|
||||
func func2(x,y)
|
||||
res = x * y
|
||||
return res
|
||||
Loading…
Add table
Add a link
Reference in a new issue