[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile Impressions
From: |
Eric Moore |
Subject: |
Re: Guile Impressions |
Date: |
11 May 2001 07:38:14 -0400 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "John" == John Fitzgerald <address@hidden> writes:
>> Continuations (continued from above example):
>>
John> Have you ever had reason to use continuations in production
John> code?
I've used them for some searching related functions. Something like
'cut' in prolog so if I didn't like the first match, I called the
continuation the searching function returned, and it restarted the
calculation, returning the next item that matched transparently. Made
the code somewhat cleaner. Well, if you understand call/cc.
-Eric