[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] Proposal for procedures currently undecided regarding
From: |
felix . winkelmann |
Subject: |
[Chicken-hackers] Proposal for procedures currently undecided regarding module |
Date: |
Tue, 25 Jul 2017 14:04:14 +0200 |
Hi!
We looked at [1] once more, and to speed up the modularization task
for CHICKEN 5, here is a proposal from us regarding the undecided identifiers.
Comments are welcome.
(chicken base): leave as is, but adding
alist-ref alist-update alist-update! rassoc
atom? butlast chop compress flatten intersperse join list-of? tail?
constantly complement compose conjoin disjoin each flip identity o
use require-library require-extension
move "quit" + "reset" + "reset-handler" from (chicken base) to (chicken repl).
move "print-error-message" + "error-message" from (chicken base) to (chicken
condition).
drop: any? (can be replaced with "constantly")
(chicken blob): (taken from (chicken base))
blob->string string->blob blob? blob=? blob-size make-blob
(chicken plist):
remprop! get put! symbol-plist get-properties
(chicken memory representation):
block-ref block-set! extend-procedure extended-procedure?
make-record-instance mutate-procedure! number-of-bytes number-of-slots
object-become! object-copy procedure-data record->vector record-instance-length
record-instance-slot record-instance-slot-set! record-instance-type
record-instance? set-procedure-data! vector-like?
(chicken type):
: the assume define-type define-specialization compiler-typecase
Use these as proposed in [1]:
(chicken sort):
merge sort sort! sorted? topological-sort
(chicken string):
->string conc string-chop string-chomp string-compare3 string-compare3-ci
reverse-string-append string-intersperse string-split string-translate
string-translate* substring=? substring-ci=? substring-index substring-index-ci
reverse-list->string
felix + Peter
[1] http://wiki.call-cc.org/core-libraries-reorganization
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-hackers] Proposal for procedures currently undecided regarding module,
felix . winkelmann <=