Rolf-Thomas Happe | 26 Dec 1997 19:58
Picon
Favicon

delete (big-scheme)

Scsh 0.5 ;; that's 0.5.1
> ,open big-scheme
Load structure big-scheme (y/n)? y
[snip]
> (delete number? '(a 1 b 2 3 c 4))
'(a b 2 3 c 4)

Yet big-scheme.txt says:
  (DELETE <predicate> <list>) => <list>
    [...]
    reuse the storage of the list argument.  DELETE removes all elements
    for which <predicate> is true.

rthappe

Dmitrii Pasechnik | 26 Dec 1997 23:34
Picon
Picon

Re: delete (big-scheme)

	Date: Fri, 26 Dec 1997 19:58:48 +0100 (MET)
	From: Rolf-Thomas Happe <rthappe <at> mathematik.uni-freiburg.de>
	Message-Id: <199712261858.TAA27355 <at> bonnie.mathematik.uni-freiburg.de>
	To: scheme48-bugs <at> martigny.ai.mit.edu
	Subject: delete (big-scheme)
	
	Scsh 0.5 ;; that's 0.5.1
	> ,open big-scheme
	Load structure big-scheme (y/n)? y
	[snip]
	> (delete number? '(a 1 b 2 3 c 4))
	'(a b 2 3 c 4)
	
	Yet big-scheme.txt says:
	  (DELETE <predicate> <list>) => <list>
	    [...]
	    reuse the storage of the list argument.  DELETE removes all elements
	    for which <predicate> is true.
	
This seems to be a scsh bug - 
-------------------------------------------
Welcome to Scheme 48 0.48 (made by dima on Sat Nov 15 00:18:33 GMT 1997).
[..]
> ,open big-scheme
Load structure big-scheme (y/n)? y
[...]
> (delete number? '(a 1 b 2 3 c 4))
'(a b c)

d.pasechnik <at> twi.tudelft.nl
(Continue reading)

Alan Bawden | 28 Dec 1997 09:44
Picon

Integer Hash Tables

   Welcome to Scheme 48 0.46 (made by alan on Sun Dec 28 03:14:53 EST 1997).

(Is this the latest version?  It's the latest version on ftp-swiss, but I
could have sworn I saw someone using a version 0.48 recently...)

   Copyright (c) 1993, 1994 by Richard Kelsey and Jonathan Rees.
   Copyright (c) 1996 by NEC Research Institute, Inc.
   Please report bugs to scheme-48-bugs <at> martigny.ai.mit.edu.
   Type ,? (comma question-mark) for help.
   > ,open tables
   > (define t (make-integer-table))
   > (let loop ((i 0)) (display i) (newline) (table-set! t i i) (loop (- i 1)))
   0
   -1
   -2
   -3
   -4
   -5
   -6
   -7
   -8
   -9
   -10
   -11
   -12
   -13
   -14
   -15

   Error: exception
(Continue reading)

Dmitrii Pasechnik | 29 Dec 1997 18:04
Picon
Picon

building scheme48 without setitimer ?

A system I'm trying to build scheme48-0.49 on (Unicos on Cray J90) doesn't have
the function setitimer.

However, even though c/sysdep.h produced by configure 
says #undef HAVE_SETITIMER,
this seems to have no effect on the compilation.
(as a matter of fact, I don't see HAVE_SETITIMER tested anywhere
in the source...)

How can this be fixed?

Thanks in advance,
Dmitrii.
d.pasechnik <at> twi.tudelft.nl

-----------------------
PS. I get the following:

 Unsatisfied external references
 Entry name      Modules referencing entry 

 setitimer       event$c

 ldr-112 cc: WARNING 
     Because of previous errors, file 'scheme48vm' is not executable.
make: *** [scheme48vm] Error 1
-------------------------
PPS. In fact, the story is more complicated: the linker
produces just a warning when it gets an unsatisfied external reference.
Thus configure is not working properly when it comes to detect
(Continue reading)

Ian Horswill | 29 Dec 1997 17:40
Picon

building scheme48 without setitimer ?

The simplest thing to do would be to write your own setiitimer
procedure.  All setitimer does is schedule a periodic interrupt.  It's
basically a better version of the old alarm system call that allows
you to choose between counting in real time and counting used CPU
time, to set a timer to go off at regular intervals, and use
scheduling intervals of less than a second.

-ian
>From dima <at> duti515a.twi.tudelft.nl Tue Dec 30 13:08:10 1997
Received: from duti515a.twi.tudelft.nl by martigny.ai.mit.edu with ESMTP
	(1.40.112.8/16.2) id AA005875290; Tue, 30 Dec 1997 13:08:10 -0500
Return-Path: <dima <at> duti515a.twi.tudelft.nl>
Received: by duti515a.twi.tudelft.nl
	id m0xn778-0004ShC
	(Debian Smail-3.2 1996-Jul-4 #2); Tue, 30 Dec 1997 20:14:06 +0100 (CET)
Message-Id: <m0xn778-0004ShC <at> duti515a.twi.tudelft.nl>
Date: Tue, 30 Dec 1997 20:14:06 +0100 (CET)
From: Dmitrii Pasechnik <dima <at> duti515a.twi.tudelft.nl>
To: ian <at> ils.nwu.edu
Cc: dima <at> duti515a.twi.tudelft.nl, scheme48-bugs <at> martigny.ai.mit.edu
In-Reply-To: <199712291640.KAA32350 <at> ianpc.ils.nwu.edu> (message from Ian
	Horswill on Mon, 29 Dec 1997 10:40:01 -0600)
Subject: Re: building scheme48 without setitimer ? tests, please?

   Date: Mon, 29 Dec 1997 10:40:01 -0600
   From: Ian Horswill <ian <at> ils.nwu.edu>

   The simplest thing to do would be to write your own setiitimer
   procedure.  All setitimer does is schedule a periodic interrupt.  It's
   basically a better version of the old alarm system call that allows
(Continue reading)


Gmane