Programming

(Racket) file->string

steloflute 2012. 9. 9. 21:17
http://docs.racket-lang.org/reference/Filesystem.html#(def._((lib._racket/file..rkt)._file-~3estring))

(file->string path [#:mode mode-flag])  string?

  path : path-string?
  mode-flag : (or/c 'binary 'text) = 'binary
Reads all characters from path and returns them as a string. The mode-flag argument is the same as for open-input-file.


'Programming' 카테고리의 다른 글

(Scheme) call/cc  (0) 2012.09.11
(Haskell) Hello World  (0) 2012.09.10
Racket define-syntax-rule  (0) 2012.09.08
Lisp: Common Lisp, Scheme, Clojure, Emacs Lisp: a side-by-side reference sheet  (0) 2012.09.08
Clojure의 장단점  (0) 2012.09.07