Well; here's a transcript:
CHICKEN
(c)2008 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 3.2.7 - linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables
applyhook hostpcre ]
compiled 2008-08-21 on debian (Linux)
#;1> (string-translate " i " "ö " "o_")
Error: (string-translate) invalid
64 [ 64bit manyargs dload ptables
applyhook hostpcre ]
compiled 2008-08-21 on debian (Linux)
Any ideas on how to fix this?
Sunnan
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
Ivan Shmakov wrote:
>>>>>> Sunnan <[EMAIL PROTECTED]> writes:
> > (define (fib)
> > (let loop ((a 1) (b 1))
> > (set! fib (lambda () (loop b (+ a b
> > a))
>
> This `set!' isn't necessary, compare:
>
hat too many generators afford, so I don't do this so much. I
usually use generator for generating ids where
http://okmij.org/ftp/Scheme/monad-in-Scheme.html would use either a
global variable or a state monad.
Sunnan
___
Chicke
Jörg F. Wittenberger wrote:
For pure chicken code this maybe correct.
But some Scheme implementations happen to treat the former form as a
global variable, which can be set! later on, while the latter is beeing
compiled into a static binding and set! on it will raise an error.
Thanks for this c
7;m not so sure. For no small part because the text editor I use
(TextMate) doesn't highlight the first form as a function definition
but does highlight the second form.
The second form.
Shorter is better.
Always, always, always.
Sunnan
__
e is a tree of non-circular dependencies.
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.
Of course, I'm not saying that dependencies are an end in itself; I'm
just wondering if you or
Ivan Raikov wrote:
Another solution would be to modify salmonella to construct a
dependency graph for all eggs and issue a warning for each dependency
cycle detected.
That would detect the problems, but wouldn't really solve them.
___
Chicken-user
Benedikt Rosenau wrote:
Anyway, I propose the following: please keep dependencies between
eggs small.
I disagree; sometimes, it seems better to split common code to libraries
than to have duplication. Dependencies can be hell, but so can duplication.
Further, no mutual dependencies (A needs
felix winkelmann wrote:
It should be possible to modify the compiler- and linker flags in ccmake
to use libffi.
Thanks.
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
felix winkelmann wrote:
BTW, in ccmake you can simply press "e" and continue. It should still
be able to generate a makefile.
OK. I was concerned that that would build a version of chicken without
libffi support.
Sunnan
___
Chi
/.
/usr
/usr/share
/usr/share/doc
/usr/include
/usr/include/ffi.h
/usr/include/ffitarget.h
/usr/lib
/usr/lib/libffi.a
/usr/lib/libffi.la
/usr/lib/libffi_pic.a
/usr/lib64
/usr/lib64/libffi.a
/usr/lib64/libffi.la
/usr/lib64/libffi_pic.a
/usr/share/doc/libffi4-dev
/usr/lib/libffi.so
/us
because I dislike
non-sexp-syntaxes so much. (quote and quasiquote are grandfathered in
because it's so useful to toggle between data and code.)
Sunnan
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
the same across most
Schemes.
Sunnan
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
felix winkelmann wrote:
A stalin-compat library? No problem.
It wasn't so much a request as an example of what people can do.
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
bryan rasmussen wrote:
Hi,
I was wondering about integration between Chicken and Stalin, has
anyone ever done anything to use the two together in any way?
1. Stalin reads sexps, chicken writes sexps (or vice versa)
2. Develop with a subset of chicken, deploy with stalin
3. Separate processes
ht degenerate into AOL hell as everybody me-too:s, but
for me it's ease of use, good continuation performance, many extensions,
great community (+ felix!) and good integration with C and Unix.
Sunnan
___
Chicken-users mailing list
Chicken-users@nongnu.
a way to *strictly* parse it. Not easy considering the amount of
abuses of syntax people have put in over the years. (Using our h2-syntax
to center images is one of the worst examples, but there are others,
less extreme.)
I do agree, though.
S
On 5/18/07, Michael McDermott <[EMAIL PROTECTED]> wrote:
Ubiquitous Unicode support
I tend to look at requiring Unicode support as analogous to requiring
the full numeric tower -- really important for some applications, and
I have no beef with Chicken's solutions to both of these problems.
Li
quire-extension makes the program run fine
(but I need syntax-case for some things; notably import and, if the
program grows, I'm sure I'll use srfi-42 somewhere).
Since I'm sure many of you already use syntax-case together with
tinyclos, I'm
I need syntax-case for some things; notably import and, if the
program grows, I'm sure I'll use srfi-42 somewhere).
Since I'm sure many of you already use syntax-case together with
tinyclos, I'm asking for some trouble-shootin
On Sat, 2006-03-25 at 17:03 +0100, felix winkelmann wrote:
> installed under this name, i.e. you have to do it manually, like this:
>
> (define-generic clean)
>
> Just put it before your first method definition.
Thank you very much! (And my apologies t
:infix)
returns an extra "" at the end of the list, to distinguish it from
(string-split-fields "foo" "foobarfooquuxfoo foo baz " #:infix)
Sunnan
PS
My tinyclos/syntax-case problem that I reported earlier remains
unsolved. I'll download darcs chicken and see if it'
make-method
add-method <--
clean is a method I have defined differentlly for numbers, characters
and strings. Works fine when I'm not requiring syntax-case.
AML,
Sunnan
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
t and
syntax-case makes the program work fine for ascii clean data.)
Sunnan
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
hanks,
Sunnan
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
On Sun, 2005-12-25 at 23:49 +0100, Benedikt Rosenau wrote:
> What made you try or choose Chicken in the first place?
>
I liked that it was relatively easy to use C libraries. I prefer chicken
over bigloo -- iirc, call-with-current-continuation is cheaper in
chicken, too.
_
On Mon, 2005-12-05 at 23:54 +0100, Jens Axel Søgaard wrote:
> Sunnan wrote:
> > ;; instead of:
> > (let f ((n (...)))
> > (if (zero? n) 1
> > (* n (f (- n 1)
> > ;; it's the exact same number of characters!
>
> Almost - note that REC retu
On Mon, 2005-12-05 at 23:49 +, Thomas Chust wrote:
> On Mon, 5 Dec 2005, Sunnan wrote:
>
> > [...]
> > I hadn't looked at srfi-31 before. I thought I knew most of the srfis.
> > This one was pretty disappointing.
> > [...]
>
> Hmm, most of the time
Thanks, I guess I was stressed, and forgot that unknown macros can
already be defined. The error message just looked so weird.
I was pretty sleep-deprived at the time.
I hadn't looked at srfi-31 before. I thought I knew most of the srfis.
This one was pretty disappointing.
(define (...) 10)
; Th
a in near the bottom of
http://www.paulgraham.com/power.html
help!
years truely,
sunnan
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
hether or not the configure script and makefile was
generated by the autotools doesn't seem to be important.
Thanks again.
Sunnan
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
gram uses?
I'd love to see example chicken projects, I'm especially interested in
autoconf and automake usage but other solutions are also of interest.
Sunnan
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org
Magnus Therning <[EMAIL PROTECTED]> writes:
> I'm sure you've read what Paul Graham has to say after using Lisp
> (almost as nice as Scheme :-) for web applications in ViaWeb?
He used CPS because full continuations weren't available; maybe Scheme
could do it nicer.
--
.i mi'e snan .i mi rodo ro
Wed Apr 27 00:33:28 CEST 2005 [EMAIL PROTECTED]
* fixed a small typo in README
New patches:
[fixed a small typo in README
[EMAIL PROTECTED] {
hunk ./README 210
-hen.el an emacs mode for exiting Scheme programs, by Linh Dang
+hen.el an emacs mod
35 matches
Mail list logo