Zelphir Kaltstahl fc4850f1dc add contracts | vor 1 Jahr | |
---|---|---|
.. | ||
ck-base.scm | vor 1 Jahr | |
ck-extra.scm | vor 1 Jahr | |
contract.scm | vor 1 Jahr | |
exceptions.scm | vor 1 Jahr | |
readme.org | vor 1 Jahr | |
test.scm | vor 1 Jahr |
This example contains an implementation of a contract system. It uses CK style macros to implement contracts. 1[Oleg Kiselyov's page about them]]]
This is still work in progress.
See test.scm
for usage examples.
(use-modules (system base ck))
CK macrosApparently Guile already has the CK macro stuff built-in. Consider switching to that, instead of defining them in this repository.