Re: [Chicken-users] Bug or feature? WRT testbase

2008-03-10 Thread Robin Lee Powell
On Sun, Mar 09, 2008 at 07:51:11AM -0700, Kon Lovett wrote:
>
> On Mar 9, 2008, at 12:12 AM, Robin Lee Powell wrote:
>
>> On Sat, Mar 08, 2008 at 05:41:50PM -0800, Kon Lovett wrote:
>>>
>>>
>>> Bug in "testbase". Fixed in 1.5.1 in release/3.
>>
>> chicken-setup doesn't grab that;
>
> Does for me. Are you using a version 2 Chicken? I have updated the  
> release/2 "testbase" but that won't be visible for about a day.

It works now.  Thanks!

-Robin

-- 
Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo
Proud Supporter of the Singularity Institute - http://singinst.org/
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] google summer of code

2008-03-10 Thread Houman Zolfaghari

On 10-Mar-08, at 4:18 PM, felix winkelmann wrote:


(Side note: Monads are just CPS in disguise, statically typed and
in a side-effect free environment)


The continuation monad is indeed CPS intentionally in disguise. Note  
however that monads are not limited to CPS or state threading. Monads  
have many other interesting uses and they present a powerful paradigm  
for adding features to functional semantics in a systematic and  
uniform manner. And even if the are absolutely about types (a monad  
is a type "lifting"), monads can very well be used in dynamically  
typed language. Unfortunately, very little has been written about  
them in scheme/lisp context.


I've been using "monadic" combinators for parsing and pattern  
matching in chicken quite lot in the last few years. So I have some  
experience about implementing them now in scheme. These combinator  
should becomme an egg very soon, if I find the time to write a proper  
documentation for it...


Cheers

Houman


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] google summer of code

2008-03-10 Thread Ivan Raikov

  Well, users of monadic programming languages would say that
continuations are monads in disguise :-) And yes, monads are "just"
statically typed continuations in a side-effect free environment, but
my point was that implementing them in Chicken would be non-trivial,
unless you had an elegant way to specify operational semantics.

  -Ivan


"felix winkelmann" <[EMAIL PROTECTED]> writes:

> On 3/7/08, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>>
>>  Concurrent Haskell is based on monadic processes: if you want to
>> have Haskell-like threads, first you need to provide support for
>> monads in the core of Chicken.
>
> (Side note: Monads are just CPS in disguise, statically typed and
> in a side-effect free environment)
>
>
> cheers,
> felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] salmonella reports broken?

2008-03-10 Thread Ivan Raikov

  Yes, this is all my fault, next time I will run salmonella before I
commit changes to chicken-setup, I promise :-)

   -Ivan


"Graham Fawcett" <[EMAIL PROTECTED]> writes:

> Hi Mario,
>
> It looks like the salmonella scheduled task is choking on something.
> Recently the eggs are failing to build, showing this error text:
>
> Error: unbound variable: -script
>
> Not the end of the world, but I wasn't sure if you were aware of the problem.
>
> Best,
> Graham


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Re: [Chicken-hackers] Re: soc - Doing it now

2008-03-10 Thread Kon Lovett


On Mar 10, 2008, at 3:57 PM, felix winkelmann wrote:


Hi!

Can someone please do me a favour? I'm trying to submit a form here:

http://code.google.com/soc/2008/org_signup.html

Now, this thing apparently doesn't like the data I filled in, or the
computer I'm sending it from. Can someone with a google account post
it? I'm practically at the edge of Europe
here, and the weather is very bad and I'm using an underpowered
Windows box on dial up and the submission has to be done until
tomorrow.

The form data is attached. Yes, it was written with notepad.

Please help.

(I'm at this moment on the west-coast of Ireland. Chicken was born  
here! :-)



cheers,
felix___
Chicken-hackers mailing list
[EMAIL PROTECTED]
http://lists.nongnu.org/mailman/listinfo/chicken-hackers


Best Wishes,
Kon




___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] google summer of code

2008-03-10 Thread felix winkelmann
On 3/7/08, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>
>  Concurrent Haskell is based on monadic processes: if you want to
> have Haskell-like threads, first you need to provide support for
> monads in the core of Chicken.

(Side note: Monads are just CPS in disguise, statically typed and
in a side-effect free environment)


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Cairo binding

