George C. Privon 2 роки тому
батько
коміт
85eddc7fd2
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      create_database.rkt

+ 2 - 1
create_database.rkt

@@ -1,4 +1,4 @@
-#lang racket/base
+#lang typed/racket/base
 
 ;; This program creates a sqlite3 database and then creates an empty table
 ;; for information on proposals.
@@ -7,6 +7,7 @@
          "config.rkt") ; load configuration file
 
 ; create the database and create the table
+(: createdb (-> String))
 (define (createdb dbloc)
   (write-string (string-append "Creating database " dbloc "\n"))
   (define conn (sqlite3-connect #:database dbloc