The trivial-update Reference Manual

Table of Contents

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

The trivial-update Reference Manual

This is the trivial-update Reference Manual, version 0.1.0, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 12:42:39 2018 GMT+0.


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

1 Introduction

trivial-update

License MIT Build Status Quicklisp

Easily change place with any supplied function. This library is most useful in cases when you have do deal with places that have complex structure.

Installation

Copy files of this library in any place where ASDF can find them. Then you can use it in system definitions and ASDF will take care of the rest.

Via Quicklisp (recommended):

(ql:quickload "trivial-update")

Description

update place fn &rest args &environment env

Replace value at place by applying function fn to it. Value at place is used as the first argument for the given function fn, other optional arguments args will be used to fill the rest of the argument list. Parameter env is set by Common Lisp implementation during macro expansion.

If value at place should not be put as first argument of given function, use partial application to pad some arguments. Combination of partial application and &rest arguments will give you the opportunity to pass old value at place on any position in the argument list.

Remember that keyword parameters are just pairs of normal arguments.

License

Copyright © 2014–2018 Mark Karpov

Distributed under MIT Licens


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-update

Author

Mark Karpov

License

MIT

Description

tools for easy modification of places with any given function

Version

0.1.0

Source

trivial-update.asd (file)

Component

trivial-update.lisp (file)


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

3 Files

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


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

3.1 Lisp


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

3.1.1 trivial-update.asd

Location

trivial-update.asd

Systems

trivial-update (system)


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

3.1.2 trivial-update/trivial-update.lisp

Parent

trivial-update (system)

Location

trivial-update.lisp

Packages

trivial-update

Exported Definitions

update (macro)


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

4 Packages

Packages are listed by definition order.


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

4.1 trivial-update

Source

trivial-update.lisp (file)

Use List

common-lisp

Exported Definitions

update (macro)


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

5 Definitions

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


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

5.1 Exported definitions


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

5.1.1 Macros

Macro: update PLACE FN &rest ARGS

Replace value at PLACE by applying function FN to it. Value at PLACE is used as the first argument for given function FN, other optional arguments ARGS will be used to fill the rest of the argument list. Parameter ENV is set by Common Lisp implementation during macro expansion.

If value at PLACE should not be put as first argument of given function, use partial application to pad some arguments. Combination of currying and &REST arguments will give you opportunity to pass old value at PLACE on any position in the argument list.

Remember that keyword parameters are just pairs of normal arguments.

Package

trivial-update

Source

trivial-update.lisp (file)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   F   L   T  
Index Entry  Section

F
File, Lisp, trivial-update.asd: The trivial-update<dot>asd file
File, Lisp, trivial-update/trivial-update.lisp: The trivial-update/trivial-update<dot>lisp file

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

T
trivial-update.asd: The trivial-update<dot>asd file
trivial-update/trivial-update.lisp: The trivial-update/trivial-update<dot>lisp file

Jump to:   F   L   T  

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

A.2 Functions

Jump to:   M   U  
Index Entry  Section

M
Macro, update: Exported macros

U
update: Exported macros

Jump to:   M   U  

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

A.3 Variables


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

A.4 Data types

Jump to:   P   S   T  
Index Entry  Section

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

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

T
trivial-update: The trivial-update system
trivial-update: The trivial-update package

Jump to:   P   S   T