You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
264 B

  1. ;; (define-module math
  2. ;; :exports
  3. ;; (pi tau pow sqrt)
  4. ;; (define pi 3.1415)
  5. ;; (define tau (* 2 pi))
  6. ;; (define (pow a b) (** a b))
  7. ;; (define (sqrt a) (** a 0.5)))
  8. ;; (assert (= math::pi 3.1415))
  9. ;; (assert (= math::tau (* 2 math::tau)))
  10. (1 2 3)