Debian Codegraph @

%3a19/time/not-implemented.sls

raw
1 #!r6rs
2 ;; Copyright 2010 Derick Eddington. My MIT-style license is in the file named
3 ;; LICENSE from the original collection this file is distributed with.
4
5 (library (srfi :19 time not-implemented)
6 (export
7 cumulative-thread-time
8 cumulative-process-time
9 cumulative-gc-time)
10 (import
11 (rnrs base))
12
13 (define (NI who)
14 (lambda _ (assertion-violation who "not implemented")))
15
16 (define-syntax not-implemented
17 (syntax-rules ()
18 ((_ name ...)
19 (begin
20 (define name (NI 'name))
21 ...))))
22
23 (not-implemented
24 cumulative-thread-time
25 cumulative-process-time
26 cumulative-gc-time)
27 )