June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -0,0 +1,12 @@
|
|||
fs(f, s) = map(f, s)
|
||||
f1(x) = 2x
|
||||
f2(x) = x^2
|
||||
fsf1(s) = fs(f1, s)
|
||||
fsf2(s) = fs(f2, s)
|
||||
|
||||
s1 = [0, 1, 2 ,3]
|
||||
s2 = [2, 4, 6, 8]
|
||||
println("fsf1 of s1 is $(fsf1(s1))")
|
||||
println("fsf2 of s1 is $(fsf2(s1))")
|
||||
println("fsf1 of s2 is $(fsf1(s2))")
|
||||
println("fsf2 of s2 is $(fsf2(s2))")
|
||||
Loading…
Add table
Add a link
Reference in a new issue