[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: doc: Link to "Pattern Matching" in Guile.
From: |
guix-commits |
Subject: |
02/05: doc: Link to "Pattern Matching" in Guile. |
Date: |
Mon, 14 Dec 2020 06:31:50 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit f06f569aa27ff0642948c8bb6fcca78807046f3d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 14 12:19:05 2020 +0100
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.
---
doc/contributing.texi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/contributing.texi b/doc/contributing.texi
index d8de710..866d2da 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