time for bed

This commit is contained in:
Erik Svedäng 2016-03-03 23:29:47 +01:00
parent 0464ea300a
commit fed784a166

View File

@ -127,12 +127,14 @@
(defn x2 [x]
(* x 2))
(defn x2f [x]
(* x 2.0))
(defn mapping []
(map x2 [1 2 3 4 5]))
(bake mapping)
(defn x2f [x]
(* x 2.0))
(defn mapping-floats []
(map x2f [10.0 20.0 30.0 40.0 50.0]))