The specialized-function Reference Manual

This is the specialized-function Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 17:56:47 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 specialized-function

Provides a Julia-like function that automatically compiles a type-specific version of the function from the same code

Author

Masataro Asai

Contact

License

LGPL

Version

0.1

Dependencies
  • trivia (system).
  • alexandria (system).
  • iterate (system).
  • lisp-namespace (system).
  • type-r (system).
  • trivial-cltl2 (system).
Source

specialized-function.asd.

Child Components

3 Files

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


3.1 Lisp


3.1.1 specialized-function/specialized-function.asd

Source

specialized-function.asd.

Parent Component

specialized-function (system).

ASDF Systems

specialized-function.


3.1.2 specialized-function/0package.lisp

Source

specialized-function.asd.

Parent Component

specialized-function (system).

Packages

specialized-function.


3.1.3 specialized-function/1common.lisp

Source

specialized-function.asd.

Parent Component

specialized-function (system).

Public Interface
Internals

3.1.4 specialized-function/2find-lexical-variables.lisp

Source

specialized-function.asd.

Parent Component

specialized-function (system).

Internals

find-lexical-variables (function).


4 Packages

Packages are listed by definition order.


4.1 specialized-function

Source

0package.lisp.

Use List
  • alexandria.
  • common-lisp.
  • iterate.
  • lisp-namespace.
  • trivia.level2.
  • type-r.
Public Interface
Internals

5 Definitions

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


5.1 Public Interface


5.1.1 Macros

Macro: specializing (args (&key verbose time) &body decl-and-body)
Package

specialized-function.

Source

1common.lisp.


5.1.2 Ordinary functions

Function: register-base-type (type &optional *rebuild-widetag*)
Package

specialized-function.

Source

1common.lisp.


5.2 Internals


5.2.1 Special variables

Special Variable: *base-types*
Package

specialized-function.

Source

1common.lisp.

Special Variable: *benchmark-size*
Package

specialized-function.

Source

1common.lisp.

Special Variable: *rebuild-widetag*
Package

specialized-function.

Source

1common.lisp.


5.2.2 Macros

Macro: in-compile-time ((&optional env) &body body)

macro for debugging

Package

specialized-function.

Source

1common.lisp.


5.2.3 Ordinary functions

Function: array-element-types ()
Package

specialized-function.

Source

1common.lisp.

Function: benchmark ()
Package

specialized-function.

Source

1common.lisp.

Function: find-lexical-variables (env)
Package

specialized-function.

Source

2find-lexical-variables.lisp.

Function: rebuild-widetag ()
Package

specialized-function.

Source

1common.lisp.

Function: specialized-function-form (vars lexvars lexvars-types decl-and-body vals)
Package

specialized-function.

Source

1common.lisp.

Function: table (size)
Package

specialized-function.

Source

1common.lisp.

Function: upgraded-object-type (x)

Takes an object and returns a reasonable type declaration for the object. Analogous to upgraded-array-element-type, but works on an object.

Package

specialized-function.

Source

1common.lisp.

Function: widetag-lambda ()
Package

specialized-function.

Source

1common.lisp.


5.2.4 Types

Type: table (size)
Package

specialized-function.

Source

1common.lisp.


Appendix A Indexes


A.1 Concepts