Happy Christmas to everyone!
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
On 2016-12-23 06:36, felix.winkelm...@bevuta.com wrote:
Dear CHICKEN folks!
I wish all of you a very happy christmas.
Merry Christmas everyone!
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chick
Hi Cao,
Could you try setting your LD_LIBRARY_PATH variable to the directory in
which libjvm.so is located?.
In my machine (arch using openjdk) will be:
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/server
HIH
Regards,
Hugo
signature.asc
Description: Open
Hi Mario,
> I notice the .release-info file doesn't reference old versions. Would
> you please add them? If you need an example on how to do that, take a
> look at awful's .release-info:
> https://github.com/mario-goulart/awful/blob/master/awful.release-info
Oh, of course!, sorry for that, I ju
Hi,
The project is here[1], and the release file here[2]. I hope everything
is ok!
Regards,
Hugo
[1] https://github.com/hugoArregui/iconv
[2]
https://raw.githubusercontent.com/hugoArregui/iconv/master/iconv.release-info
signature.asc
Description: OpenPGP digital signature
> You can take the svn egg repo as a base (that's where it's currently hosted).
> We can give you access to it if you like, or you could import the egg into
> a git or mercurial repository and we can change the URL.
Thanks Peter! I imported the code into a github repository, I will let
you guys kn
> I am afraid that the iconv egg is orphaned at the moment. Would you like
> to take care of it?
Sure!. I cannot access the svn repo mentioned in the egg source, so I
guess I should use the result of chicken-install -r as the base, isn't that?
Regards,
Hugo
signature.asc
Description: OpenPGP d
Hi,
The attached small patch get rides of this warning in the iconv egg:
/usr/include/iconv.h:42:15: note: expected ‘char ** restrict’ but
argument is of type ‘const char **’
I tried to contact the author but the email addresses found both in the
egg and in the wiki are disabled, so perhaps he i
On 20/07/15 11:39, Mario Domenech Goulart wrote:
>
> A baby CHICKEN was born:
> https://groups.google.com/forum/#!msg/comp.lang.scheme/QOil0WmRtWg/rp_Yb6Et--0J
>
> Congrats. :-)
That's really a piece of history! Congrats!
signature.asc
Description: OpenPGP digital signature
Very nice! Glad there some more vimers out there :-D!
Regards,
Hugo
signature.asc
Description: OpenPGP digital signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
$ pkg-config --modversion gtk+-3.0
3.14.5
I tried with that version, but unfortunately it didn't work.
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
And guess what, it seems to work just fine...
Thanks Christian! It's certainly useful to know, but I tried with the
same gcc version you have (I was using the gcc from Arch, 4.9.2-3) and
is still broken.
I did a full clean chicken install with no results, and also tried with
an older chicken ve
Hi guys,
I'm puzzled by a strange error I found playing with gtk, it might be
something silly, but I cannot grok it. The code is pretty simple:
-
;-- test.scm
(import chicken scheme foreign)
#>
#include
int main(int argc, char** argv) {
gtk_init(&argc, &argv);
CHICKEN_run(C_
Hi Mario,
Sorry for the late response!.
Instead of just running "chicken-install -test", you can install
salmonella and run it. It'll perform some extra checks that
chicken-install doesn't. In case you run salmonella, you'll probably
also want to run "salmonella-log-viewer salmonella.log" to
Hi!
In case someone is interested, I setup Travis CI in one of my chicken
projects:
https://github.com/hugoArregui/awful-blog
https://travis-ci.org/hugoArregui/awful-blog
Sadly, the repo gcc/chicken are old:
$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Softw
Excellent news!
Everything ok here, my results:
Operating system: Arch linux
Hardware platform: x86-64
C Compiler: GCC 4.8.2
Installation works?: yes
Tests work?: yes
Installation of eggs works?: yes
Regards,
Hugo
___
Chicken-users mailing list
Chick
On 27/11/13, m...@freeshell.de wrote:
> On a sidenote:
>
> It seems that there is an analgon to go routines on Erlang, which can be
> accessed the LFE (Lisp Flavoured Erlang). However, that would require to
> learn the entire Erlang VM ecosystem.
A Lisp Flavoured Erlang, what nice!.
__
Hi!
I noticed this warning using the latest version from master:
;test.scm
(use data-structures)
(flatten '(1 2 3) '(4 5 6) '(7))
[hugo@io test]$ csc test.scm
Warning: at toplevel:
(test.scm:3) in procedure call to `flatten', expected 1 argument,
but was given 3 arguments
Is also easily repr
> I have applied the patch and tagged version 1.6. Could you document
> the new exports in the rss documentation at
Ready!
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Hi,
I found a little problem trying to read a feed using rss egg:
(use rss http-client)
(call-with-input-request "http://lambda-the-ultimate.org/rss.xml"; #f
(lambda (port)
(rss:read port)))
$ csi -s test.scm
Error: (match) no matching pattern
Playing with the code a little I found the problem
On Mon, Jun 17, 2013 at 4:42 PM, Daniel Ajoy wrote:
> which one is more up to date?
I think a combination of both is better, probably your lispwords list
will grow when you add new eggs or new syntax, I also have:
setl lispwords+=let-values,condition-case,with-input-from-string
setl
Hi guys,
A little question about foreigners. I have this:
typedef struct JavaVMOption {
...
} JavaVMOption;
(define-foreign-record-type (jvm-option "JavaVMOption")
...)
typedef struct JavaVMInitArgs {
...
JavaVMOption *options;
} JavaVMInitArgs;
Then I need to define a binding to J
Hi guys,
I'm having and strange problem trying to make a code work from 4.7 to 4.8:
its a very simple code that uses JNI to invoke CreateJVM:
https://gist.github.com/hugoArregui/a0a133385d62008b6a74
This is how I compile it and the result (using chicken 4.8.0.3):
$ csc ex.scm -ljvm
-L/usr/lib/jv
Thanks Christian!
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Hi guys,
I'm pretty new to macros, so I want to ask a couple of questions to
sort the things in my brain :-).
1) I think this is an issue regarding expansion time / runtime:
(define (aproc a)
(* 2 a))
(define-syntax amacro
(er-macro-transformer
(lambda (x r c)
(aproc 1
(print
Thanks Mario, Dan. Very useful information as usual!.
Regards,
Hugo
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Hi people,
some questions regarding egg docs:
1) I understand that the egg doc should be added to the wiki, but I
suppose that it should respect a particular format to be compatible
with chickadee, I'm right? where I can found it?
2) Is there any tools for this? I found the cock egg, but I don't
Hey Kristian,
many thanks for you response!
> Yeah, that example wasn't working for me either. If you put "(use easyffi)"
> at the top of the file though, it should work. Note that easyffi is
> deprecated, use bind instead:
>
> (use bind)
> (bind* "double modf(double x, ___out double *iptr);")
>
Hi again,
> 1) ..
> $ csc -X easyffi test.scm -c++; ./test
>
> Error: unbound variable: foreign-parse
> Call history:
> foreign-parse
>
> I have no idea of what's going on.
Could this be a problem in my installation?
The example in the wiki is not working either:
#>!
#ifndef CHI
Hi guys,
I'm having some troubles using easyffi to embed some C++ code in my
program, sorry if my questions are kind of trivial but it's the first
time that I do something like this.
1) First I try this:
http://pastebin.com/1X3qcvjK
Compiles with no error, but then I get this when it runs:
$ c
I think you are right Jim,
This is the way that C implementation packs float/doubles:
https://github.com/msgpack/msgpack-c/blob/master/pack_template.h#L635
Regards,
Hugo
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/
On Wed, Jan 30, 2013 at 10:52 PM, Kristian Lein-Mathisen
wrote:
> Hi Hugo,
>
> Msgpack seems like an interesting project indeed. Thanks for making an egg
> for it!
my pleasure!
> I'm quite a newbie myself, but I noticed the coops egg includes the module
> implementation directly, so you don't ha
Hi,
Recently I wrote an implementation of msgpack[1], which can be found
here[2]. This is my first "full" project in scheme, so I would
appreciate any feedback (please, be destructive).
A couple of points already has been mentioned:
- Macros to reduce redundancy (I'm reading about them, so I'm
e
Happy Chrismas for everyone!
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Well, it's finally working!. I just remove the complete chicken
installation, and then rebuild from zero.
Thanks!
Hugo
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Thanks for all yours replies!
>> This is weird. Do you have old chicken libraries lying around somewhere?
It is, I don't think so, but I will try to remove the whole chicken
installation, and then start fresh.
> If so, I'd expect to see C compiler warnings about assumptions of
> the function's s
On Thu, Dec 13, 2012 at 12:20 PM, Hugo Arregui wrote:
> Oh sorry, i left the most important thing out!
>
> $ csi -version
>
> CHICKEN
> (c)2008-2012 The Chicken Team
> (c)2000-2007 Felix L. Winkelmann
> Version 4.8.0 (rev 0db1908)
> linux-unix-gnu-x86 [ manyargs dload p
Hi guys,
I have a problem with and old script which uses srfi-19. I thinks
something went broke after an update: I'm using arch linux, and
chicken is installed from the package manager.
It's easy to reproduce, just enter csi, and then:
#;1> (use srfi-19)
; loading /usr/lib/chicken/6/srfi-19.impo
Thanks Felix!, I gonna try it.
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Sure,
i'm trying to build a script to list all my unsatisfied dependencies
(along all my source files), so I can install them (for example: after
a chicken upgrade). I'm already get the dependencies, but I need try
to load them, so I can kow if they are missing or not.
Thanks again!
Hi guys,
is there a way to catch "cannot import undefined module" error?
I tried with catch and "with-exception-handler" procedures, but they
don't seems to work.
Thanks!
Hugo.
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.non
On Thu, Jun 30, 2011 at 10:23 AM, Kon Lovett wrote:
> Unit files file-move
Even better, I will use this one.
Thanks everyone.
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
On Thu, Jun 30, 2011 at 10:16 AM, Peter Bex wrote:
> It's actually part of the available procedures inside a setup-script
> for eggs (see http://wiki.call-cc.org/man/4/Extensions#move-file)
>
> It is available in setup-api. (use setup-api)
>
Thanks Peter!
Hi guys,
I want to use move-file procedure, (
http://api.call-cc.org/doc/chicken/eggs/move-file ), but i cannot find
it as an egg or as an procedure. I mean, seems an egg, but
chicken-install cannot find it, and doesn't seems installed already.
Can you give me an advice?
(i tried chicken 4.5.0 an
On Sat, Dec 25, 2010 at 8:29 PM, Peter Bex wrote:
> Please try the attached patch and let me know if it helps.
Works great Peter, thanks.
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
Hi guys,
I was trying to download and parse a blogspot web, but I had an error:
Error: (string-split) bad argument type - not a string: #f
Call history:
uri-generic#uri-port
uri-generic#uri-scheme
alist-ref
uri-common#uri-port
ur
I want to thanks all chicken community, not just for the dev work, but
also for the amazing spirit what makes learning scheme even more
funniest than it is.
Thanks! and merry christmas!
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://list
On Tue, Dec 21, 2010 at 10:44 PM, Alex Shinn wrote:
> On Mon, Dec 20, 2010 at 1:45 AM, Hugo Arregui wrote:
>> Hi guys, I'm facing an unexpected behaviour using loopy-loop:
>
> Is there a reason you're using loopy-loop instead
> of the newer fast-loop?
I didn't
Hi guys, I'm facing an unexpected behaviour using loopy-loop:
(loop lm ((m <- in-range-reverse 6 4 1))
(print m)
(lm))
shows 6,5 as expected, but:
(loop lm ((m <- in-range-reverse 6 4))
(print m)
(lm))
theoretically the same, but don't shows anything at all.
Also, this:
Thanks for your comments Peter!, they are very interesting.
> It looks good to me. It only works for simple procedures though,
> not for procedures with optional arguments or keyword arguments.
> Keyword args can be in any order, and an optional argument can be
> identical to a missing argument w
Hi guys,
I wrote a small code to add procedure memoization, most for learning
purposes (attached).
I'm glad to ear your suggestions.
Also, I cheked advice egg, but I cannot find the way to reuse in this
particular case.
Thanks,
Hugo.
mem.scm
Description: Binary data
___
Thanks!
I'm not sure if it's a problem of my install, but I found this:
CHICKEN
(c)2008-2010 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.6.0
linux-unix-gnu-x86 [ manyargs dload ptables ]
compiled 2010-11-09 on archlinux (Linux)
; loading ./.csirc ...
#;1> (use charconv)
; loading
Hi everyone,
I have a few doubts after the upgrade:
- Which is the right procedure to upgrade eggs?
The new chicken version is still pointing to /usr/lib/chicken/5.
I try to export the CHICKEN_REPOSITORY var to a new
/usr/lib/chicken/6/, but the chicken-install script seems to ignore
this.
- A
Thanks Thomas, it's clear now.
On Thu, Nov 4, 2010 at 8:01 AM, Thomas Chust wrote:
> Hello,
>
> the locale egg may examine environment variables to set its default locale
> to the same one the C library would use, but the locale management of the egg
> and the C library is otherwise completely in
The spanish capitalization seems to be ok. Maybe this doesn't matter but:
(date-time . "~a ~d ~b ~H:~M:~S~z ~Y")
according to my unix date, should be:
(date-time . "~a ~b ~d ~H:~M:~S~z ~Y")
2010/11/3 Kon Lovett :
> Hi,
>
> Because I need to release an updated srfi-19 egg now is a good time to
On Wed, Nov 3, 2010 at 1:20 PM, Thomas Chust wrote:
> 2010/11/3 Hugo Arregui :
>> [...]
>> 1) Using posix:
>>
>> (use posix)
>> (time->string (string->time "2" "%d"))
>> "Tue Jan 2 00:00:00 1900"
>>
&g
Sorry, I'm bothering you again:
I found another issue with srfi-19:
string->date works as its expected with all full month name but may:
> (string->date "16 de Septiembre de 2007" "~d de ~B de ~Y")
#,(date 0 0 0 0 16 9 2007 -10800 ART #f #f #f #f)
> (string->date "16 de Mayo de 2007" "~d de ~B d
Sorry, I found another thing in srfi-19:
> (date->string (seconds->date 12) "~B")
"Diciembre"
but, now:
> (string->date (date->string (seconds->date 12) "~B") "~B")
Error: (scan-date) bad date template - date read incomplete
"~B"
#,(date 0 0 0 0 #f 12 #f -10800 ART #f #f #f #f)
I'm missing som
> I meant the date program in UNIX. The (2) refers to the manpage
> section. Sorry for the confusion.
No problem, here is:
$ date
mié nov 3 11:46:59 ART 2010
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listi
On Wed, Nov 3, 2010 at 10:44 AM, Peter Bex wrote:
>> 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"
>
> hmmm, I think time->string uses strftime(), so
Hi guys,
I'm facing some troubles getting a formatted string from a date.
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"
(Spanish, Argentina)
2) Trying srfi-19:
srfi-19-io ha
On Thu, Feb 18, 2010 at 1:23 PM, Hugo Arregui wrote:
> I am using Chicken Version 4.3.0 with Arch Linux.
>
> I'll try with a newer version, and see what happens.
>
> Thanks,
> Hugo.
>
I try with 4.3.5, and get the same result:
#;1> (/ 1 7)
0.142857142857143
#;2>
the 'printf' family.
> The only platform I know of that states it doesn't have 'gcvt' is MacOS X;
> it does but deprecated. I don't know about your platform. I am using Chicken
> Version 4.3.5 w/ MacoS 10.5 so YMMV.
>
> On Feb 17, 2010, at 1:49 PM,
Hi,
I have a few new questions about numbers:
Doing tests I find two values: flonum-precision (a variable) and
flonum-print-precision (a procedure), I suppose that the
flotnum-precision means the real working precision and the other one,
it's just for display. But, I tried:
;I'm using numbers ex
Hi,
there's a standard implementation for procedures memoization? Srfi or egg?
Thanks,
Hugo.
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
Thanks Peter, I install numbers and works like a charm!.
Thanks for the explanation too, It was very useful.
Cheers,
Hugo.
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
Hi,
I'm new in scheme, and, of course, in chicken too. I've a few newbie
doubts about numbers, I hope you can help me.
First, reading the scheme report I notice about a set of complex
numbers procedures:
make-rectangular
make-polar
real-part
etc
I found some of them implemented in chicken (with
67 matches
Mail list logo