George C. Privon %!s(int64=2) %!d(string=hai) anos
pai
achega
85eddc7fd2
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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