A.48 library(record): Access named fields in a term
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(record): Access named fields in a term
record/1
Packages
Availability:
:- use_module(
library(record)
).
(can be autoloaded)
record
(
+Spec
)
The construct
:- record Spec, ...
is used to define access to named fields in a compound. It is subject to term-expansion (see
expand_term/2
) and cannot be called as a predicate. See
section A.48
for details.