This is srfi-45.egg.info, produced by makeinfo version 4.7 from eggdoc-output.texi. INFO-DIR-SECTION The Algorithmic Language Scheme START-INFO-DIR-ENTRY * srfi-45.egg: (srfi-45.egg). Primitives for Expressing Iterative Lazy Algorithms END-INFO-DIR-ENTRY  File: srfi-45.egg.info, Node: Top, Next: About this egg, Up: (dir) srfi-45 egg *********** Primitives for Expressing Iterative Lazy Algorithms Written by Kon Lovett (mailto:klovett@pacbell.net) This manual corresponds to version 1.0 of the srfi-45 extension library for Chicken Scheme. * Menu: * About this egg:: * Documentation:: * License:: * Index::  File: srfi-45.egg.info, Node: About this egg, Next: Documentation, Prev: Top, Up: Top 1 About this egg **************** * Menu: * Version history:: * Usage:: * Requirements::  File: srfi-45.egg.info, Node: Version history, Next: Usage, Up: About this egg 1.1 Version history =================== `1.0' Initial release  File: srfi-45.egg.info, Node: Usage, Next: Requirements, Prev: Version history, Up: About this egg 1.2 Usage ========= Load this egg like so: `(require-extension srfi-45)'  File: srfi-45.egg.info, Node: Requirements, Prev: Usage, Up: About this egg 1.3 Requirements ================ This egg requires the following extensions: `box.egg'  File: srfi-45.egg.info, Node: Documentation, Next: License, Prev: About this egg, Up: Top 2 Documentation *************** Extends the interpretation of a promise to include lazy and eager promises. Unlike the reference implementation this version does not redefine 'delay'. For more information see SRFI-45 (http://srfi.schemers.org/srfi-45/srfi-45.html). -- macro: delay (delay EXPRESSION) Returns a promise, a delayed evaluation of `EXPRESSION'. Note that 'delay' is _not_ re-defined here. Mentioned only for completeness. -- macro: lazy (lazy EXPRESSION) Returns a promise for `EXPRESSION'. The promise will be iteratively forced, overwriting the promise at each step before the next iteration, so as to avoid storage leaks. -- macro: eager (eager EXPRESSION) Returns a promise but immediately evaluates `EXPRESSION'. Not much of a promise, more of a boxed value. For exposition purposes in algorithms. -- procedure: force (force OBJECT) Assuming the `OBJECT' is some kind of promise, returns the result of the delayed evaluation. -- procedure: standard-force (standard-force OBJECT) Assuming the `OBJECT' is a standard promise, returns the result of the delayed evaluation. The R5RS 'force'. -- procedure: promise? (promise? OBJECT) Some kind of promise? -- procedure: standard-promise? (standard-promise? OBJECT) The R5RS 'promise?' -- procedure: recursive-promise? (recursive-promise? OBJECT) Recursive promise? -- procedure: lazy-promise? (lazy-promise? OBJECT) Lazy recursive promise? -- procedure: eager-promise? (eager-promise? OBJECT) Eager recursive promise? This egg is *unsafe*!  File: srfi-45.egg.info, Node: License, Next: Index, Prev: Documentation, Up: Top 3 License ********* Copyright (c) 2006, Kon Lovett. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED ASIS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Does not supersede any restrictions in the source.  File: srfi-45.egg.info, Node: Index, Prev: License, Up: Top Index ***** [index] * Menu: * delay: Documentation. (line 14) * eager: Documentation. (line 31) * eager-promise?: Documentation. (line 73) * force: Documentation. (line 39) * lazy: Documentation. (line 22) * lazy-promise?: Documentation. (line 68) * promise?: Documentation. (line 53) * recursive-promise?: Documentation. (line 63) * standard-force: Documentation. (line 45) * standard-promise?: Documentation. (line 58)  Tag Table: Node: Top258 Node: About this egg626 Node: Version history811 Node: Usage965 Node: Requirements1150 Node: Documentation1326 Node: License3186 Node: Index4422  End Tag Table