Re: [Chicken-users] Question about set-car! and set-cdr!

2014-03-06 Thread Ivan Shmakov
Daniel Carrera dcarr...@gmail.com writes: Jörg F. Wittenberger joerg.wittenber...@softeyes.net wrote: Am 06.03.2014 09:05, schrieb Daniel Carrera: I have recently learned about set-car! and set-cdr! which eventually led me to learn about how Racket removed them years ago for the reasons

Re: [Chicken-users] Combine chicken-bin, libchicken-dev, libchicken6, into a single chicken package?

2014-02-07 Thread Ivan Shmakov
Peter Bex peter@xs4all.nl writes: On Fri, Feb 07, 2014 at 03:57:00PM -0500, Andrew Pennebaker wrote: Could we make a metapackage, chicken, to simplify installation on Debian/Ubuntu? I think you need to contact the Debian project about that. There’s no need to change

Re: [Chicken-users] which RxRS?

2013-12-11 Thread Ivan Shmakov
Giorgio Flaverli flave...@aol.com writes: […] You all could have directed the same criticism to John Cowan's response (*he* reopened the flamewar), right? I waited for several hours for someone to intervene and nobody did. Mailing lists are about helping each other, and /not/

[Chicken-users] handling XML

2013-03-13 Thread Ivan Shmakov
Peter Bex peter@xs4all.nl writes: On Tue, Mar 12, 2013 at 08:15:14PM +, Ivan Shmakov wrote: […] Yet another idea is to prepare an XML document (using either notation) holding the “mostly static” part of the result, and also an XML document holding all the “repeated” (or “optional

Re: [Chicken-users] More thoughts on Ersatz

2013-03-12 Thread Ivan Shmakov
Peter Bex peter@xs4all.nl writes: On Tue, Mar 12, 2013 at 07:04:54PM +0100, Moritz Heidkamp wrote: […] This doesn't seem like a very good idea to me. You might generate invalid JSON if the values you pass into the template don't happen to have textual representations which also

Re: [Chicken-users] Cluck for Emacs

2012-10-11 Thread Ivan Shmakov
Arthur Maciel arthurmac...@gmail.com writes: I'm trying to use Cluck, but I really don't like its font colors. Is there a way to change only the colors? If so, how can I do it? M-x customize-face RET? When done while the point is at the highlighted text, it shows the

Re: [Chicken-users] Eggs list change - possible?

2012-10-04 Thread Ivan Shmakov
Arthur Maciel arthurmac...@gmail.com writes: […] And maybe also include subsections: For example: Web programming HTML |-- html-form |-- html-parser |-- html-tags |-- htmlprag Protocols |-- fastcgi |-- gopher |-- intarweb ... It

Re: [Chicken-users] spock tests

2012-09-09 Thread Ivan Shmakov
Alaric Snell-Pym ala...@snell-pym.org.uk writes: On 09/09/12 15:56, john saylor wrote: also, if the language turns out to be java, you should be worried- deeply worried ... It was saying something like Ph'nglui mglw'nafh Riastradh R'lyeh wgah'nagl fhtagn Did the program you

[Chicken-users] Re: No... but it is... interesting...

2011-03-10 Thread Ivan Shmakov
Felix fe...@call-with-current-continuation.org writes: Hello! This announces the availability of SPOCK, a Scheme-JavaScript compiler and runtime system. It can statically compile really-nearly-mostly R5RS-Scheme to JS or can be used to dynamically generate code from s-expressions

Re: [Chicken-users] list vs dotted-list

2010-11-11 Thread Ivan Shmakov
Yi DAI plm@gmail.com writes: Hi, On a recent consideration of the design of Scheme, a question comes to my mind: Why do we have both list and dotted-list, given that the former is just a special case (terminated by nil) of the latter? Can we simply live with the latter? I see it is

Re: [Chicken-users] Using the amb egg

2010-08-10 Thread Ivan Shmakov
Jeronimo Pellegrini j...@aleph0.info writes: Hi, I've installed the amb egg and could use it, but I'm a bit confused: #;1 (use amb amb-extras) ... #;2 (let ((a (amb 1 2 3)) (b (amb -1 -2 -3))) (required (= (+ a b) 0)) (list a b)) (1 -1) #;3 (let ((a (amb 1 2 3)) (b (amb -1 -2

Re: [Chicken-users] syntactically completeness / consistency

2010-03-28 Thread Ivan Shmakov
F == Felix fe...@call-with-current-continuation.org writes: F With the most recent commits (4.4.4), chicken is now consistent in F the way core forms are handled. There are no hard-coded special F forms and everything can be redefined, reexported and modified on F import. Syntax may now

[Chicken-users] Re: ... and a happy new year as well!

2010-01-07 Thread Ivan Shmakov
fw == felix winkelmann bunny...@gmail.com writes: fw cheers, felix ... And don't forget those living in certain Eastern Orthodox countries (e. g., Russia), which celebrate Christmas on December 25... using the Julian calendar. IOW, on January 7 in the common

[Chicken-users] Re: chicken core moved to git

2009-10-28 Thread Ivan Shmakov
SH == Sven Hartrumpf sven.hartru...@fernuni-hagen.de writes: SH Hi all. I could not find the git project name ... Could somebody SH provide a complete git clone ... command on the following page: SH http://chicken.wiki.br/Development SH Just for the git dummies, sorry :-( Sven

Re: [Chicken-users] CRC Calculator

2009-07-26 Thread Ivan Shmakov
b == bill ramsa...@comcast.net writes: b Hi all, Does anyone know of ready-made code for a CRC calculator in b Scheme? Do you mean cyclic redundancy checks? Apparently, SLIB has a few: http://people.csail.mit.edu/jaffer/slib_5.html#SEC122 -- FSF associate member #7257

[Chicken-users] Re: Experience of using Chicken in production environment

2009-04-15 Thread Ivan Shmakov
felix winkelmann bunny...@gmail.com writes: [...] 4. What is it? What can I do with it?? Target systems reside in separate network, there's no access to Internet, unless I setup connection via GSM modem. Thus I need to fetch all necessary files, bring them there, copy them on target

[Chicken-users] Re: Question about pipe

2009-03-11 Thread Ivan Shmakov
Lam Luu luuxuan...@gmail.com writes: Hello everyone! I am trying to write a Scheme script to drive GNU/Go through its stdin/stdout. However, there seems to be no way to create a bi-directional pipe toward another process. On the other hand, when I try to call create-pipe, the returned

[Chicken-users] Re: Github Mirror

2009-01-13 Thread Ivan Shmakov
JG == Joshua Griffith josh.griff...@gmail.com writes: JG In case anyone is interested, I've mirrored the Chicken repository JG over at GitHub using git-svn: JG http://github.com/hadronzoo/chicken-scheme/tree/master JG The clone URL is: git://github.com/hadronzoo/chicken-scheme.git JG It's

[Chicken-users] Re: happy new year!

2008-12-31 Thread Ivan Shmakov
felix winkelmann bunny...@gmail.com writes: I wish everybody a very happy new year! cheers, felix I second. Hopefully, everybody interested will have even more spare time to work with Chicken and Scheme in general in the year to come.

[Chicken-users] Re: hygienic branch (progress report, sort of)

2008-05-14 Thread Ivan Shmakov
felix winkelmann [EMAIL PROTECTED] writes: Hi! It's silent in here So, let me use this moment to give some progress info on the state of the hygienic chicken that I'm currently working on. [...] This hygienic chicken represents in my humble opinion the direction into which

[Chicken-users] Re: Chicken OSless

2008-05-01 Thread Ivan Shmakov
Shawn Rutledge [EMAIL PROTECTED] writes: I'm curious whether or not there's been work on running Chicken's binaries on a OSless piece of hardware. I've been trying to convince my boss that it would be worth while investigating dynamic languages for embedded systems. I never tried but

[Chicken-users] Re: with-open-pipe to handle sigpipe

2008-04-17 Thread Ivan Shmakov
Alan Post [EMAIL PROTECTED] writes: I'm not sure I followed you here. What's chicken's equivalent of SIG_IGN? (set-signal-handler! signal/pipe #f) Come to think of it, there's no way to set SIG_DFL. What about adding (set-default-signal-handler! signum) or changing the signature

[Chicken-users] Re: Problems with csc and csi under MinGW + MSYS

2008-03-19 Thread Ivan Shmakov
Ivan Raikov [EMAIL PROTECTED] writes: 1) After building and installing Chicken development snapshot 3.0.8, the csi REPL seems to go into an infinite loop upon startup. csi can print its version, evaluate expressions on the command line, and run scripts, but it cannot run the REPL. This

