Add SRFI 124 interface to Chibi's ephemerons.

(Note that although Chibi's implementation of proper ephemerons is not
complete, it still counts as an implementation of SRFI 124, which even
allows a trivial implementation.)
This commit is contained in:
Marc Nieper-Wißkirchen 2016-06-10 18:40:25 +02:00
parent 9c14ee2dea
commit 00d50d59f5

4
lib/srfi/124.sld Normal file
View file

@ -0,0 +1,4 @@
(define-library (srfi 124)
(export make-ephemeron ephemeron? ephemeron-broken?
ephemeron-key ephemeron-datum)
(import (rename (chibi weak) (ephemeron-value ephemeron-datum))))