[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
defining `app' breaks modules
From: |
Kevin Ryde |
Subject: |
defining `app' breaks modules |
Date: |
Fri, 21 Feb 2003 09:50:47 +1000 |
User-agent: |
Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-pc-linux-gnu) |
In guile 1.6.3 on a recent i386 debian, I was foolish enough to make a
define of "app", promptly breaking use-modules. For example,
(define app "my application name")
(use-modules (ice-9 rdelim))
gives
standard input:2:1: In expression (eval-case (# #) (else #)):
standard input:2:1: not-a-record "my application name"
ABORT: (misc-error)
It'd be nice if the module system implementation could protect itself
against such stray defines. I guess there's a lot of things in
boot-9.scm that could be upset, but "app" seems a particularly
unfortunate one, since it's short and rather natural for some sort of
application thing.
- defining `app' breaks modules,
Kevin Ryde <=