I have a record type, SOME-RT, and am implementing operations for
it. As a habit, I keep putting an 'assert' _expression_ at the
beginning of each procedure.
(define (some-rt-some-op param1)
(assert (some-rt? param1) ...)
However, I doubt if I'm doing things the idiomatic way. Is this the
approach you seasoned CHICKEN'ers would take as well? TIA,
--
Bahman Movaqar
http://BahmanM.com - https://twitter.com/bahman__m
https://github.com/bahmanm - https://gist.github.com/bahmanm
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
|