From: Siraaj Khandkar Date: Thu, 19 Nov 2020 00:34:15 +0000 (-0500) Subject: Stop using vector-empty? X-Git-Tag: 0.3.5 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=5aaa408b900c1e3882cf74475d7945a4a9492d20;p=tt.git Stop using vector-empty? for compatibility with pre 7.4.0.4 Racket --- diff --git a/info.rkt b/info.rkt index 22b55b8..afe2865 100644 --- 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 ")) (define deps diff --git a/tt.rkt b/tt.rkt index 409ef51..421af36 100644 --- a/tt.rkt +++ b/tt.rkt @@ -219,7 +219,7 @@ (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 @@ -252,7 +252,7 @@ (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)