2009/8/16 Thomas Chust :
> [...]
> I have hacked together a small object-relation mapper representing SQL
> datasets using the Prometheus object system, which is called Pandora
> to stay with the Greek mythology theme.
> [...]
Hello,
some visible improvements have been co
2009/8/20 Peter Bex :
> [...]
> Why not make the parameters argument to the 'execute message optional?
> It can default to the empty list. This would make for less typing.
Hello,
this is a good idea. I changed the signatures for the 'execute and
'fold methods accordingly.
> [...]
> The *.import
2009/8/20 Peter Bex :
> On Thu, Aug 20, 2009 at 06:24:27PM +0200, Thomas Chust wrote:
>> * A complete usage example has been added to the documentation.
>
> In the example, the 'name' column in the 'Tags' table should be TEXT,
> shouldn't it?
> [...
Hello,
I just installed the CHICKEN 4.1.5 snapshot on a sparc64-linux machine
and thought I would share my experiences:
The Debian GNU / Linux I use to run the box has a mixed 32 bit and 64
bit userland on this architecture, so I tried a 64 bit build of
CHICKEN first, which is apparently the only
2009/8/29 Thomas Chust :
> [...]
> The Debian GNU / Linux I use to run the box has a mixed 32 bit and 64
> bit userland on this architecture, so I tried a 64 bit build of
> CHICKEN first, which is apparently the only foreseen alternative: The
> build not only took ages but also pro
2009/8/30 Peter Bex :
> [...]
> (import test)
>
> (use environments)
> (print (environment-has-binding? (interaction-environment) 'hello))
>
> This prints #f, whereas I would have expected it to print #t, since
> defining a module and importing should be identical to putting the
> module's body in
2009/8/30 Peter Bex :
> [...]
> If (print (environment-has-binding? (interaction-environment) 'hello))
> shows #f, then I would expect (eval '(hello) (interaction-environment))
> to fail, but it simply prints "hello".
> [...]
Hello,
following your logic, the code
(use environments)
(eval
2009/8/30 Peter Bex :
> [...]
> I disagree. If this should print #t you should also be able to obtain
> a reference to the macro using (eval 'hello (interaction-environment)),
> but that's not possible since macros are not first-class.
> [...]
Hello,
that's beside the point: Macros just like modu
2009/8/30 Peter Bex :
> On Sun, Aug 30, 2009 at 08:53:25PM +0200, Thomas Chust wrote:
> [...]
> But from a semantic point of view it doesn't make a lot of sense that
> a binding introduced by importing a module behaves differently from a
> binding introduced by SET! or DEFINE.
2009/9/17 Ivan Raikov :
> [...]
> I have merged Chicken trunk with the prerelease branch in the SVN
> repository, and I plan on making release 4.2.0 of Chicken within a week
> from today. [...] Please try it out and let me know if there are any
> problems.
> [...]
Hello,
apparently all CHICK
2010/3/12 Lasse Kliemann :
> How can I start a process and control where it sends its stdout
> or stderr? I know that I can do:
>
> (receive
> (p-stdout p-stdin p-pid p-stderr)
> (process* command args)
> (...))
>
> This gives input and output ports connected to the process. But
> how can I e
2010/3/13 Mark Carter :
> [...]
> It seems there's two approaches: embedding the manifest inside the
> executable, or adding a file alongside the executable.
> [...]
Hello,
based on the existing documentation of the issue and the manifest in
the previous message I have created a patch against th
2010/3/13 felix winkelmann :
> [...]
> Wonderful. Is windres always available on a windows system? If yes,
> we use this solution. Many thanks for the patch.
> [...]
Hello Felix,
windres is part of the GNU compiler toolchain for windows. It should
be part of Mingw32 and Cygwin environments.
As f
2010/3/20 Jeronimo Pellegrini :
> [...]
> Suppose I have an open port:
>
> (let ((in (open-input-file "whatever")))
> ...
> (let ((x (read in)))
> ...))
>
> I'd like to switch from using Chicken's read implementation to
> something I'd write in C (using the FFI). But I didn't find in
> the doc
2010/3/25 Jörg F. Wittenberger :
> [...]
> I failed miserably when trying to link a chicken program statically.
> [...]
> using -static instead I end up with an executable of roughly 4MB..
> which then complains:
> Error: (import) during expansion of (import ...) - canot import from
> undefined mod
2010/4/15 Jeronimo Pellegrini :
> [...]
> This program seems to work fine when loaded from csi, but csc
> complains that a procedure used inside the renaming procedure
> is unbound (even though it was defined shortly before the
> macro definition):
> [...]
Hello Jeronimo,
the environment in which
2010/4/15 Jeronimo Pellegrini :
> [...]
> Most mpfi functions receive pointer to structures that represent
> intervals, and the return value is the first argument:
>
> mpfi_add (a, b, c); /* This is a <- b + c */
>
> When translating this into Scheme, I thought I'd offer
> three versions of each f
2010/4/15 Jeronimo Pellegrini :
> [...]
> I wonder if the optional argument would make the function call too much
> slower?
> [...]
Hello Jeronimo,
the optional argument processing will take a little time, but whether
that is relevant should be determined by a benchmark.
> [...]
> But there's a
2010/5/23 Alejandro Forero Cuervo :
> [...]
> It makes it very difficult for me to continue to trust Chicken as a
> development platform when certain APIs get removed like that, with
> little to no consideration to how much effort it'll take for its users
> to keep their software working.
> [...]
2010/7/3 Alejandro Forero Cuervo :
> How does one compile a file that requires an extension which is not
> currently installed? I couldn't find the answer looking at The
> Chicken Manual. Obviously, the file being compiled does not depend on
> macros from the module, it just depends on it at runt
2010/7/4 Thomas Chust :
> [...] and can be loaded at runtime using the procedure (require ...)
> from the library unit, [...]
Sorry, it's in the eval unit, not the library unit.
Ciao,
Thomas
--
When C++ is your hammer, every problem looks like
2010/7/5 Jörg F. Wittenberger :
> [...]
> I'm surprised about the memory consumption pattern my chicken program
> exhibits after some hours running.
> [...]
> whereby the difference has a change to be attributed to some
> string->symbol usage.)
> [...]
Hello,
this may be completely irrelevant, bu
2010/7/7 Jack Trades :
> I'm sure this is a simple question but I can't quite figure it out. Is
> there a way to get (define-record ...) to print out something other than the
> tag of the record?
> [...]
Hello Jack,
I think you are looking for define-record-printer from CHICKEN's
standard librar
2010/7/14 Moritz Heidkamp :
> [...]
> | Blocking reads and writes to or from the ports returned by process
> | only block the current thread, not other threads executing
> | concurrently.
>
> And it works as advertised. However, if I close both the input and the
> output ports of the process, all o
2010/8/1 John Gabriele :
> [...]
> Just built chicken on Ubuntu 10.04 (on x86_64) and saw this warning
> come up twice:
> [...]
> runtime.c: In function ‘C_number_to_string’:
> runtime.c:7328: warning: ignoring return value of ‘gcvt’, declared
> with attribute warn_unused_result
> [...]
Hello,
th
2010/8/10 Jeronimo Pellegrini :
> [...]
> So, out of the scope of the first LET I use amb and require again, and
> it returned values that would work for the first time (but not the
> second).
> [...]
Hello Jeronimo,
using amb at the top level without an enclosing context providing form
is possib
2010/8/10 Jeronimo Pellegrini :
> On Tue, Aug 10, 2010 at 02:40:15PM +0200, Thomas Chust wrote:
>> [...]
>> Unless you know exactly what you are doing, I would recommend to
>> enclose all applications of amb in amb-find or amb-collect forms. Your
>> example could be
2010/9/1 Christian Kellermann :
> [...]
> I see! Is there anything I need to call to cleanup the runtime
> system again? I am asking all this because I want to hide even
> that from the user of this library. So I would wrap the CHICKEN_run(!)
> into an init() function of some sort and have the use
Hello,
in case anybody else finds this useful: I have created fairly full-featured
bindings for the IUP graphical user interface library [1] that work identically
(to the maximum possible extent) under the Racket [2] and CHICKEN [3]
Scheme systems.
You can find the documentation and the version c
2010/9/30 Felix :
> From: Peter Bex
>> [...]
>> How are we going to keep this synched? Is someone going to watch
>> the Fossil repo for bugfixes and integrate them by hand back into
>> the egg repo and update the wiki page, manually integrating all
>> possible user-contributed changes?
> [...]
> W
2010/9/30 Thomas Chust :
> 2010/9/30 Felix :
>> From: Peter Bex
>>> [...]
>>> How are we going to keep this synched? Is someone going to watch
>>> the Fossil repo for bugfixes and integrate them by hand back into
>>> the egg repo and update the wik
2010/9/30 Martin DeMello :
> On Thu, Sep 30, 2010 at 3:02 AM, Thomas Chust wrote:
>> in case anybody else finds this useful: I have created fairly full-featured
>> bindings for the IUP graphical user interface library [1] that work
>> identically
>> (to the maximum
2010/10/10 Matt Gushee :
> [...]
> When I try to install the iup egg, I get an error message stating that IUP
> was not found. But I definitely have it
> [...]
>> csi> (find-library "callback" "alloc_trampoline_r")
>> #f
>> csi> (find-library "iup" "IupOpen")
>> #t
>> csi> (find-library "iupim" "Iu
2010/10/12 Matt Gushee :
> [...]
> However, there is a new problem:
>
>> iup-base.c:15:17: fatal error: iup.h: No such file or directory
>> compilation terminated.
>
> That's odd. The IUP headers, including iup.h, are all in
> /usr/include/iup on my system.
> [...]
Hello Matt,
hmm, strange, in my
2010/11/3 Hugo Arregui :
> [...]
> 1) Using posix:
>
> (use posix)
> (time->string (string->time "2" "%d"))
> "Tue Jan 2 00:00:00 1900"
>
> but, my current locale es:
>
> (use locale)
> (current-locale)
> "es_AR.utf8"
> [...]
Hello,
the POSIX functions use the C standard library's locale which i
2010/11/4 Hugo Arregui :
> On Wed, Nov 3, 2010 at 1:20 PM, Thomas Chust wrote:
>> [...]
>> the POSIX functions use the C standard library's locale which is entirely
>> independent from that of the locale egg.
>> [...]
>
> I'm not quite sure understand
2010/11/8 Joe Python :
> [...]
> However when I try to chicken-install a IUP egg, I get the following error
> message:
>
> Warning: IUP not found, bindings will not be compiled.
>
> Is there anything out there I have to add before compiling the IUP egg?
> As far as I know all the IUP libraries/inc
2010/11/9 Joe Python :
> [...]
> In my C:\mingw32\include directory I have added the following files from
> ffcall:
> [...]
> However I still get the same 'IUP not found' error message when i do the
> chicken-install.
> [...]
Hello Joe,
hmm, judging by the example command line for GCC that you g
2010/11/10 Joe Python :
> Its funny. I tried adding every IUP library out there in CSC_OPTIONS and the
> chicken-install still complains.
> Is there any other libraries which i left out. see below for the current
> ones.
> ---<>---
2010/11/18 Felix :
> [...]
> I've put together a little library of generic "sequence" operations,
> and would like to get some feedback, since I'm not sure about the
> nomenclature and API.
> [...]
Hello,
in my opinion this library is a good idea. A feature I would like to see in this
kind of lib
2010/11/19 Felix :
> From: Thomas Chust
>> [...]
>> in my opinion this library is a good idea. A feature I would like to see in
>> this
>> kind of library would be some comprehension mechanism (similar to SRFI-42 or
>> Racket's for comprehensions).
>
>
2010/12/1 Alan Post :
> On Tue, Nov 30, 2010 at 11:18:49AM -0500, David Dreisigmeyer wrote:
>> [...]
>> When I try this:
>>
>> *pun_cpp.cpp:
>>
>> #include
>> using namespace std;
>>
>> void pun_cpp (void)
>> {
>> printf("Hello World!");
>> return;
>> }
>>
>> *pun_module.scm:
>>
>> (module pun
2010/12/1 David Dreisigmeyer :
> This may be getting closer. Here's my code again (the names are
> slightly different from above):
Hello David,
some more remarks about the example:
> [...]
> #include
> #include "punCpp.h"
> [...]
None of the iostream functionality is ever used in the example
2010/12/1 Peter Bex :
> [...]
> I never really got the point of Swig; what does it do that you can't
> use the FFI or the bind egg for?
> [...]
Hello,
I can think of two advantages SWIG has: It is relatively easy to
create bindings for several different scripting languages from the
same interface
2010/12/1 David Dreisigmeyer :
> [...]
> ** punCpp.h:
> [...]
> void punCpp (void);
> [...]
> ** pun_module.scm:
> [...]
> (foreign-declare "extern void punCpp (void);\n")
> [...]
Hello David,
in this case I suggest that you change the foreign-declare statement
to
(foreign-declare "#inc
2010/12/1 David Dreisigmeyer :
> Would there be any major differences when it came to Objective-C?
> [...]
Hello,
there are some differences as to the language supported by GCC and
clang. For example clang supports so called blocks in C and
Objective-C (a feature very similar to closures in Schem
2010/12/2 Jim Ursetto :
> No, this is not a kernel issue but a gcc output issue.
>
> On Dec 1, 2010, at 7:48, David Dreisigmeyer wrote:
>
>> Would this help(?):
>>
>> ioreg -l -p IODeviceTree | grep firmware-abi
>>
> [...]
Hmm, shouldn't `gcc -dumpmachine` be useful in that case?
Ciao,
Thomas
2010/12/1 Felix :
> [...]
> Oh, and clang gave me stupid warnings that where actually wrong
> (an "x == x" comparison of floats to detect NaN, which is IMHO
> totally correct, triggers a warning - but I'm sure John can give
> us the correct interpretation of the standard C semantics).
> [...]
Hell
2011/1/5 Alan Post :
> noop and milliseconds->time are removed (after being deprecated) in
> the experimental branch of chicken. The following patches allow the
> sqlite3 egg to compile against the chicken experimental branch.
>
> I'm least certain about the milliseconds-deprecate patch, as the
>
2011/1/14 .alyn.post. :
> [...]
> The sqlite3 is still failing to compile in the experimental branch:
> [...]
> Will you apply the patches I sent you to the sqlite3 egg?
> [...]
Hello,
yes, I know. I will apply the patch eventually but I have to / want to
disable the fixnum arithmetic declaration
2011/1/15 Alan Post :
> 2011/1/14 .alyn.post. :
>> [...]
>> The sqlite3 is still failing to compile in the experimental branch:
>> [...]
> [...]
> I believe the attached patch should do it. I withdraw the original
> miliseconds deprecation patch (but retain the noop/void patch) and
> replace it wi
2011/1/16 Alan Post :
> [...]
> I notice that you removed code adding |current-milliseconds|
> (presumably now |current-seconds|) to the timeout. This was
> intentional?
> [...]
Hello Alan,
yes, this was intentional: The way I understand it, thread-sleep! can
either be passed a number, which is
2011/1/19 :
> [...]
> Jeha, i know. A list is a pair, but a pair is not a list. Therefore a list
> should be a subclass of pair. (Ok, for '() we have ).
> [...]
Hello,
that is wrong, and you even give the reason why it's wrong yourself: A
list is either a pair or the empty list. Hence the single
2011/1/19 :
> [...]
> Then all pairs are lists? What about (cons 1 2)? I thought a list is a pair
> which cdr is a list (or the empty list -- exclude that case for a moment).
> [...]
Hello Sandro,
you're right, I neglected the case of pairs whose cdr is not a
list. So to be precise, the type hie
2011/1/23 Matt Welland :
> If so do you have a "recipe" as so far I haven't been able to figure
> it out. The last email related to this (Nov 10) did not look
> encouraging.
> [...]
Hello Matt,
in principle, the IUP egg should work on Windows, but you will need
IUP and its prerequisites installe
2011/1/24 Thomas Chust :
> 2011/1/24 Matt Welland :
>> [...]
>> iup-base.c: In function 'stub1198':
>> iup-base.c:583:1: error: too few arguments to function 'IupReparent'
>> C:\\mylibs\\iup\\include/iup.h:76:11: note: declared here
>> [...]
&
2011/1/25 Matt Welland :
> [...]
> Your success is good to hear. Can you share some details of how you did
> this?
> [...]
Hello Matt,
well, I did the canonical thing:
* Install a fresh Windows XP and all available system updates in a
virtual machine
* Add C:/Programme/MinGW/bin, C:/Program
Am 1. März 2011 11:43 schrieb Matthias Bauer :
> [...]
> Gibts eine M"oglichkeit aus einem ssl-port Objekt die Attribute des
> X509 Zertificates des Clients rauszulesen?
> [...]
Hello Matthias,
the reply is in English because I CC'ed the CHICKEN mailing list. What
you ask for has not been possibl
2011/3/3 Andrew Pennebaker :
> I'd like to find out my Chicken script name programmatically.
> [...]
Hello Andrew,
program-name [1] is a built in parameter exported from the chicken
library unit that returns the name of the currently executing program
or script.
Ciao,
Thomas
[1] http://wiki.ca
2011/3/10 John J Foerch :
> [...]
> I have a procedure that takes a window and a list of numbers and
> sets a property on the window which is an array of those
> numbers. The array must be an array of unsigned long, and
> foreign-lambda* seems to be the tool for the job to make this
> object. In
2011/3/11 Felix :
> [...]
> I haven't used these, but if QML is ECMA-Script-compliant, I see no
> reason why it shouldn't work.
> [...]
Hello,
as far as I know, the scripting engine behind Qt Quick is
JavaScriptCore, which comes with WebKit.
Ciao,
Thomas
--
When C++ is your hammer, every prob
2011/3/21 Patrick Li :
> [...]
> I'm trying to write a macro that will tranform:
> (temp (a b c) do-this do-that do-other)
> into this:
> (do (do-this a b c)
> (do-that a b c)
> (do-other a b c))
> [...]
Try this:
(define-syntax temp
(syntax-rules ()
[(temp args command ...)
(d
2011/3/21 Patrick Li :
> [...]
> transform:
> (temp (a b c) do-this do-that do-other)
> to:
> (do (do-this a b c some-more-args)
> (do-that a b c some-more-args)
> (do-other a b c some-more-args))
> The dot trick doesn't work in this circumstance.
> [...]
Hello Patrick,
in that case I'm a
2011/3/24 George Rogers :
> What do you think about using evaluation environments as a basis for a
> module system.
> [...]
Hello,
this may look like a good idea but I suspect it isn't very suitable
for CHICKEN, because CHICKEN's evaluation environments contain no
syntax information but only runt
2011/3/28 Markus Klotzbuecher :
> [...]
> distinct? from amb-extras fails with an "bad argument count" error
> when srfi-1 is not loaded. In that case the member procedure from
> 'scheme' and not srfi-1 is used, which doesn't take a additional
> equality procedure as used by distinct?.
> [...]
Hel
2011/3/31 Tomtom :
> [...]
> quick summary: a jack client have to set a callback so the jack
> server can call it when the client is supposed to do
> something. Here, the callback call is supposed to trigger some
> scheme code execution.
> [...]
Hello,
the problem is that callbacks only work if t
2011/3/31 Moritz Heidkamp :
> Hi,
>
> Thomas Chust writes:
>> Your only option in the out of luck situation is not to use regular
>> callbacks at all but to implement a sort of in-process remote
>> procedure call system where a C stub registered as a callback
>>
2011/3/31 Steve Graham
> Can someone point me to some info on this?
Hello Steve,
there is compiler support for executables marked as GUI applications
through the -gui command line option. But to actually create a GUI,
you will have to use one of the eggs providing bindings for user
interface too
2011/3/31 Stephen Eilert :
> On Thu, Mar 31, 2011 at 1:46 PM, Thomas Chust wrote:
>> [...]
>> However, there is currently no database-independent layer like
>> Perl's DBI module that provides a uniform API for all other
>> relational database drivers.
>
> Oh
2011/4/1 Matt Welland :
> That is ironic. One of the things I was going to try to make available
> via the new egg system was my dbi egg
> (http://www.kiatoa.com/cgi-bin/fossils/opensrc/dir?ci=c7f1edfb8c6e036b&name=dbi).
> However anything Thomas puts together will be much, uh, fresher and
> faster
2011/4/1 YC :
> [...]
> would you be interested in considering to look at my racket bzlib/dbi
> package on racket planet as a potential idea for interface? I was looking
> to port it over to chicken but never got around to it due to other things.
> it would be good to have schemers interested in
2011/4/1 Jim Ursetto :
> On Apr 1, 2011, at 7:47 AM, Thomas Chust wrote:
>
>> There is at least one small point that I would want to do differently,
>> though: In my opinion it has some value if the procedure establishing
>> the database connection has a fixed signa
2011/4/1 YC :
> [...]
> The reason I did not use keyword arguments for query is that in
> racket keyword arguments needs to be quoted to pass through to the
> underlying driver, but chicken might not have that issue.
Hello YC,
this is not really true: While Racket doesn't pass keyword arguments
t
2011/4/2 Matt Welland :
> - Original message -
>> 2011/4/1 Jim Ursetto :
>>> [...]
>>> Just use an alist.
>>> [...]
>>
>> Maybe less practical to enter on command lines, but probably more
>> schemish, yes :-)
>
> How about a convinence function to convert the URI to an alist for those who
>
2011/4/2 Thomas Chust :
> [...]
> I'll stay in touch and I'll put any prototype code I produce
> into a publicly accessible version control repository :-)
> [...]
Hello,
my first prototype code is available at
http://www.chust.org/fossils/dbi
This has undergone onl
2011/4/14 Matt Welland :
> Note, this is using the chicken-iup install from
> www.kiatoa.com/cgi-bin/chicken-iup, chicken 4.6.5, iup 3.4.
>
> Is there a special shutdown procedure to follow?
>
> #;1> (use iup)
> [...]
> #;2> (exit)
>
> This application has requested the Runtime to terminate it in a
2011/5/20 Stephen Eilert :
> [...]
> The following link seems to indicate that there should be an IUP-WEB
> egg. Henrietta doesn't know about it though.
> [...]
Hello Stephen,
the iup-web library is part of the iup egg distribution. It is
compiled and installed automatically together with the res
2011/6/12 Jim Pryor :
> [...]
> This is the build/packaging script that has worked for me with previous
> builds:
> [...]
> # should be a symbolic link not a copy otherwise ldconfig will cry
> rm -f ${pkgdir}/usr/lib/libchicken.so
> ln -s /usr/lib/libchicken.so.5 ${pkgdir}/usr/lib/libchicken.so
2011/6/13 Jim Pryor :
> Thanks Thomas and Jim, that looks right. But puzzling enough, I'm still
> having troubles.
> [...]
> ==> Starting package()...
> [...]
> make[1]: *** [install-libs] Error 1
> make[1]: *** Waiting for unfinished jobs
> [...]
Hello Jim,
this looks as if make install was
Pedro Henrique Antunes de Oliveira wrote:
> [...]
> The fine thing about it is that I only need to use set-replacers! on
> the interface generated by define-record. All the procedures that were
> made to work on the base type will work on the derived type too,
> because the bindings were set!.
> [.
Pedro Henrique Antunes de Oliveira wrote:
> Any reason why that happens?
> [...]
>
> On Sun, Jul 17, 2011 at 1:49 PM, Thomas Chust wrote:
>> if the original record was defined in a different module than the
>> derived one, setting those binding from the original module to
Hello,
I've implemented SRFI-99 record types for CHICKEN:
http://www.chust.org/fossils/srfi-99
The SRFI's syntax for record definitions is compatible with SRFI-9,
but several extensions including convenient default names of
procedures, single inheritance of record types and introspection
capab
2011/9/8 John Cowan :
> [...]
> Bug report: A constructor defined to take explicit arguments does
> not work: instead of returning the instance, it returns a procedure
> that takes N arguments and ignores them,
> [...]
Hello John,
that's strange, I can't reproduce the problem here, everything lo
thumb!
08.09.2011 07:47 schrieb am "John Cowan" :
Thomas Chust scripsit:
> that's strange, I can't reproduce the problem here, everything looks
> fine in this respect (note...
Ah. I forgot to say I was talking about the syntactic module.
Try (make-record-type foo (make-
t;
fe...@call-with-current-continuation.org>:
From: Thomas Chust
Subject: [Chicken-users] [ANN] SRFI-99 record types for CHICKEN
Date: Thu, 8 Sep 2011 01:01:04 +0200
> Hello,
>
> I've implemented SRFI-99 record types for CHICKEN:
>
> http://www.chust.org/fossil...
Whoa! Th
Hello,
my implementation of SRFI-99 is now available as an egg. I have fixed
some problems concerning unchecked block access and have added support
for arbitrary record type properties, similar to the structure
properties of Racket, as another extension. The implemented extensions
to the SRFI-99 s
2011/9/15 Peter Bex :
> On Thu, Sep 15, 2011 at 10:46:30AM +0200, Thomas Chust wrote:
>> [...]
>> The egg is served directly from its Fossil repository (check the
>> release information file [...]. In contrast to what the CHICKEN
>> wiki claims, it is possible to s
2011/9/15 Felix :
> [...]
> One question: would it be possible to optionally support SRFI-17 setters for
> record slots?
> [...]
Hello Felix,
for SRFI-99 compliance, separate setter procedures must be
generated. But the getter procedures generated by my implementation
for mutable fields already h
Hello,
one more improvement to the SRFI-99 implementation: I've added a
srfi-99-variants module with syntactic sugar for the definition and
destructuring of variant types where the base type is an empty record
and the variants are sealed subtypes.
Ciao,
Thomas
--
When C++ is your hammer, every
Am Freitag, 16. September 2011 schrieb Felix :
> [...]
> BTW, would it be possible that you document the extensions in the
> srfi-99 wiki page?
Hello,
I added a brief description of everything in the egg to the corresponding
wiki page. Links to the official SRFI-99 document and the documentatio
Hello,
I've been playing around with two small library projects related to
web and GUI development:
* http://www.chust.org/fossils/webkit
A CHICKEN binding to WebKitGTK+ and JavaScriptCore. Runs a GTK+
event loop in a CHICKEN thread, allows you to display HTML as a
GUI and to i
2011/9/28 Christian Kellermann :
> [...]
> As I see it, this procedure needs an overhaul anyway. If fstat fails
> it returns #f regardless the reason.
> [...]
Hello,
while it is true that only an ENOENT errno indicates a missing path
component in any file system operation, I also wonder why on ea
Hello,
during the past days I've written a small binding for the BerkelyDB
library. You can find the code here:
http://www.chust.org/fossils/berkeley-db
You get a persistent key value store backed by files with an interface
loosely resembling that of a SRFI-69 hash table. There is transaction
2011/10/17 Andy Bennett :
>> [...]
>> during the past days I've written a small binding for the BerkelyDB
>> library.
> [...]
> How does licensing of this work?
> I understand that BDB is available under the GPL for certain uses. Does
> your work get infected with that or is it entirely stand-alone
On Wed, 2012-02-29 at 14:07 +0100, Kristian Lein-Mathisen wrote:
> [...]
> Reading the chicken docs on foreign, you'll find:
>
>
> Structs cannot be directly passed as arguments to foreign
> functions, nor can they be result values.
> (http://api.call-cc.org/doc/foreign/ty
On Mon, 2012-03-12 at 14:05 -0600, Matt Gushee wrote:
> [...]
> > $ csi
> > [...]
> > csi> (use iup)
> > [...]
> > csi> (use iup-web)
> > ; loading /usr/lib/chicken/6/iup-web.import.scm ...
> > [...]
Hello,
you are using the egg incorrectly. The iup library contains all the
iup-related modules in
On Wed, 2012-03-14 at 18:23 -0600, Alan Post wrote:
> [...]
> (pretty-print (let ((s (amb 0 1 2))) (amb-collect s)))
> [...]
> produces:
> [...]
> (0)
> [...]
Hello,
to me this behaviour looks correct. amb-collect is supposed to collect
all the different values its argument can take on, but i
On Sat, 2012-03-24 at 20:20 +0100, Christian Kellermann wrote:
> * Juergen Lorenz [120324 11:42]:
> > Hello all,
> >
> > when installing (via chicken-install) a module with a number of
> > submodules (for example iup) I noticed, that the submodules are only
> > installed as *.import.scm, albeit t
On Sun, 2012-03-25 at 15:46 +0200, Christian Kellermann wrote:
> [...]
> (define import-libraries
> `("iup.import.so"
> "iup-base.import.scm" "iup-controls.import.scm"
> "iup-dialogs.import.scm"
> ,@(cond-expand
>
>
> So you are explicitly giving it .scm fil
On Mon, 2012-04-09 at 21:00 +0100, Mark Carter wrote:
> Is this a bug in chicken?
> (rational? 6/10) => #f
>
> Also
> (* 1.0 5/2)
> produces
> Error: (*) bad argument type: 5/2
> [...]
Hello,
this looks strange. While CHICKEN does not support exact fractions out
of the box, reading a
101 - 200 of 387 matches
Mail list logo