From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Peter Silcock Newsgroups: gmane.lisp.guile.user Subject: Request for assistance: (assertion-violation) unbound variable Date: Thu, 08 Jun 2017 11:28:57 +0100 Message-ID: <1496917737.4841.1.camel@fastmail.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1496917857 32240 195.159.176.226 (8 Jun 2017 10:30:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Jun 2017 10:30:57 +0000 (UTC) To: Guile Mailing List Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jun 08 12:30:53 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIuiJ-00086n-Uy for guile-user@m.gmane.org; Thu, 08 Jun 2017 12:30:52 +0200 Original-Received: from localhost ([::1]:48551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIuiP-0006ZF-4l for guile-user@m.gmane.org; Thu, 08 Jun 2017 06:30:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIui4-0006Yy-4l for guile-user@gnu.org; Thu, 08 Jun 2017 06:30:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIui0-0003rY-3e for guile-user@gnu.org; Thu, 08 Jun 2017 06:30:36 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37601) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dIuhz-0003rU-F4 for guile-user@gnu.org; Thu, 08 Jun 2017 06:30:32 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 416F920A35 for ; Thu, 8 Jun 2017 06:30:30 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Thu, 08 Jun 2017 06:30:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.uk; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=w8+Eqk1efevFoEePjgQqAKNz2S9sAIwyat1mSjkMS 6I=; b=RcNSTz1R+fGpbkchYgV4681f/KHKlkpCsGQgJFHFCwV/XxzkhGtdnnHax G7Immf12OM1/t6gvTlnIaFXmQde44ynJkAf64Kkm5ep4QJWeINvkfDNZINyh+sCe At8VSUDiHv85sMnhn5CtcuTH62JBvgIGiVz5edNgEcUp3oXpY1QDmaNLHfum9e2z 5uH/EEr7IWw1YDtPcjD//KQshkFI3H/paRYZoxQXCOEjvw2dY6fMMYCVd0el/SME A+bh+ektXBejfzBk/p6YjKwSTCKBLUz3YMHUBti30WyqGZ3mzWVRw3ltU9co2lvP OUFuizKjkhg+WGSsvSGRi/hRGDK9w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=w8+Eqk1efevFoEePjg QqAKNz2S9sAIwyat1mSjkMS6I=; b=G9c6CvWYzXkqS7sWM7lcCBs92dpWQ9y/bA iQVTb0qtOUQL93Fc4kRaaIzZ12LqmMW4SMjpd3jXOJ2JC57g6wZDt2U+W+VwKyaX FzkD1DClKG29UNqOANxuxIRquF/J7h1cRnk9cihccFZABaFP0cd4AWvPO77zV2Q/ eNoftU9ZjaO8LKLQ8BVeFwkwSXgIuS0W7OTsKJCqEgc+JGl90x1B4+nbQ+CrjFIu I9EhVj18tWE9xDyj6bfig4Y5CfVDZdVhLYa3MZUWFGf+iovTCxvhzyYnFyqSHPTL xFsHdQy4EfcmmCqGNepsDK0aTqERTcWUR/rb4XWv08mjM28PO1rw== X-ME-Sender: X-Sasl-enc: 7lcCD05TTj8xKZ5CvaBUcEgYuMgYWAHD6TUCEwRPCmh9 1496917739 Original-Received: from servus (host86-148-23-142.range86-148.btcentralplus.com [86.148.23.142]) by mail.messagingengine.com (Postfix) with ESMTPA id 478132475E for ; Thu, 8 Jun 2017 06:28:59 -0400 (EDT) X-Mailer: Evolution 3.22.6-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.25 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13779 Archived-At: 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 answer given in the book), I am presented with the following output: "In procedure module- lookup: Unbound variable: assertion-violation." So far I have found no pointers to a solution in the reference manual or on the web. My assumption is that I am missing a module or library from somewhere, but don't know how to set about identifying it. Chicken Scheme also responds with the same error. Guile version 2.0.13 on Debian Stretch 4.9.0-3-amd64. Any suggestions please? Thanks in anticipation, Peter Silcock