Re: SRFI 236 and assert procedure
Jakub T. Jankiewicz 24 Sep 2022 10:54 UTC
The same is with SRFI-102 https://srfi.schemers.org/srfi-102/srfi-102.html
This function is trivial to implement but from the
Spec I expect that everything that is used in code of SRFI should be defined
somewhere.
On Sat, 24 Sep 2022 12:50:55 +0200
"Jakub T. Jankiewicz" <xxxxxx@onet.pl> wrote:
> on this SRFI there is code:
>
> (define set-car+cdr!
> (lambda (p x y)
> (assert (pair? p))
> (perform
> (set-car! p x)
> (set-cdr! p y))))
>
>
> But I can't find assert procedure anywhere, it's not in R7RS. I've only
> found this SRFI but the name is test-assert in SRFI-64
>
> https://srfi.schemers.org/srfi-64/srfi-64.html
>
> So where this procedure is defined?
>
--
Jakub T. Jankiewicz, Senior Front-End Developer
https://jcubic.pl/me