The gt Reference Manual

Table of Contents

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

The gt Reference Manual

This is the gt Reference Manual, version 0.0.0, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 12:55:12 2020 GMT+0.


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

1 Introduction

GT Common Utilities

Intended to be used with use as a replacement for the CL package. The GT package exports all symbols of the CL package, along with:


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

2 Systems

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


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

2.1 gt

Author

GrammaTech

License

MIT

Description

GrammaTech utilities.

Version

0.0.0

Defsystem Dependency

asdf-package-system

Dependency

gt/gt (system)

Source

gt.asd (file)


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

2.2 gt/gt

Author

GrammaTech

License

MIT

Dependencies
Source

gt.asd (file)

Component

lisp.lisp (file)


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

2.3 gt/fset

Author

GrammaTech

License

MIT

Dependencies
Source

gt.asd (file)

Component

lisp.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 gt.asd

Location

gt.asd

Systems

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

3.1.2 gt/gt/lisp.lisp

Parent

gt/gt (system)

Location

gt.lisp

Packages

gt

Exported Definitions
Internal Definitions

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

3.1.3 gt/fset/lisp.lisp

Parent

gt/fset (system)

Location

fset.lisp

Packages

gt/fset

Exported Definitions

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

4 Packages

Packages are listed by definition order.


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

4.1 gt

Source

lisp.lisp (file)

Nickname

gt/gt

Use List
Exported Definitions
Internal Definitions

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

4.2 gt/fset

Source

lisp.lisp (file)

Use List

common-lisp

Used By List

gt

Exported Definitions

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: infinity

Most positive number.

Package

gt

Source

lisp.lisp (file)

Special Variable: negative-infinity

Most negative number.

Package

gt

Source

lisp.lisp (file)

Special Variable: positive-infinity

Most positive number.

Package

gt

Source

lisp.lisp (file)


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

5.1.2 Macros

Macro: defmethod NAME &body BODY

Like ‘c2mop:defmethod’, but always warn if there is no generic function.

Package

gt

Source

lisp.lisp (file)

Macro: lessf PLACE &rest ITEM-OR-TUPLE

Modify macro for ‘fset:less’.

Package

gt

Source

lisp.lisp (file)

Macro: map-collect K V &rest ARGS
Package

gt

Source

lisp.lisp (file)

Macro: withf PLACE &rest ITEM-OR-TUPLE

Modify macro for ‘fset:with’.

Package

gt

Source

lisp.lisp (file)


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

5.1.3 Functions

Function: parse-numbers STRING &key RADIX DELIM
Package

gt

Source

lisp.lisp (file)


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

5.1.4 Generic functions

Generic Function: equal? A B

Generic equality designed to descend into structures.

Package

gt

Source

lisp.lisp (file)

Methods
Method: equal? A B around
Method: equal? A B
Method: equal? (A number) (B number)
Method: equal? (A character) (B character)
Method: equal? (A string) (B string)
Method: equal? (A collection) (B collection) around
Method: equal? (A collection) (B collection)
Method: equal? (A seq) (B seq)
Method: equal? (A set) (B set)
Method: equal? (A map) (B map)
Method: equal? (A bag) (B bag)
Method: equal? (A tuple) (B tuple)
Method: equal? (A sequence) (B sequence)
Method: equal? (A cons) (B cons)
Method: equal? (A array) (B array)
Method: equal? (A hash-table) (B hash-table)
Method: equal? (A standard-object) (B standard-object)
Generic Function: intersection COLLECTION-1 COLLECTION-2 &key KEY TEST TEST-NOT

Return the intersection of LIST1 and LIST2.

Package

gt/fset

Source

lisp.lisp (file)

Methods
Method: intersection (COLLECTION-1 list) (COLLECTION-2 list) &rest ARGS &key KEY TEST TEST-NOT
Method: intersection (COLLECTION-1 collection) (COLLECTION-2 collection) &key KEY TEST TEST-NOT
Generic Function: last COLLECTION &optional N

Return the last N conses (not the last element!) of a list.

Package

gt/fset

Source

lisp.lisp (file)

Methods
Method: last (COLLECTION null) &optional N
Method: last (COLLECTION cons) &optional N
Method: last (COLLECTION collection) &optional N &aux LEN
Generic Function: lastcar COLLECTION

Returns the last element of LIST. Signals a type-error if LIST is not a proper list.

Package

gt/fset

Source

lisp.lisp (file)

Methods
Method: lastcar (COLLECTION null)
Method: lastcar (COLLECTION cons)
Method: lastcar (COLLECTION collection)
Generic Function: lines THING

A list of lines in THING.

Package

gt

Source

lisp.lisp (file)

Methods
Method: lines (STRING string)
Generic Function: mapconcat FUNCTION COLLECTION SEPARATOR &key STREAM

Build a string by mapping FUNCTION over COLLECTION.
Separate each value with SEPARATOR.
An extension of ‘serapeum:mapconcat’ to include fset collections.

