summaryrefslogtreecommitdiff
path: root/doc/contributing.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-12-14 12:19:05 +0100
committerLudovic Courtès <ludo@gnu.org>2020-12-14 12:19:05 +0100
commitf06f569aa27ff0642948c8bb6fcca78807046f3d (patch)
tree36559783824ad6ab0a680538fc73beec99fdc629 /doc/contributing.texi
parent5fe87ef51c0b6c41ad8f53579f0fd515f0ab059e (diff)
downloadguix-patches-f06f569aa27ff0642948c8bb6fcca78807046f3d.tar
guix-patches-f06f569aa27ff0642948c8bb6fcca78807046f3d.tar.gz
doc: Link to "Pattern Matching" in Guile.
* doc/contributing.texi (Data Types and Pattern Matching): Link to the "Pattern Matching" node of the Guile manual.
Diffstat (limited to 'doc/contributing.texi')
-rw-r--r--doc/contributing.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/contributing.texi b/doc/contributing.texi
index d8de71055a..866d2dae6b 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -864,7 +864,8 @@ to proper type error reports.
Guix code should define appropriate data types (for instance, using
@code{define-record-type*}) rather than abuse lists. In addition, it
should use pattern matching, via Guile’s @code{(ice-9 match)} module,
-especially when matching lists.
+especially when matching lists (@pxref{Pattern Matching,,, guile, GNU
+Guile Reference Manual}).
@node Formatting Code
@subsection Formatting Code