<Tuplanolla>
How do you get the language out of `read-language`? I tried `(read-language (open-input-string "#lang racket\n"))`, but the resulting procedure just returns its second argument instead of `"racket"`.
jlu has quit [Quit: leaving]
jlu has joined #racket
jlu has quit [Quit: Leaving]
jlu has joined #racket
jlu has quit [Quit: Leaving]
morte has joined #racket
shawnw has quit [Ping timeout: 246 seconds]
Origin has joined #racket
<samth>
Tuplanolla: the point of `read-language` is to get the relevant `get-info` function; not to read the syntax of #lang line
<Tuplanolla>
Oh, okay. I'll use `read-syntax` then.
<mwnaylor>
Does Racket have its own labriaries/modules for input and output or does it use the ones from its Scheme origin?
<mwnaylor>
I/O is one of the things that has kept me back from a deep embrace of the Lisp family of languages. Clojure being the current exception, since it simplfies things with slurp and spit, or falls back on the JVM libraries.
<samth>
mwnaylor: I'm not sure what you are asking. Racket has an extensive IO library, some of those functions are also functions in the scheme standard.
<mwnaylor>
samth: That's basically it. If work through examples meant for Scheme, I won't have any problems doing it with Racket.
<samth>
mwnaylor: existing scheme code using IO, if it's only using standard scheme, will likely work in Racket, although I would probably recommend starting with Racket if that's your goal.
<mwnaylor>
I guess I need Racket focused tutorials, then. I have a decent general programming background; my best Lisps are elisp and Clojure.