add docstrings

This commit is contained in:
Quentin Leonetti
2019-07-15 22:26:09 +02:00
parent 2e4dcf08d8
commit e8bc9d0ddc
2 changed files with 20 additions and 6 deletions

View File

@@ -48,6 +48,8 @@
(test "def - func" (addOne 4) 5)
(defn addTwo (a) (add 2 a))
(test "defn" (addTwo 4) 6)
(defn mulTwo "multiplies by two" (a) (mul 2 a))
(test "docstring" (mulTwo 4) 8)
; Generics