[Chicken-users] srfi-18 documentation for thread-sleep!

2011-12-16 Thread Sascha Ziemann
The documentation for the thread-sleep! function in the srfi-18
documentation mentions a function called current-time. But that can
not be found:

http://wiki.call-cc.org/search?text=ident=current-time

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


Re: [Chicken-users] srfi-18 documentation for thread-sleep!

2011-12-16 Thread Christian Kellermann
* Sascha Ziemann cev...@gmail.com [111216 13:45]:
 The documentation for the thread-sleep! function in the srfi-18
 documentation mentions a function called current-time. But that can
 not be found:
 
 http://wiki.call-cc.org/search?text=ident=current-time

Thanks for spotting this!

You can replace the time-seconds part with (current-seconds).

HTH,

Christian

-- 
Who can (make) the muddy water (clear)? Let it be still, and it will
gradually become clear. Who can secure the condition of rest? Let
movement go on, and the condition of rest will gradually arise.
 -- Lao Tse. 

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


Re: [Chicken-users] srfi-18 documentation for thread-sleep!

2011-12-16 Thread Peter Bex
On Fri, Dec 16, 2011 at 01:43:01PM +0100, Sascha Ziemann wrote:
 The documentation for the thread-sleep! function in the srfi-18
 documentation mentions a function called current-time. But that can
 not be found:
 
 http://wiki.call-cc.org/search?text=ident=current-time

What do you mean?  I see one result, which links to
http://wiki.call-cc.org/man/4/Unit%20srfi-18
where it is documented.

Also, the API docs work better when you try to search
for something:
http://api.call-cc.org/doc/srfi-18/current-time

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music.
-- Donald Knuth

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


Re: [Chicken-users] srfi-18 documentation for thread-sleep!

2011-12-16 Thread Mario Domenech Goulart
Hi Sascha,
On Fri, 16 Dec 2011 13:43:01 +0100 Sascha Ziemann cev...@gmail.com wrote:

 The documentation for the thread-sleep! function in the srfi-18
 documentation mentions a function called current-time. But that can
 not be found:

 http://wiki.call-cc.org/search?text=ident=current-time

You probably need (use srfi-18) in your code.

See http://api.call-cc.org/doc/srfi-18/current-time

Best wishes.
Mario
-- 
http://parenteses.org/mario

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


Re: [Chicken-users] srfi-18 documentation for thread-sleep!

2011-12-16 Thread Christian Kellermann
* Christian Kellermann ck...@pestilenz.org [111216 13:48]:
 * Sascha Ziemann cev...@gmail.com [111216 13:45]:
  The documentation for the thread-sleep! function in the srfi-18
  documentation mentions a function called current-time. But that can
  not be found:
  
  http://wiki.call-cc.org/search?text=ident=current-time
 
 Thanks for spotting this!
 
 You can replace the time-seconds part with (current-seconds).

While this works of course, it is neither part of the original
problem nor adding anything to the discussion, please ignore this.

-- 
Who can (make) the muddy water (clear)? Let it be still, and it will
gradually become clear. Who can secure the condition of rest? Let
movement go on, and the condition of rest will gradually arise.
 -- Lao Tse. 

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


Re: [Chicken-users] srfi-18 documentation for thread-sleep!

2011-12-16 Thread obscuroloconato
2011/12/16 Peter Bex peter@xs4all.nl:

 Also, the API docs work better when you try to search
 for something:
 http://api.call-cc.org/doc/srfi-18/current-time


Thanks! My fault.

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