Print and cut these out, for use with the unplugged "function composition" activity.
; double : Number -> Number
; consumes a number, and produces a number that is twice as big
|
; half : Number -> Number
; consumes a number, and produces a number that is half the input
|
; add5 : Number -> Number
; consumes a number, adds five, and produces the result
|
; sub10 : Number -> Number
; consumes a number, subtracts ten, and produces the result
|
; sqr : Number -> Image
; consumes a number, squares it, and produces the result
|
; neg : Number -> Number
; consumes a number, multiplies it by -1, and produces the result
|
; add6 : Number -> Number
; consumes a number, adds six, and produces the result
|
; sub7 : Number -> Number
; consumes a number, subtracts seven, and produces the result
|
; add1 : Number -> Number
; consumes a number, adds one, and produces the result
|
; sub1 : Number -> Number
; consumes a number, subtracts one, and produces the result
|
These materials were developed partly through support of the National Science Foundation,
(awards 1042210, 1535276, 1648684, and 1738598).
Bootstrap:Algebra by Emmanuel Schanzer, Jen Poole, Ed Campos Jr, Flannery Denny, and Dorai Sitaram
is licensed under a
Creative Commons 4.0 Unported License.
Based on a work at www.BootstrapWorld.org.
Permissions beyond the scope of this license may be available by contacting
schanzer@BootstrapWorld.org.