guile-user
[Top][All Lists]
Advanced

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

Re: Guile support in GNU make


From: Thien-Thi Nguyen
Subject: Re: Guile support in GNU make
Date: Mon, 23 Jan 2012 07:01:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

() Paul Smith <address@hidden>
() Sun, 22 Jan 2012 16:56:19 -0500

      ;; Printable string (no special characters)
      ((and (string? x)
            (eq? (string-length (string-delete x char-set:printing)) 0))
       x)

   It's trying to determine if the string contains any non-printable chars.

   How can I write this [...]

Use ‘and-map’ with a predicate wrapped around ‘char-set:printing’ directly.



reply via email to

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