Ver Fonte

simplify number to string conversion and remove recently added library dependency

George C. Privon há 9 meses atrás
pai
commit
0863fdd804
1 ficheiros alterados com 2 adições e 3 exclusões
  1. 2 3
      proposal_database.rkt

+ 2 - 3
proposal_database.rkt

@@ -5,7 +5,6 @@
 (require racket/cmdline
          racket/date
          racket/list
-         racket/format
          db
          "config.rkt") ; load configuration file
 
@@ -80,10 +79,10 @@
               " ("
               (vector-ref entry 0)
               ") - "
-              (~s Nprop-PI)
+              (number->string Nprop-PI)
               (cond [(> Nprop-PI 1) " PI proposals and "]
                     [else " PI proposal and "])
-              (~s (- Nprop Nprop-PI))
+              (number->string (- Nprop Nprop-PI))
               (cond [(> Nprop 1) " Co-I proposals "]
                     [else " Co-I proposal "])
               "pending.")))