New procedure LIST-OF-STRINGS?.
authorChris Hanson <org/chris-hanson/cph>
Mon, 6 May 1991 01:09:28 +0000 (01:09 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 6 May 1991 01:09:28 +0000 (01:09 +0000)
v7/src/edwin/utils.scm

index 465311ffccac3303b87b05a759f0019e62c1f730..687f630e23314a2427a249656f5a366dce784c2a 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/utils.scm,v 1.22 1991/04/21 00:52:42 cph Exp $
+;;;    $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/utils.scm,v 1.23 1991/05/06 01:09:28 cph Exp $
 ;;;
 ;;;    Copyright (c) 1986, 1989-91 Massachusetts Institute of Technology
 ;;;
 (define (string-or-false? object)
   ;; Useful as a type for option variables.
   (or (false? object)
-      (string? object)))
\ No newline at end of file
+      (string? object)))
+
+(define (list-of-strings? object)
+  (and (list? object)
+       (for-all? object string?)))
\ No newline at end of file