aboutsummaryrefslogtreecommitdiff
path: root/algebraic-structures.private.number.sum.scm
blob: 7931db31b725985f77e9a1c2cfdc29041ed7ebb8 (about) (plain)
1
2
3
4
5
6
7
8
(module (algebraic-structures private number sum) (op unit inv)
  (import scheme)

  (define (op x y) (+ x y))

  (define unit 0)

  (define (inv x) (- x)))