[Chicken-users] Re: Problems with csc and csi under MinGW + MSYS

2008-03-19 Thread Ivan Shmakov
Ivan Shmakov [EMAIL PROTECTED] writes: Ivan Raikov [EMAIL PROTECTED] writes: 1) After building and installing Chicken development snapshot 3.0.8, the csi REPL seems to go into an infinite loop upon startup. csi can print its version, evaluate expressions on the command line, and run

[Chicken-users] Re: Problems with csc and csi under MinGW + MSYS

2008-03-15 Thread Ivan Shmakov
Ivan Raikov [EMAIL PROTECTED] writes: Hi all, I have discovered two issues with Chicken under MinGW+MSYS running under Windows XP: 1) After building and installing Chicken development snapshot 3.0.8, the csi REPL seems to go into an infinite loop upon startup. csi can print its

[Chicken-users] Re: DESTDIR does not seem to do the right thing

2008-01-19 Thread Ivan Shmakov
Adam C Emerson [EMAIL PROTECTED] writes: Good evening, As the Debian chicken packages are a bit out of date, I'm installing Chicken from source and using GNU Stow to keep it separated in a directory of its own. BTW, you can build the Debian package out of the current Chicken

[Chicken-users] Re: Adding (system-string) somewhere

2008-01-14 Thread Ivan Shmakov
Zbigniew [EMAIL PROTECTED] writes: I am using the following code, which just takes a single string: (define (system-string cmd) (string-chomp (with-input-from-pipe cmd read-all))) First, the string-chomp is pointless unless you're reading only one line. Why chomp just the last