2008-03-10 Thread felix winkelmann
On 3/9/08, Luke McCarthy <[EMAIL PROTECTED]> wrote:
> I am using the Cairo egg, but it's incomplete so I have been adding new
> procedures as I need them for my project. Is anyone working on this at the
> moment? I am willing on bringing it up to date and completing the API
> support. Where should I submit a patch?

Hi!

I'm not aware of anybody working on such a thing.
You can post patches here,no problem - someone
(like me) will pick it up.


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Re: salmonella reports broken?

2008-03-10 Thread Mario Domenech Goulart
Hi Graham,

On Mon, 10 Mar 2008 15:56:04 -0400 "Graham Fawcett" <[EMAIL PROTECTED]> wrote:

> It looks like the salmonella scheduled task is choking on something.
> Recently the eggs are failing to build, showing this error text:
> 
> Error: unbound variable: -script
> 
> Not the end of the world, but I wasn't sure if you were aware of the problem.

Thanks for reporting this.  Actually, Ivan reported it yesterday and I
have fixed it today.  So, tomorrow we'll have some useful results.

Best wishes,
Mario



___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] salmonella reports broken?

2008-03-10 Thread Graham Fawcett
Hi Mario,

It looks like the salmonella scheduled task is choking on something.
Recently the eggs are failing to build, showing this error text:

Error: unbound variable: -script

Not the end of the world, but I wasn't sure if you were aware of the problem.

Best,
Graham


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] ditching syntax-case modules for the utf8 egg

2008-03-10 Thread Robin Lee Powell
Replying to very old mail.  :)

On Thu, Jun 28, 2007 at 12:25:54PM +0900, Alex Shinn wrote:
> Hi all,
>
> Following up on trac ticket #258:
>
>  http://trac.callcc.org/ticket/258

Which is down right now, unfortunately.

> I'm considering changing the utf8 egg to no longer use syntax-case
> modules, so that it would work like the numbers egg.
>
> The way this would work is that, naturally, if you wanted to use
> utf8 semantics you'd just (use utf8), this time with no need for
> syntax-case and nothing to import.
>
> External modules, by default, would integrate standard string
> procedures and not be affected.  However, if you wanted to make an
> extension optionally work with utf8 semantics you could compile it
> with
>
>  (declare (not usual-integrations))
>
> or alternately
>
>  (declare (not usual-integrations string-ref string-set! ...))
>
> for all the utf8-specific string procedures.

Perhaps I'm missing something, but I *really* don't like the idea of
having to manage my own personal versions of spiffy and all of its
dependencies just to get utf8 support.  That seems really
sub-optimal.

-Robin

-- 
Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo
Proud Supporter of the Singularity Institute - http://singinst.org/
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] UTF8

2008-03-10 Thread Jean-Philippe Theberge

Alex Shinn wrote:

Jean-Philippe Theberge <[EMAIL PROTECTED]> writes:



> Where is match defined?

It's included by default, but you need to (use matchable)
when using syntax-case or any of the other hygienic macro
systems.

  


Thanks!
It is working now :-)



--
BuddyPilots 
*Jean-Philippe Théberge*
*Programmeur Architecte*
Tel: (514) 353-2307





___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] UTF8

2008-03-10 Thread Alex Shinn
> Jean-Philippe Theberge <[EMAIL PROTECTED]> writes:

> Where is match defined?

It's included by default, but you need to (use matchable)
when using syntax-case or any of the other hygienic macro
systems.

-- 
Alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] UTF8

2008-03-10 Thread Jean-Philippe Theberge

Mario Domenech Goulart wrote:

Hi,

On Mon, 10 Mar 2008 11:16:08 -0400 Jean-Philippe Theberge <[EMAIL PROTECTED]> 
wrote:

  

Am I doing something wrong here?

(require-extension utf8)
(module BuddyPilots ()
(import utf8)
...
)

Error: unbound variable: utf8



I guess you need (require-extension syntax-case) too.

  


Yes, that did it!

But now I have a new problem...

Error: unbound variable: match

If I do not import utf8 Idont have this error

The call to 'match' is in the sql egg


