organized functions into files
parent
2c9720fe17
commit
6125f0e114
3
args.rkt
3
args.rkt
|
@ -2,9 +2,8 @@
|
||||||
|
|
||||||
(require racket/vector
|
(require racket/vector
|
||||||
"config.rkt"
|
"config.rkt"
|
||||||
"todo-file.rkt"
|
|
||||||
"init.rkt"
|
"init.rkt"
|
||||||
"tools.rkt"
|
"util.rkt"
|
||||||
"messages.rkt")
|
"messages.rkt")
|
||||||
|
|
||||||
(provide (all-defined-out))
|
(provide (all-defined-out))
|
||||||
|
|
2
init.rkt
2
init.rkt
|
@ -1,7 +1,7 @@
|
||||||
#lang racket/base
|
#lang racket/base
|
||||||
|
|
||||||
(require "config.rkt"
|
(require "config.rkt"
|
||||||
"tools.rkt"
|
"util.rkt"
|
||||||
"messages.rkt"
|
"messages.rkt"
|
||||||
"io.rkt")
|
"io.rkt")
|
||||||
|
|
||||||
|
|
11
tools.rkt
11
tools.rkt
|
@ -1,11 +0,0 @@
|
||||||
#lang racket/base
|
|
||||||
|
|
||||||
(require "config.rkt")
|
|
||||||
|
|
||||||
(provide (all-defined-out))
|
|
||||||
|
|
||||||
(define (d-hash-ref hash-list key)
|
|
||||||
(display (hash-ref hash-list key)))
|
|
||||||
|
|
||||||
(define (d-vector-ref args key)
|
|
||||||
(display (vector-ref args key)))
|
|
|
@ -5,11 +5,16 @@
|
||||||
racket/string
|
racket/string
|
||||||
"config.rkt"
|
"config.rkt"
|
||||||
"io.rkt"
|
"io.rkt"
|
||||||
"tools.rkt"
|
|
||||||
"messages.rkt")
|
"messages.rkt")
|
||||||
|
|
||||||
(provide (all-defined-out))
|
(provide (all-defined-out))
|
||||||
|
|
||||||
|
(define (d-hash-ref hash-list key)
|
||||||
|
(display (hash-ref hash-list key)))
|
||||||
|
|
||||||
|
(define (d-vector-ref args key)
|
||||||
|
(display (vector-ref args key)))
|
||||||
|
|
||||||
(define (make-numbered lst)
|
(define (make-numbered lst)
|
||||||
(map
|
(map
|
||||||
string-append
|
string-append
|
Loading…
Reference in New Issue