[Chicken-users] Re: Ending input reading without quit csi

2008-01-08 Thread Ivan Shmakov
felix winkelmann [EMAIL PROTECTED] writes: Say I write in csi somethign like (for-each-line (lambda (line) (display line))) which will read from current-input-port, Correct. how can I end the input (if I use ctrl-d, it stops csi too) ? You will have to handle it yourself.

Re: [Chicken-users] ANN: scheme-complete.el 0.3

2007-12-16 Thread Ivan Shmakov
AS == Alex Shinn [EMAIL PROTECTED] writes: On Nov 14, 2007 4:05 PM, Ivan Shmakov [EMAIL PROTECTED] wrote: Could the server be configured to send Content-Type: application/emacs-lisp Content-Transfer-Encoding: gzip s/Transfer-/, of course. instead of Content-Type

[Chicken-users] Re: Installing as non-root fails with Chicken 2.732

2007-12-06 Thread Ivan Shmakov
IIUC, the problem exists only when using the `install-info' script provided by the `dpkg' package on Debian systems (and derivatives.) I haven't checked any recent GNU Texinfo distributions, but since `/var/backups' is somewhat Debian-specific, I believe

[Chicken-users] Re: Using Format

2007-12-05 Thread Ivan Shmakov
Kon Lovett [EMAIL PROTECTED] writes: Is there an easy way to format a number with a possible leading zero using format or sprintf? In other words I want 9 to show us as 09 and 10 to show is as is. I don't think you can do it with the default format/sprintf, but with the format egg

Re: [Chicken-users] Installing as non-root fails with Chicken 2.732

2007-11-28 Thread Ivan Shmakov
felix winkelmann [EMAIL PROTECTED] writes: I tried to install chicken to my home directory: make PLATFORM=linux PREFIX=/home/tero/chicken install Seems that the installation script assumes locations that require root/sudo: install -m644 chicken.info /home/tero/chicken/share/info

Re: [Chicken-users] Installing as non-root fails with Chicken 2.732

2007-11-27 Thread Ivan Shmakov
Tero Kukola [EMAIL PROTECTED] writes: Hello, I tried to install chicken to my home directory: make PLATFORM=linux PREFIX=/home/tero/chicken install Seems that the installation script assumes locations that require root/sudo: install -m644 chicken.info /home/tero/chicken/share/info

Re: [Chicken-users] ANN: scheme-complete.el 0.3

2007-11-13 Thread Ivan Shmakov
Alex Shinn [EMAIL PROTECTED] writes: A new release 0.3 of scheme-complete.el is available at http://synthcode.com/emacs/scheme-complete.el Hm... Server down? It's back now. Try http://synthcode.com/emacs/scheme-complete.el.gz for a faster download. Could the server be

Re: [Chicken-users] ANN: scheme-complete.el 0.3

2007-11-13 Thread Ivan Shmakov
felix winkelmann [EMAIL PROTECTED] writes: On Nov 13, 2007 3:33 PM, Alex Shinn [EMAIL PROTECTED] wrote: It's back now. Try http://synthcode.com/emacs/scheme-complete.el.gz for a faster download. Thanks! Is there a way to use it even if chicken is not installed in /usr/local?

[Chicken-users] chicken/trunk in Git

2007-11-09 Thread Ivan Shmakov
I've finally got a time to introduce myself to Git. I've ran `git-svn' on the Chicken SVN repository and it seems that it improted the entire Chicken's (SVN) revision history into Git. Quite impressive! I've mirrored the resulting repository here:

