|
%!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
ck-base.scm | %!s(int64=2) %!d(string=hai) anos | |
ck-extra.scm | %!s(int64=2) %!d(string=hai) anos | |
contract.scm | %!s(int64=2) %!d(string=hai) anos | |
exceptions.scm | %!s(int64=2) %!d(string=hai) anos | |
readme.org | %!s(int64=2) %!d(string=hai) anos | |
test.scm | %!s(int64=2) %!d(string=hai) anos |
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.