From 73a4bfc3d8e9bb5365e33a11a6ad3b8340d5195b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 12 Jun 2022 21:09:35 +0200 Subject: Remove custom let*. While it was nice, the most important part was the multi-valued let from srfi-71 (which is implemented in srfi-71)). The minor pattern matching structures could often be replaced with car+cdr, or a propper match. --- doc/ref/guile/util.texi | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'doc/ref/guile') diff --git a/doc/ref/guile/util.texi b/doc/ref/guile/util.texi index 3f37491d..d7ed0785 100644 --- a/doc/ref/guile/util.texi +++ b/doc/ref/guile/util.texi @@ -46,18 +46,6 @@ If keys are a list, an match-lambda is used instead. @xref{Pattern Matching,,,guile} @end defmac -@defmac let* forms body ... -Replace let* with a version that can bind from lists. -Also supports SRFI-71 (extended let-syntax for multiple values) -@lisp -(let* ([a b (values 1 2)] ; @r{SRFI-71} - [(c d) '(3 4)] ; @r{Let-list (mine)} - [(a b . c) (cons* 1 2 3)] ; @r{Improper list matching (mine)} - [e 5]) ; @r{Regular} - (list e d c b a)) -;; => (5 4 3 2 1) -@end lisp -@end defmac @defmac print-and-return expr Prints @var{expr}, and then returns it. -- cgit v1.2.3