aboutsummaryrefslogtreecommitdiff
path: root/guile/starlet/utils.scm
blob: 13ee58554ca86b90e6cf3af6ac9e6aaa09852f7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(define-module (starlet utils)
  #:export (return-unspecified
            print-hash-table))


(define (return-unspecified)
  (if #f 1))

(define (print-hash-table ht)
  (hash-for-each (lambda (key value)
                   (display key)
                   (display " ---> ")
                   (display value)
                   (newline))
                 ht))