Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hugo Ishimaru
asdf
Commits
6be0789d
Commit
6be0789d
authored
13 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
Better documentation for version-satisfies, thanks to Robert Goldman.
parent
5d6995ae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/asdf.texinfo
+27
-4
27 additions, 4 deletions
doc/asdf.texinfo
with
27 additions
and
4 deletions
doc/asdf.texinfo
+
27
−
4
View file @
6be0789d
...
...
@@ -1237,6 +1237,7 @@ and @emph{operations}, the actions that can be performed on a system.
@menu
* Operations::
* Components::
* Functions::
@end menu
@node Operations, Components, The object model of ASDF, The object model of ASDF
...
...
@@ -1437,7 +1438,7 @@ if you don't like the default one
Operations that print output should send that output to the standard
CL stream @code
{
*standard-output*
}
, as the Lisp compiler and loader do.
@node Components,
, Operations, The object model of ASDF
@node Components,
Functions
, Operations, The object model of ASDF
@comment node-name, next, previous, up
@section Components
@cindex component
...
...
@@ -1600,11 +1601,14 @@ The syntax is approximately
@verbatim
(this-op
{
(other-op required-components)
}
+)
required-components := component-name
simple-component-name := string
| symbol
required-components := simple-component-name
| (required-components required-components)
component-name := s
tring
| (:version s
tring
minimum-version-object)
component-name := s
imple-component-name
| (:version s
imple-component-name
minimum-version-object)
@end verbatim
Side note:
...
...
@@ -1815,6 +1819,25 @@ The new component type is used in a @code{defsystem} form in this way:
)
@end lisp
@node Functions, , Components, The object model of ASDF
@comment node-name, next, previous, up
@section Functions
@findex version-satisfies
@deffn version-satisfies @var
{
version
}
@var
{
version-spec
}
Does @var
{
version
}
satisfy the @var
{
version-spec
}
. A generic function.
ASDF provides built-in methods for @var
{
version
}
being a
@code
{
component
}
or @code
{
string
}
. @var
{
version-spec
}
should be a
string.
In the wild, we typically see version numbering only on components of
type @code
{
system
}
.
For more information about how @code
{
version-satisfies
}
interprets
version strings and specifications, @pxref
{
The defsystem grammar
}
and
@ref
{
Common attributes of components
}
.
@end deffn
@node Controlling where ASDF searches for systems, Controlling where ASDF saves compiled files, The object model of ASDF, Top
@comment node-name, next, previous, up
@chapter Controlling where ASDF searches for systems
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment