Skip to content

Commit 9e15dfb

Browse files
authored
Merge pull request #12 from dvanhorn/next
Next
2 parents aefba1a + 574e37d commit 9e15dfb

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

www/notes/1/ocaml-to-racket.scrbl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ pattern matching to discriminate and deconstruct:
637637
@section{Symbols}
638638

639639
One of the built-in datatypes we will use often in Racket is
640-
that of a @emph{symbol}. A symbol is just an atomic piece of
640+
that of a @emph{symbol}. A symbol is just an atomic peice of
641641
data. A symbol is written using the @racket[quote] notation
642642
@racket[(code:quote symbol-name)], which is abbreviated
643643
@racket['symbol-name]. What's allowable as a symbol name
@@ -929,7 +929,7 @@ data. It doesn't contain anything and its only real purpose
929929
is to be distinguishable from @racket[node] structures. On
930930
the other hand a @racket[node] structure needs to be
931931
distinguishable from @racket[leaf]s, but also contain 3
932-
pieces of data within it.
932+
peices of data within it.
933933

934934
We can formulate definition of binary trees using only
935935
symbols and lists as:
@@ -1137,9 +1137,9 @@ This code follows a coding style that we will use in this course:
11371137
@item{it's organized in a module,}
11381138
@item{data type definitions occur at the top of the file,}
11391139
@item{it uses a test submodule to group unit tests,}
1140-
@item{tests occur immediate after the functions they test,}
1140+
@item{tests occur immediately after the functions they test,}
11411141
@item{functions are annotated with type signatures and short purpose statements, and}
1142-
@item{indentation is follows standard conventions (which DrRacket can apply for you).}
1142+
@item{indentation follows standard conventions (which DrRacket can apply for you).}
11431143
]
11441144

11451145
From the command line, you can run a module's tests using the Racket

www/notes/abscond/asm/interp.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#:exists 'truncate
1414
(λ ()
1515
(asm-display a)))
16-
(system (format "(cd ~a && make -s ~a)" dir t.run))
16+
(system (format "(cd ~a && make -s ~a) 2>&1 >/dev/null" dir t.run))
1717
(delete-file t.s)
1818
(with-input-from-string
1919
(with-output-to-string

0 commit comments

Comments
 (0)