Stop using vector-empty? 0.3.5
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 19 Nov 2020 00:34:15 +0000 (19:34 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 19 Nov 2020 00:36:26 +0000 (19:36 -0500)
for compatibility with pre 7.4.0.4 Racket

info.rkt
tt.rkt

index 22b55b8..afe2865 100644 (file)
--- a/info.rkt
+++ b/info.rkt
@@ -6,7 +6,7 @@
 (define pkg-desc
   "twtxt client")
 (define version
-  "0.3.4")
+  "0.3.5")
 (define pkg-authors
   '("Siraaj Khandkar <siraaj@khandkar.net>"))
 (define deps
diff --git a/tt.rkt b/tt.rkt
index 409ef51..421af36 100644 (file)
--- a/tt.rkt
+++ b/tt.rkt
 (define user-agent
   (let*
     ([prog-name      "tt"]
-     [prog-version   "0.3.4"]
+     [prog-version   "0.3.5"]
      [prog-uri       "https://github.com/xandkar/tt"]
      [user-feed-file (expand-user-path "~/twtxt-me.txt")]
      [user
 
   (define args (current-command-line-arguments))
   (define feeds
-    (if (vector-empty? args)
+    (if (= 0 (vector-length args))
       (we-are-twtxt)
       (file->feeds (vector-ref args 0))))
   (define out-format 'multi-line)
This page took 0.041041 seconds and 4 git commands to generate.