The trivial-lazy Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The trivial-lazy Reference Manual

This is the trivial-lazy Reference Manual, version 0.1, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 04:40:49 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

TRIVIAL-LAZY -- Trivial lazy macros and functions for Common Lisp

It was implemented many times and by many people. It has turned out that I needed a separate and complete library that would implement trivial lazy macros and functions DELAY, FORCE and MEMO described in SICP. Only my implementation has an optional support of multi-threading.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 trivial-lazy

Author

David Sorokin

License

MIT

Description

Trivial lazy macros and functions for Common Lisp.

Version

0.1

Dependency

bordeaux-threads

Source

trivial-lazy.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Next: , Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 trivial-lazy.asd

Location

trivial-lazy.asd

Systems

trivial-lazy (system)


Previous: , Up: Lisp files   [Contents][Index]

3.1.2 trivial-lazy/trivial-lazy.lisp

Parent

trivial-lazy (system)

Location

trivial-lazy.lisp

Packages

trivial-lazy

Exported Definitions
Internal Definitions

*memo-lock* (special variable)


Previous: , Up: Files   [Contents][Index]

3.2 Other


Previous: , Up: Other files   [Contents][Index]

3.2.1 trivial-lazy/README

Parent

trivial-lazy (system)

Location

README


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 trivial-lazy

Source

trivial-lazy.lisp (file)

Nickname

tlazy

Use List
Exported Definitions
Internal Definitions

*memo-lock* (special variable)


Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: *memo-thread-safe*

Defines whether the memo is thread-safe.

Package

trivial-lazy

Source

trivial-lazy.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Macros

Macro: delay EXP &key THREAD-SAFE

Delay the expression.

Package

trivial-lazy

Source

trivial-lazy.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Functions

Function: force DELAYED-EXP

Force to return the value of the delayed expression.

Package

trivial-lazy

Source

trivial-lazy.lisp (file)

Function: force-safely DELAYED-EXP?

Force safely to return the value of the delayed expression.

Package

trivial-lazy

Source

trivial-lazy.lisp (file)

Function: memo FUNCTION &key THREAD-SAFE

Memoize the specified function.

Package

trivial-lazy

Source

trivial-lazy.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *memo-lock*

The global lock.

Package

trivial-lazy

Source

trivial-lazy.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   O   T  
Index Entry  Section

F
File, Lisp, trivial-lazy.asd: The trivial-lazy<dot>asd file
File, Lisp, trivial-lazy/trivial-lazy.lisp: The trivial-lazy/trivial-lazy<dot>lisp file
File, other, trivial-lazy/README: The trivial-lazy/readme file

L
Lisp File, trivial-lazy.asd: The trivial-lazy<dot>asd file
Lisp File, trivial-lazy/trivial-lazy.lisp: The trivial-lazy/trivial-lazy<dot>lisp file

O
Other File, trivial-lazy/README: The trivial-lazy/readme file

T
trivial-lazy.asd: The trivial-lazy<dot>asd file
trivial-lazy/README: The trivial-lazy/readme file
trivial-lazy/trivial-lazy.lisp: The trivial-lazy/trivial-lazy<dot>lisp file

Jump to:   F   L   O   T  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   D   F   M  
Index Entry  Section

D
delay: Exported macros

F
force: Exported functions
force-safely: Exported functions
Function, force: Exported functions
Function, force-safely: Exported functions
Function, memo: Exported functions

M
Macro, delay: Exported macros
memo: Exported functions

Jump to:   D   F   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
S  
Index Entry  Section

*
*memo-lock*: Internal special variables
*memo-thread-safe*: Exported special variables

S
Special Variable, *memo-lock*: Internal special variables
Special Variable, *memo-thread-safe*: Exported special variables

Jump to:   *  
S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   P   S   T  
Index Entry  Section

P
Package, trivial-lazy: The trivial-lazy package

S
System, trivial-lazy: The trivial-lazy system

T
trivial-lazy: The trivial-lazy system
trivial-lazy: The trivial-lazy package

Jump to:   P   S   T