Browse Source

Add some comments

Getty Ritter 3 years ago
parent
commit
10c93a0eee
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core.rkt

+ 2 - 0
core.rkt

@@ -82,12 +82,14 @@
 (define-syntax-rule [define-oracle name . table]
   (define name (oracle (quote table))))
 
+;; create an asset
 (define (asset name table)
   (define (mk-feature feature)
     (list (car feature) (smart-string-append (cdr feature))))
   (let [(stuff (map mk-feature table))]
     `(asset ,name ,stuff)))
 
+;; concatenate strings, adding whitespace if necessary
 (define (smart-string-append list)
   (define (ensure-leading-space str)
     (if (char-whitespace? (string-ref str 0))