Package

gt

Source

lisp.lisp (file)

Methods
Method: mapconcat FUNCTION (SEQUENCE sequence) SEPARATOR &key STREAM
Method: mapconcat FUNCTION (SEQ seq) SEPARATOR &key STREAM
Generic Function: set-difference COLLECTION-1 COLLECTION-2 &key KEY TEST TEST-NOT

Return the elements of LIST1 which are not in LIST2.

Package

gt/fset

Source

lisp.lisp (file)

Methods
Method: set-difference (COLLECTION-1 list) (COLLECTION-2 list) &rest ARGS &key KEY TEST TEST-NOT
Method: set-difference (COLLECTION-1 collection) (COLLECTION-2 collection) &key KEY TEST TEST-NOT
Generic Function: union COLLECTION-1 COLLECTION-2 &key KEY TEST TEST-NOT

Return the union of LIST1 and LIST2.

Package

gt/fset

Source

lisp.lisp (file)

Methods
Method: union (COLLECTION-1 list) (COLLECTION-2 list) &rest ARGS &key KEY TEST TEST-NOT
Method: union (COLLECTION-1 collection) (COLLECTION-2 collection) &key KEY TEST TEST-NOT

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

5.2 Internal definitions


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

5.2.1 Macros

Macro: clause-%map-collect-12 &key (%MAP-COLLECT KV) (INTO VAR)
Package

gt

Source

lisp.lisp (file)

Macro: clause-for-in-bag-8 &key (FOR ELT) (IN-BAG BAG) GENERATE

Driver for FSet bags.

Package

gt

Source

lisp.lisp (file)

Macro: clause-for-in-bag-pairs-9 &key (FOR ELT) (IN-BAG-PAIRS BAG) GENERATE

Driver for FSet bags.

Package

gt

Source

lisp.lisp (file)

Macro: clause-for-in-iterator-3 &key (FOR NODE) (IN-ITERATOR IT) GENERATE

Driver for FSet iterators.

Package

gt

Source

lisp.lisp (file)

Macro: clause-for-in-map-7 &key (FOR NODE) (IN-MAP MAP) GENERATE

Driver for FSet maps. Each key-value pair is returned as a two-element list.

Package

gt

Source

lisp.lisp (file)

Macro: clause-for-in-map-iterator-4 &key (FOR NODE) (IN-MAP-ITERATOR IT) GENERATE

Driver for FSet map iterators.

Package

gt

Source

lisp.lisp (file)

Macro: clause-for-in-set-5 &key (FOR X) (IN-SET SET) GENERATE

Driver for FSet sets.

Package

gt

Source

lisp.lisp (file)

Macro: clause-for-in-tree-6 &key (FOR NODE) (IN-TREE TREE) GENERATE

Driver for functional trees.

Package

gt

Source

lisp.lisp (file)

Macro: clause-seq-collect-11 &key (SEQ-COLLECT X) (INTO VAR)
Package

gt

Source

lisp.lisp (file)

Macro: clause-set-collect-10 &key (SET-COLLECT X) (INTO VAR)
Package

gt

Source

lisp.lisp (file)


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

5.2.2 Functions

Function: apply-with MAP KV
Package

gt

Source

lisp.lisp (file)

Function: clause-for-in-seq-1 &key (FOR VAR) (IN-SEQ SEQ) (FROM FROM) (UPFROM UPFROM) (DOWNFROM DOWNFROM) (TO TO) (DOWNTO DOWNTO) (ABOVE ABOVE) (BELOW BELOW) (BY BY) (WITH-INDEX WITH-INDEX) GENERATE

Elements of anything that implements fset:size and fset:lookup.

Package

gt

Source

lisp.lisp (file)

Function: clause-for-index-of-seq-2 &key (FOR VAR) (INDEX-OF-SEQ SEQ) (FROM FROM) (UPFROM UPFROM) (DOWNFROM DOWNFROM) (TO TO) (DOWNTO DOWNTO) (ABOVE ABOVE) (BELOW BELOW) (BY BY) (WITH-INDEX WITH-INDEX) GENERATE

Indices of anything that implements fset:size and fset:lookup.

Package

gt

Source

lisp.lisp (file)

Function: compare/iterator COL1 COL2

Compare two FSet collections, known to be of the same size, using FSet’s iterator protocol.

Package

gt

Source

lisp.lisp (file)


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

5.2.3 Generic functions

Generic Function: text CONDITION
Package

gt

Methods
Method: text (CONDITION parse-number)
Source

lisp.lisp (file)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   F   G   L  
Index Entry  Section

F
File, Lisp, gt.asd: The gt․asd file
File, Lisp, gt/fset/lisp.lisp: The gt/fset/lisp․lisp file
File, Lisp, gt/gt/lisp.lisp: The gt/gt/lisp․lisp file

