Re: Request for assistance: (assertion-violation) unbound variable

2017-06-10 Thread Alex Vong
Peter Silcock writes: > As a newcomer to Guile/Scheme, I am working my way through some > exercises which require the use of an (assertion-violation) procedure > to trap an error condition, specifically: > > (if (empty? queue) > (assertion-violation 'getq "Queue is empty"))) > > When I run th

Re: Request for assistance: (assertion-violation) unbound variable

2017-06-08 Thread Peter Silcock
Many thanks for your assistance. Peter.

Request for assistance: (assertion-violation) unbound variable

2017-06-08 Thread Peter Silcock
As a newcomer to Guile/Scheme, I am working my way through some exercises which require the use of an (assertion-violation) procedure to trap an error condition, specifically: (if (empty? queue) (assertion-violation 'getq "Queue is empty"))) When I run the code (which I have checked with the