RT Happe | 14 Jul 2003 06:46
Picon

Hiding exports by precedence

I often want to import all bindings from several structures deciding
name clashes by precedence rather than by explicit hiding, i.e. just
what (open srfi-1 scheme) currently does.  As the manual says,
"a name's binding is always taken from the structure that is listed
first within the open clause.  This may be fixed in the future."
I would prefer this behaviour to be legalised (or assigned to a
special form).

rthappe

Picon

Re: Hiding exports by precedence

>>>>> "RT" == RT Happe <rthappe <at> web.de> writes:

RT> I often want to import all bindings from several structures deciding
RT> name clashes by precedence rather than by explicit hiding, i.e. just
RT> what (open srfi-1 scheme) currently does.  As the manual says,
RT> "a name's binding is always taken from the structure that is listed
RT> first within the open clause.  This may be fixed in the future."
RT> I would prefer this behaviour to be legalised (or assigned to a
RT> special form).

That seems to be a sure-fire recipe for legalized pain and suffering:
It sure has caused a lot of it in scsh development.  (The real problem
is with Olin's hideous redefinition of R5RS primitives, not the way
the module system should behave.)

--

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

Dante D. Dinawanao | 15 Jul 2003 13:24
Picon

kali manuals

Hi,

Where can i possibly download the user/reference manual of Kali Scheme?

Thanks.

--

-- 
Dante D. Dinawanao
Senior Systems and Network Administrator
Information and Communications Technology Center
MSU-Iligan Institute of Technology

___________________________________________________________________________
Committed to Excellence in Science and Technology http://www.msuiit.edu.ph/
Are you a student of MSU-IIT? Log on http://my.msuiit.edu.ph/ and sign up
for your My.MSUIIT E-mail Plus account now!

RT Happe | 16 Jul 2003 08:10
Picon

Re: Hiding exports by precedence


Michael Sperber [Mr. Preprocessor] wrote:

>>>>>> "RT" == RT Happe <rthappe <at> web.de> writes:
>
> RT> I often want to import all bindings from several structures 
> deciding
> RT> name clashes by precedence rather than by explicit hiding, (...)
> RT> I would prefer this behaviour to be legalised (or assigned to a
> RT> special form).
>
> That seems to be a sure-fire recipe for legalized pain and suffering:
> It sure has caused a lot of it in scsh development.  (The real problem
> is with Olin's hideous redefinition of R5RS primitives, not the way
> the module system should behave.)

I find redefinitions that don't change the meaning of previously
supported calls rather benign and even desirable, at times.
Extensions named like list-copy/optionals wouldn't be much enticing
(but not too cumbersome either).

rthappe

Picon

Re: Hiding exports by precedence

>>>>> "RT" == RT Happe <rthappe <at> web.de> writes:

RT> I find redefinitions that don't change the meaning of previously
RT> supported calls rather benign and even desirable, at times.
RT> Extensions named like list-copy/optionals wouldn't be much enticing
RT> (but not too cumbersome either).

It still causes pain when your impression of which one you're looking
at is mistaken.

--

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

Ivan Shmakov | 26 Jul 2003 15:45
Picon

scheme48-0.57/scheme/posix/func-regexp.scm seems to have a bug

	The bug can be triggered as in:

$ scheme48
Welcome to Scheme 48 0.57 (made by root on Fri Sep 21 10:41:48 NOVST 2001).
Copyright (c) 1993-2001 by Richard Kelsey and Jonathan Rees.
Please report bugs to scheme-48-bugs <at> martigny.ai.mit.edu.
Type ,? (comma question-mark) for help.
> ,open regexps
> (match (set "123")
         "2")

Error: exception
       wrong-type-argument
       (char=? '#{Unspecific} #\{)
1> 

	An investigation of the problem reveals this:

Top level
> ,in regexps
regexps> (char-list-≥string '((49 . 51)))
#{Unspecific}
regexps> 

	I think that the problem is in char-list-≥string:

   793	(define (char-list-≥string ranges)
   794	  (if (and (null? (cdr ranges))
   795		   (= (caar ranges)
   796		      (cdar ranges)))
(Continue reading)

Michael Sperber | 26 Jul 2003 23:03
Picon

Re: scheme48-0.57/scheme/posix/func-regexp.scm seems to have a bug


Thanks for the report; the problem was already fixed in the
development code, and the fix will be in the next release.

>>>>> "Ivan" == Ivan Shmakov <ivan <at> theory.dcn-asu.ru> writes:

Ivan> PS.  Is there publicity-accessible archive for the `scheme-48-bugs'
Ivan> 	mailing list?

No; there generally isn't enough traffic to justify that :-)

--

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


Gmane