Jump to content

Function composition: Difference between revisions

m
Line 226:
script
on |λ|(x)
script go
on |λ|(a, f)
mReturn(f)'s |λ|(a)
Line 232:
end script
foldr(resultgo, x, fs)
end |λ|
end script
Line 252:
 
on run
tell compose([half, succ, root])'s |λ|(5)
compose([half, succ, root])'s |λ|(5)
|λ|(5)
end tell
--> 1.61803398875
end run
9,655

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.