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