Get rid of common.scm
This commit is contained in:
parent
880d6c5264
commit
d30947fdec
3 changed files with 18 additions and 40 deletions
|
|
@ -3,8 +3,6 @@
|
|||
(scheme process-context)
|
||||
(scheme write))
|
||||
|
||||
(include "../common.scm")
|
||||
|
||||
(define (direction->arithmetic direction)
|
||||
(cond
|
||||
((char=? direction #\L) -)
|
||||
|
|
@ -55,6 +53,6 @@
|
|||
(+ zeros add-zeros (if (and (zero? dial) (negative? dial+-distance)) -1 0))
|
||||
(read-line)))))))))
|
||||
|
||||
(for-each print (map part1 (command-line-arguments)))
|
||||
(for-each print (map part2 (command-line-arguments)))
|
||||
(for-each (lambda (s) (display s) (newline)) (map part1 (cdr (command-line))))
|
||||
(for-each (lambda (s) (display s) (newline)) (map part2 (cdr (command-line))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue