Zelphir Kaltstahl fc4850f1dc add contracts | il y a 1 an | |
---|---|---|
.. | ||
ck-base.scm | il y a 1 an | |
ck-extra.scm | il y a 1 an | |
contract.scm | il y a 1 an | |
exceptions.scm | il y a 1 an | |
readme.org | il y a 1 an | |
test.scm | il y a 1 an |
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.