G
gt.asd: The gt․asd file
gt/fset/lisp.lisp: The gt/fset/lisp․lisp file
gt/gt/lisp.lisp: The gt/gt/lisp․lisp file

L
Lisp File, gt.asd: The gt․asd file
Lisp File, gt/fset/lisp.lisp: The gt/fset/lisp․lisp file
Lisp File, gt/gt/lisp.lisp: The gt/gt/lisp․lisp file

Jump to:   F   G   L  

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

A.2 Functions

Jump to:   A   C   D   E   F   G   I   L   M   P   S   T   U   W  
Index Entry  Section

A
apply-with: Internal functions

C
clause-%map-collect-12: Internal macros
clause-for-in-bag-8: Internal macros
clause-for-in-bag-pairs-9: Internal macros
clause-for-in-iterator-3: Internal macros
clause-for-in-map-7: Internal macros
clause-for-in-map-iterator-4: Internal macros
clause-for-in-seq-1: Internal functions
clause-for-in-set-5: Internal macros
clause-for-in-tree-6: Internal macros
clause-for-index-of-seq-2: Internal functions
clause-seq-collect-11: Internal macros
clause-set-collect-10: Internal macros
compare/iterator: Internal functions

D
defmethod: Exported macros

E
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions
equal?: Exported generic functions

F
Function, apply-with: Internal functions
Function, clause-for-in-seq-1: Internal functions
Function, clause-for-index-of-seq-2: Internal functions
Function, compare/iterator: Internal functions
Function, parse-numbers: Exported functions

G
Generic Function, equal?: Exported generic functions
Generic Function, intersection: Exported generic functions
Generic Function, last: Exported generic functions
Generic Function, lastcar: Exported generic functions
Generic Function, lines: Exported generic functions
Generic Function, mapconcat: Exported generic functions
Generic Function, set-difference: Exported generic functions
Generic Function, text: Internal generic functions
Generic Function, union: Exported generic functions

I
intersection: Exported generic functions
intersection: Exported generic functions
intersection: Exported generic functions

L
last: Exported generic functions
last: Exported generic functions
last: Exported generic functions
last: Exported generic functions
lastcar: Exported generic functions
lastcar: Exported generic functions
lastcar: Exported generic functions
lastcar: Exported generic functions
lessf: Exported macros
lines: Exported generic functions
lines: Exported generic functions

M
Macro, clause-%map-collect-12: Internal macros
Macro, clause-for-in-bag-8: Internal macros
Macro, clause-for-in-bag-pairs-9: Internal macros
Macro, clause-for-in-iterator-3: Internal macros
Macro, clause-for-in-map-7: Internal macros
Macro, clause-for-in-map-iterator-4: Internal macros
Macro, clause-for-in-set-5: Internal macros
Macro, clause-for-in-tree-6: Internal macros
Macro, clause-seq-collect-11: Internal macros
Macro, clause-set-collect-10: Internal macros
Macro, defmethod: Exported macros
Macro, lessf: Exported macros
Macro, map-collect: Exported macros
Macro, withf: Exported macros
map-collect: Exported macros
mapconcat: Exported generic functions
mapconcat: Exported generic functions
mapconcat: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, equal?: Exported generic functions
Method, intersection: Exported generic functions
Method, intersection: Exported generic functions
Method, last: Exported generic functions
Method, last: Exported generic functions
Method, last: Exported generic functions
Method, lastcar: Exported generic functions
Method, lastcar: Exported generic functions
Method, lastcar: Exported generic functions
Method, lines: Exported generic functions
Method, mapconcat: Exported generic functions
Method, mapconcat: Exported generic functions
Method, set-difference: Exported generic functions
Method, set-difference: Exported generic functions
Method, text: Internal generic functions
Method, union: Exported generic functions
Method, union: Exported generic functions

P
parse-numbers: Exported functions

S
set-difference: Exported generic functions
set-difference: Exported generic functions
set-difference: Exported generic functions

T
text: Internal generic functions
text: Internal generic functions

U
union: Exported generic functions
union: Exported generic functions
union: Exported generic functions

W
withf: Exported macros

Jump to:   A   C   D   E   F   G   I   L   M   P   S   T   U   W  

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

A.3 Variables

Jump to:   I   N   P   S  
Index Entry  Section

I
infinity: Exported special variables

N
negative-infinity: Exported special variables

P
positive-infinity: Exported special variables

S
Special Variable, infinity: Exported special variables
Special Variable, negative-infinity: Exported special variables
Special Variable, positive-infinity: Exported special variables

Jump to:   I   N   P   S  

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

A.4 Data types

Jump to:   G   P   S  
Index Entry  Section

G
gt: The gt system
gt: The gt package
gt/fset: The gt/fset system
gt/fset: The gt/fset package
gt/gt: The gt/gt system

P
Package, gt: The gt package
Package, gt/fset: The gt/fset package

S
System, gt: The gt system
System, gt/fset: The gt/fset system
System, gt/gt: The gt/gt system

Jump to:   G   P   S