Re: [Chicken-users] Packaging libraries securely

2007-09-30 Thread Ivan Shmakov
Tony Sidaway [EMAIL PROTECTED] writes: The sandbox egg will be the only thing that gives a bit of security, but it provides only a very basic Scheme dialect and is pretty slow. The only (somewhat brute-forcish) solution that comes to mind is to compile to a static executable and hack

Re: [Chicken-users] Eggology

2007-08-23 Thread Ivan Shmakov
felix winkelmann [EMAIL PROTECTED] writes: [...] Syntax-case is low-level, srfi-42 and miscmacros are control structures... This is part of what lisp is to me; layers upon layers of code. Right, this is also why all Lisp systems end up in large entangled blobs that no one can build

Re: [Chicken-users] Eggology

2007-08-22 Thread Ivan Shmakov
SR == Shawn Rutledge [EMAIL PROTECTED] writes: [...] SR I think code reuse is generally a good thing. As long as there is SR no circular dependency, what's wrong with depending on a few eggs? SR It's better than rewriting the parts you need, right? (and if your SR few dependencies each

Re: [Chicken-users] Some reorganization of Eggs Unlimited sections

2007-07-31 Thread Ivan Shmakov
Martin DeMello [EMAIL PROTECTED] writes: 5. Create section `External library interfaces' and move the following eggs to it: svn-client, mpd-client, gettext, lirc-client, geoip I think this makes no sense. There are many other 'external library interfaces'. Just have a look at the

Re: [Chicken-users] Some reorganization of Eggs Unlimited sections

2007-07-31 Thread Ivan Shmakov
felix winkelmann [EMAIL PROTECTED] writes: True enough. That raise another question, though - can an egg be in multiple categories? Currently not. Any chance to get it working that way anytime soon? ___ Chicken-users mailing list

Re: [Chicken-users] RFC 1123/HTTP-format date parsing

2007-07-31 Thread Ivan Shmakov
MA == Moe Aboulkheir [EMAIL PROTECTED] writes: MA I need to parse some RFC 1123 dates, in order to turn them into MA something on which it is easier to perform arithmetic (RFC 1123 is MA the format used, among other things, to describe absolute MA dates/times in HTTP). I would very much

Re: [Chicken-users] parameterize-from-alist

2007-07-16 Thread Ivan Shmakov
Alaric Snell-Pym [EMAIL PROTECTED] writes: It's up to the caller to supply a correct alist to the function. E. g.: Ah, but the original problem was that the alist was read from a file, at run time! Well, symbols may either be simply `eval'ed, or ``mapped'' to their

Re: [Chicken-users] parameterize-from-alist

2007-07-09 Thread Ivan Shmakov
AS == Alaric Snell-Pym [EMAIL PROTECTED] writes: [...] AS He suggested I ask on The List, so here it is. Is there a way to AS write parameterize-from-alist without eval hackery, or shall I just AS use the wings dynamic environment? 'Course. However, I'd recommend for it to be

Re: [Chicken-users] Request for comments on the SQLite3 egg API

2007-07-03 Thread Ivan Shmakov
Thomas Christian Chust [EMAIL PROTECTED] writes: adding a few functions and macros to implement ternary logic sounds good to me. [...] Hello, if those things were put into a separate library along with a NULL singleton, the SQLite3 egg could be modified to use this NULL value if that

Re: [Chicken-users] Request for comments on the SQLite3 egg API

2007-07-02 Thread Ivan Shmakov
from all the other Scheme types. May we have a library to implement SQL-like ternary logic as well? E. g.: ;; Ivan Shmakov, 2007 ;; Public domain (require-extension syntax-case) (define-record-type :sql-null (sql-null) sql-null?) (define (sql-not o) (if (not (sql-null

Re: [Chicken-users] Request for comments on the SQLite3 egg API

2007-07-02 Thread Ivan Shmakov
Thomas Christian Chust [EMAIL PROTECTED] writes: 1. Introduce a new separate singleton type for SQL NULL values and refrain from using booleans altogether, because there is no SQL boolean type in SQLite3. I favor a variant of this: introduce a singleton type for SQL NULL values, and map

[Chicken-users] args-doc: formatting help messages in a GNU way

2007-06-21 Thread Ivan Shmakov
I'm mostly finished with a code that generates GNU-style help messages. E. g.: (parameterize ((args-doc:right-margin 67) (args-doc:program-short-name foobar) (args-doc:program-bug-address[EMAIL PROTECTED])) (display (args-doc-help

[Chicken-users] anonymously $ svn co an egg

2007-06-19 Thread Ivan Shmakov
How could I get the source of an egg from the SVN repository without an account on the latter? Is it at all possible? ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] anonymously $ svn co an egg

2007-06-19 Thread Ivan Shmakov
felix winkelmann [EMAIL PROTECTED] writes: How could I get the source of an egg from the SVN repository without an account on the latter? Is it at all possible? svn co https://galinha.ucpel.tche.br/svn/chicken-eggs/eggname username: anonymous password: empty Thanks, it works.

[Chicken-users] using Texinfo for documenting an egg

2007-06-19 Thread Ivan Shmakov
Since I wish to produce the documentation in either ``printable'' (.ps), ``emacsable'' (.info), or ``browseable'' (.html) forms, I'm currently experimenting with Schmooz and Texinfo. I've no specific questions so far, but if anyone has the experience

[Chicken-users] my future plans

2007-06-14 Thread Ivan Shmakov
So, I've acquired my M. Sc. Hopefully, I'll be able to dedicate a bit more time to hacking in general and to Scheme programming in particular. With respect to Chicken, I'm interested in: * future developing an HDF4 ``wrapper'' extension; so far, I

[Chicken-users] on HDF4 support for Chicken

2007-06-05 Thread Ivan Shmakov
I'm currently working on implementing HDF4 [1] support for Chicken. Essentially, an HDF4 file is a sort of archive, consisting of a number of (annotated) arbitrary rank arrays, called scientific data sets (SDS) in HDF's own terminology. While the data sets