mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 23:33:00 +03:00
Improve language usage in Racket guide
This commit is contained in:
parent
17f4ff8588
commit
6801c7056d
@ -606,8 +606,8 @@ vec ; => #(1 2 3 4)
|
|||||||
;; 11. Input & output
|
;; 11. Input & output
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
;; Racket has this concept of "port", which is very similar to file descriptor
|
;; Racket has this concept of "port", which is very similar to file
|
||||||
;; in other languages
|
;; descriptors in other languages
|
||||||
|
|
||||||
;; Open "/tmp/tmp.txt" and write "Hello World"
|
;; Open "/tmp/tmp.txt" and write "Hello World"
|
||||||
;; This would trigger an error if the file's already existed
|
;; This would trigger an error if the file's already existed
|
||||||
|
Loading…
Reference in New Issue
Block a user