Skip to content

Commit 2b8a182

Browse files
committed
Needed for Outlaw notes.
1 parent 1fd89be commit 2b8a182

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

langs/outlaw/a.rkt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#lang racket
2+
(provide a)
3+
(require "b.rkt")
4+
5+
(define (a x)
6+
(+ (b x) (b x)))
7+
8+
(a 10)

langs/outlaw/b.rkt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#lang racket
2+
(provide b)
3+
(require "c.rkt")
4+
5+
(define (b x)
6+
(add1 (c x)))

langs/outlaw/c.rkt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#lang racket
2+
(provide c)
3+
(define (c x)
4+
(+ x 5))

langs/outlaw/combine.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
(match fs
3939
['() (void)]
4040
[(cons f fs)
41-
(displayln (make-string 72 #\;))
41+
(displayln (make-string 12 #\;))
4242
(displayln (string-append ";; " f "\n"))
4343
(print-file f)
4444
(print-files fs)]))

0 commit comments

Comments
 (0)