Version: 4.1.4.3
3 PLaneT Packages
This module provides tools relating to PLaneT packages.
(this-package-version-symbol) |
(this-package-version-symbol path) |
Produces a symbol corresponding to a planet module path for the current
planet package, possibly with a ‹path› (from the grammar of
planet module specs) into the package. This is similar to
this-package-version and similar tools from
planet/util.
(defmodule/this-package) |
(defmodule/this-package #:use-sources [src-path ...] [src ...]) |
(defmodule/this-package path) |
(defmodule/this-package path #:use-sources [src-path ...] [src ...]) |
This Scribble form corresponds to defmodule within a planet package.
The displayed module path is a planet module path to the current planet
package, possibly with a ‹path› (from the grammar of planet
module specs) into the package. If the #:use-sources option is
present, each src-path is similarly treated as a path into the current
planet package, while each src is treated normally. Both sets of paths
are concatenated and passed to the normal defmodule.
(schememodname/this-package) |
(schememodname/this-package path) |
This Scribble form corresponds to schememodname much like
defmodule/this-package above corresponds to defmodule. The
path, if present, is treated as a ‹path› (from the grammar of
planet module specs) into the current planet package, and converted
into a planet module spec.
(declare-exporting/this-package [mod-path ...] [mod ...]) |
(declare-exporting/this-package [mod-path ...] [mod ...] | #:use-sources [src-path ...] [src ...]) |
|
This Scribble form corresponds to declare-exporting much like
defmodule/this-package above corresponds to defmodule. Each
mod-path and src-path is treated as a ‹path› (from the
grammar of planet module specs) into the current package. They are
concatenated with the lists of mods and srcs, respectively,
and passed to the normal declare-exporting.