[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Paper size survey
From: |
Mattes |
Subject: |
Re: Paper size survey |
Date: |
Wed, 22 Apr 2015 09:28:27 +0200 |
User-agent: |
SOGoMail 2.2.16 |
Am Dienstag, 21. April 2015 14:44 CEST, "Mattes" <address@hidden> schrieb:
> (define pair-or-rational? (thing)
> (or
> (pair? thing)
> (rational? thing)))
As Orm Finnenahl correctly observed I unconsciously slipped into
Common Lisp :-/
Here's the Scheme variant:
(define (pair-or-rational? thing)
(or
(pair? thing)
(rational? thing)))
Cheers, RalfD