61 lines
1.9 KiB
Scheme
61 lines
1.9 KiB
Scheme
|
|
(library (ikarus not-yet-implemented)
|
|
(export
|
|
bitwise-reverse-bit-field
|
|
bitwise-rotate-bit-field fxreverse-bit-field
|
|
make-custom-binary-input/output-port
|
|
make-custom-textual-input/output-port
|
|
open-file-input/output-port output-port-buffer-mode
|
|
port-has-set-port-position!?
|
|
set-port-position!
|
|
make-eqv-hashtable equal-hash
|
|
)
|
|
|
|
(import (except (ikarus)
|
|
bitwise-reverse-bit-field
|
|
bitwise-rotate-bit-field fxreverse-bit-field
|
|
make-custom-binary-input/output-port
|
|
make-custom-textual-input/output-port
|
|
open-file-input/output-port output-port-buffer-mode
|
|
port-has-set-port-position!?
|
|
set-port-position!
|
|
make-eqv-hashtable equal-hash
|
|
))
|
|
|
|
(define-syntax not-yet
|
|
(syntax-rules ()
|
|
[(_ x* ...)
|
|
(begin
|
|
(define (bug op)
|
|
(define-condition-type &url &condition
|
|
make-url-condition
|
|
url-condition?
|
|
(url condition-url))
|
|
(raise
|
|
(condition
|
|
(make-error)
|
|
(make-who-condition 'ikarus)
|
|
(make-message-condition "primitive not supported yet")
|
|
(make-message-condition
|
|
"please file a bug report to help us prioritize our goals")
|
|
(make-url-condition
|
|
"https://bugs.launchpad.net/ikarus/+filebug")
|
|
(make-irritants-condition (list op)))))
|
|
(define (x* . args) (bug 'x*))
|
|
...)]))
|
|
|
|
(not-yet
|
|
;;; should be implemented
|
|
bitwise-rotate-bit-field bitwise-reverse-bit-field
|
|
fxreverse-bit-field
|
|
;;; not top priority at the moment
|
|
make-eqv-hashtable equal-hash
|
|
;;; won't be implemented
|
|
make-custom-binary-input/output-port
|
|
make-custom-textual-input/output-port
|
|
open-file-input/output-port
|
|
output-port-buffer-mode
|
|
port-has-set-port-position!? set-port-position! ))
|
|
|
|
|