Commit Graph

10 Commits

Author SHA1 Message Date
sperber cb9f440657 Import sort code from s48-tuebingen/trunk, rev 573. 2004-01-22 19:52:15 +00:00
mainzelm 90ea0cf502 Fixed implementation of STRING-CONTAINS by using the commented out
"slow & simple" version instead of calling the KMP searcher.

See http://srfi.schemers.org/srfi-13/post-mail-archive/msg00003.html

I fixed the mentioned "off-by-one error" by using <= instead of < at
the termination check.
2004-01-13 15:37:35 +00:00
mainzelm eb9410cc44 Fix bug in S48_RECORD_TYPE: third parameter to s48_stob_ref was missing. 2004-01-13 12:08:28 +00:00
mainzelm ba5cdcf6fb Removed infix directory. It has a non-free copyright and will
therefore be removed from S48 as well.
2003-11-12 11:11:55 +00:00
mainzelm b1cc92b55f Added SRFI-42 2003-10-24 08:34:38 +00:00
mainzelm b7bb1fa2e5 Subject: Extend type<->sexp conversion to variable type
type->sexp was not capable of converting the variable type to a
sexp. This caused problems if the module system wanted to tell the
user that the types of exported bindings did not match:

config> (define-structure foo (export (bar :syntax)) (open scheme) (begin (define bar 1)))
; no values returned
config> ,user
> ,open foo

Error: exception
       wrong-type-argument
       (checked-record-ref '(variable #{Type :value #f #f}) '#{Record-type 14 meta-type} 1)

I've now extended TYPE->SEXP by a check for the variable type and let
it produce a list with 'VARIABLE as first and the actual type as
second element. Likewise, I extended SEXP->TYPE to produce a variable
type if 'VARIABEL is the first element of a list.

This seems to work but a second look by someone who really understands
the type system would be appreciated.

(Merge from s48 rev 423)
2003-08-04 07:31:33 +00:00
mainzelm 8805f7b7cc check-nargs= --> protocol 2003-05-05 06:37:45 +00:00
mainzelm 3e397f65c5 GC_PROTECT some variables. 2003-05-01 10:21:33 +00:00
marting 37210efdc5 Imported scheme48-0.53 sources as base 1999-09-14 12:45:00 +00:00
marting 606245fc41 *** empty log message *** 1999-09-14 12:45:02 +00:00