(define (sql:transform x)
 (define (infix op items)
   (list #\( (intersperse items op) #\)))
 (match x
   (('and)
'TRUE)
   (('and items ...)
(infix " AND " (map sql:transform items)))
   

Where is match defined?


Best wishes,
Mario


  



--
BuddyPilots 
*Jean-Philippe Théberge*
*Programmeur Architecte*
Tel: (514) 353-2307





___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] google summer of code

2008-03-10 Thread Alaric Snell-Pym


On 7 Mar 2008, at 5:01 pm, Graham Fawcett wrote:


On reflection, I'd much rather see a really efficient IPC system like
this, rather than having a native-threaded Chicken.


Yep. The overheads (mainly in terms of complexity!) of native threads
are well avoided.


Other than for concurrent designs, I think there is a case for native
threads when I/O is involved.



Possibly, as an implementation detail - something buried in the C
runtime layer, used on platforms that don't have good enough non-
blocking I/O facilities, or for using external C libraries that block
the whole process without asking (cf. recent readline gripes)? All in
the native C layer, the i/o thread(s) would only transiently hold
references to things, and could register them with the GC as being
held by an i/o thread before being passed them, and unregistered
afterwards, etc.

ABS

--
Alaric Snell-Pym
Work: http://www.snell-systems.co.uk/
Play: http://www.snell-pym.org.uk/alaric/
Blog: http://www.snell-pym.org.uk/?author=4




___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] UTF8

2008-03-10 Thread Mario Domenech Goulart
Hi,

On Mon, 10 Mar 2008 11:16:08 -0400 Jean-Philippe Theberge <[EMAIL PROTECTED]> 
wrote:

> Am I doing something wrong here?
> 
> (require-extension utf8)
> (module BuddyPilots ()
> (import utf8)
> ...
> )
> 
> Error: unbound variable: utf8

I guess you need (require-extension syntax-case) too.

Best wishes,
Mario


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] UTF8

2008-03-10 Thread Jean-Philippe Theberge

Hi all.

Am I doing something wrong here?

(require-extension utf8)
(module BuddyPilots ()
   (import utf8)
   ...
)

Error: unbound variable: utf8

   Call history:

   (begin (begin (##sys#require (quote utf8))) 
(##core#undefined))

   (begin (##sys#require (quote utf8)))
   (##sys#require (quote utf8))
   (quote utf8)
   (##core#undefined)
   (##sys#require (quote utf8))
   (import utf8)
   (import utf8)<--

Thanks for any help you can give me!

--
BuddyPilots 
*Jean-Philippe Théberge*
*Programmeur Architecte*
Tel: (514) 353-2307





___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] macrolet

2008-03-10 Thread Alex Shinn
> "Alex" == Alex Shinn <[EMAIL PROTECTED]> writes:

> "Lui" == Lui Fungsin <[EMAIL PROTECTED]> writes:

Lui> - riaxpander currenlty requires case-insensible
Lui> mode, and that mode breaks a few eggs that I'm
Lui> using (e.g. ssax)

Alex> There's no reason for this - it needs to be
Alex> compiled with csc -i, but then you should be able
Alex> to load it with case-sensitive Chicken.  I've
Alex> removed that restriction in my local copy and will
Alex> check it in later.

Lui> - riaxpander doesn't yet support #!optional ,
Lui> #!key, etc. which i used a lot in my code.

Alex> I'll add these shortly as well.

OK, I've just checked in the changes.  riaxpander should now
work as a drop-in replacement for the syntactic-closures egg.

-- 
Alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] google summer of code

2008-03-10 Thread Alaric Snell-Pym


On 7 Mar 2008, at 3:24 am, Alex Shinn wrote:


What I would probably end up doing is choosing a single
macro system to be required for the module system.  Probably
riaxpander because Taylor Campbell will actively support it
and it already handles syntax-rules, syntactic-closures and
explicit renaming.


That's fine by me! Using an existing universal macro-expander rather
than writing a modular macro expander from scratch is a fine
avoidance of duplicated labour :-)

ABS

--
Alaric Snell-Pym
Work: http://www.snell-systems.co.uk/
Play: http://www.snell-pym.org.uk/alaric/
Blog: http://www.snell-pym.org.uk/?author=4




___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Egg svn request: caketext

2008-03-10 Thread Robin Lee Powell

caketext is a work-alike port of the Perl module Locale::Maketext
(see
http://search.cpan.org/dist/Locale-Maketext/lib/Locale/Maketext.pod
) to Chicken Scheme.  I haven't made any real-world use of it, but I
certainly intend to, and it's been tested thoroughly.

I'd like the username rlpowell for upload access, please.

Thanks.

-Robin

-- 
Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo
Proud Supporter of the Singularity Institute - http://singinst.org/
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users