From 5aaa408b900c1e3882cf74475d7945a4a9492d20 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Wed, 18 Nov 2020 19:34:15 -0500 Subject: [PATCH] Stop using vector-empty? for compatibility with pre 7.4.0.4 Racket --- info.rkt | 2 +- tt.rkt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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) -- 2.20.1