guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] doc: Extend documentation for (ice-9 match)


From: Maxime Devos
Subject: Re: [PATCH] doc: Extend documentation for (ice-9 match)
Date: Tue, 17 Oct 2023 22:41:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

Op 15-10-2023 om 19:40 schreef Tomas Volf:
I am not aware of any bugs here, but I wanted to adhere to the style of the
original examples:

     (let ((l '(hello (world))))
       (match l           ;; <- the input object
         (('hello (who))  ;; <- the pattern
          who)))          ;; <- the expression evaluated upon matching

I can inline it if you would prefer.

I can't say I consider this good style, but I now recall there were reasons (that I personally disagree with) for that style, though I don't recall what those where.

Whether you choose to to inline it or not, please do it consistently.
(I know this doesn't quite answer the implicit question, but I don't have an answer.)

Best regards,
Maxime Devos

Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]