On Sun, Feb 09, 2014 at 03:29:09PM +0100, mfv wrote:
> Hi,
>
> I've been fooling around a bit with chicken, and now I am on towards a small
> project. I have a question regarding the performance of list and
> hash-tables.
>
> I plan to use nested hash tables as a data structure e.g.
>
> hash-ta
14 at 03:16:57PM +1300, Evan Hanson wrote:
> Hi Alyn,
>
> On 2014-01-29 18:07, .alyn.post. wrote:
> > Why is %map not visible inside enum?
>
> In order to make `%map` available to the enum transformer, it needs to
> be defined at expansion time, e.g. (this is one way, ther
I'm working on a macro, |enum|, that accepts a prefix and a set of
values, that expand in to a basic symbolic enumeration:
(enum my foo bar)
=>
(define my '(foo bar))
(define my-foo 'foo)
(define my-bar 'bar)
The reason for the above is immaterial, I really need help with the
error I'm
On Wed, Jan 22, 2014 at 10:03:37PM -0500, Quint Guvernator wrote:
> .alyn.post. :
> > The example below emulates the default Chicken Scheme exception
> > handler, but continues the interpreter:
>
> This is precisely what I was looking for. Thank you for your
> assistance.
I believe the typical way to do this is to include the file after
you load csi:
$ cat my-input-file.scm
(define (doit)
(display "hello world")
(newline))
$ csi
#;1> (include "my-input-file")
; including my-input-file.scm ...
#;2> (doit)
hello world
#;3>
If you don't want t
On Thu, Dec 19, 2013 at 09:15:21PM +0100, pluijzer . wrote:
>Hello Alyn,
>
>Did you find a solution to this problem? I seem to suffer a similar
>problem.
>
>thanks,
>Pluijzer
>
>2013/12/8 .alyn.post. <[1]alyn.p...@lodockikumazvati.org>
&
Are there more appropriate mailing lists you could have this
discussion on? Would you like some help with Chicken Scheme?
-a
On Tue, Dec 10, 2013 at 07:08:19PM -0500, Giorgio Flaverli wrote:
>@John Cowan;
>
>An Olin Shivers-style rant (the Jack'n'Zac one that opens the SCSH manual)
>
On Mon, Dec 09, 2013 at 08:41:59AM +1300, Evan Hanson wrote:
> Hi Alyn,
>
> On 09/12/13 06:29, .alyn.post. wrote:
> > What is the magic phrase to tell foreign-lambda a parameter is a
> > char**?
>
> `(c-pointer c-string)` or `(c-pointer nonnull-c-string)` should do
I'm getting an error message when I use |(declare (block))|.
Using the same code in my previous email about invalid forwarded
object (repeated here), I declare it as an egg like so (the only
change is wrapping it around a module):
<++> csc -s -j pwent pwent.so pwent-egg.scm
(module pwent
(getpw
I have the following C function:
extern void svec_free(char **v);
And I want to call it from Scheme, so I say:
(define svec-free
(foreign-lambda void "svec_free" (c-pointer c-pointer)))
But the above (c-pointer c-pointer) declaration is a void**, not a
char**, so I get the following war
struct a record from C and want to pass it to Scheme, not just
reading the /etc/passwd file. I could rewrite this to read records
from an arbitrary file and suspect I'd still be getting this error.
Thank you,
-a
On Sun, Dec 08, 2013 at 12:21:24PM -0500, John Cowan wrote:
> .alyn.post. sc
Greetings,
I'm encountering the following error message inside a callback using
Chicken's FFI interface:
Error: (cdr) bad argument type: #
Call history:
pwent.scm:100: loop
pwent.scm:56: ##sys#gc
pwent.scm:56: g42
pwent.scm:24: make-string
pwent.s
I'll throw in my two bits here.
I'm not personally decided whether utf-8 in core would be an
improvement. I don't have enough background or knowledge of
the internals to contribute to that decision.
I can offer this, however:
I have found that I have to use utf-8 support in every project
I've w
On Mon, Jan 14, 2013 at 09:18:52AM +0100, Peter Bex wrote:
> On Mon, Jan 14, 2013 at 02:42:40PM +0900, Alex Shinn wrote:
> > On Mon, Jan 14, 2013 at 1:36 PM, Sungjin Chun wrote:
> > > As far as I know, revised RFC permits UTF-8 characters in the URL without
> > > encoding. Am I wrong here?
> >
>
>
> Hopefully one of these works.
>
> On Dec 27, 2012, at 12:15 PM, .alyn.post. wrote:
>
> > I'm running Mac OS X 10.8.2 and have just installed the latest
> > XCode+XCode command-line tools. I've built chicken 4.8.0, and
> > am trying to install the setup
I'm running Mac OS X 10.8.2 and have just installed the latest
XCode+XCode command-line tools. I've built chicken 4.8.0, and
am trying to install the setup-helper egg. I get the following
error. I'm not familiar with install_name_tool, though I gather
it's a piece of XCode and/or some Mac OS X-s
On Sun, Dec 09, 2012 at 11:24:54AM -0700, Matt Gushee wrote:
>Last night I got a shock when I tried to use Chickadee (as I often do
>these days). The "Contents" section was at the bottom of the page,
>expanded, instead of collapsed at the top; the "TOC" section wouldn't
>expand, and
On Sat, Nov 24, 2012 at 03:03:06PM -0700, Matt Gushee wrote:
>Is it just me, or is this community undergoing a major growth spurt? Seems
>like there are a lot of new people with cool projects coming onto this
>list lately. Next: Chicken Scheme takes over the world?
>Anyway, it's goo
On Mon, Nov 19, 2012 at 09:19:33PM +0100, Felix wrote:
> From: John Long
> Subject: Re: [Chicken-users] How can I check a new build of chicken?
> Date: Sun, 18 Nov 2012 14:36:43 +
>
> >
> > Warning: reference to possibly unbound identifier `values'
> > ../libchicken.so.6.0: warning: strcpy()
> Are you saying this about the 4.8 build? I'm not worried about that since I
> build everything from source on Linux without a package manager or ports
> system (Slackware). On OpenBSD I try to play by the rules because I know
> I'll get no help if I deviate ;-)
>
Both Christian and I run Chicke
eric tower. The numbers
egg replaces the core '+' routine with it's own, as it does
everything the core '+' does and substantially more.
-Alan
> Best Regards!
>
>
> 在 Thu, 08 Nov 2012 00:17:23 -,.alyn.post.
> 写道:
>
> >On Wed, Nov 07, 2012 at
On Wed, Nov 07, 2012 at 11:57:33PM -, z_axis wrote:
>
> >(+ (+ 1/2 1/3)
>
> Warning: cannot represent exact fraction - coerced to flonum: "1/2"
> Warning: cannot represent exact fraction - coerced to flonum: "1/3"
> 0.8331/2 1/3)
>
>
> In racket, it is 5/6. And as i know it is 5
On Tue, Nov 06, 2012 at 06:48:33AM -0700, matt welland wrote:
> > I guess this could be considered a bug: The finalizer unconditionally
> > closes the socket which seems to lead to this error when it was
> > explicitly closed before. Skimming the API reference I don't see a way
> > to check whether
Thank you sir, I have installed the new release of the utf8 egg and
things are working here.
-Alan
On Sat, Nov 03, 2012 at 01:43:27PM +0900, Alex Shinn wrote:
> Added.
>
> On Fri, Nov 2, 2012 at 11:52 PM, .alyn.post.
> wrote:
> > I'm trying to use string-join in my eg
I'm trying to use string-join in my egg git-hooks-mediawiki[1].
This egg imports utf8-srfi-13, and I am getting an error message
about this routine:
Warning: reference to possibly unbound identifier `string-join' in:
Warning:parse-error
Warning:suggesting: `(import srfi-13)'
I beli
On Fri, Jan 14, 2011 at 09:14:26PM +0100, Felix wrote:
> > When I first encountered this problem, I tried using git bisect. It
> > was the first time I'd used git bisect. I had no luck doing so, because
> > each time I performed the bisect I failed to compile chicken with itself.
> > It was fun t
Tony,
The mw and mw-core eggs' tests don't pass when run by salmonella:
http://tests.call-cc.org/current/salmonella-report/tests/mw.html
http://tests.call-cc.org/current/salmonella-report/tests/mw-core.html
The problem in both cases is that the *.meta file for each egg needs
the line:
(te
Kon,
Would you update srfi-19 and srfi-29 to compile against the
experimental branch in chicken?:
http://bugs.call-cc.org/ticket/481
http://bugs.call-cc.org/ticket/482
The patch is very simple, getenv has been deprecated in favor of
get-environment-variable.
These are the only two srfi-* eg
Thomas,
The sqlite3 is still failing to compile in the experimental branch:
http://pestilenz.org/~ckeen/salmonella-report/2011-01-14/sqlite3.html
Will you apply the patches I sent you to the sqlite3 egg? Since
sqlite3 won't compile, I can't test my own packages against the
experimental branch.
I have two open tickets against the utf8 egg:
https://bugs.call-cc.org/ticket/423
https://bugs.call-cc.org/ticket/480
Both of them are simple fixes, one of them is causing several
packages not to compile against the experimental branch, which
Christian has just begun nightly builds for:
ht
30 matches
Mail list logo