RACKET
1
Name:
Anonymous
2011-03-18 22:11
sup /prog/, I'm having some trouble with file IO in Racket R5RS. It is simple, I have this:
(display #\newline out_file)
Where out_file is the output port. It's just some .dat file or something. It prints the reset of the things in my program perfectly fine, it just won't fucking newline for some reason. If I do this:
(display #\newline)
It works perfectly, and newlines to the damn screen. What am I doing wrong :(
2
Name:
Anonymous
2011-03-18 22:26
Hmm, not much traffic on a friday night eh?
3
Name:
Anonymous
2011-03-18 22:29
If it's not working, it's probably a bug and you should file a report. Though, I guess you could try (newline out_file)
4
Name:
Anonymous
2011-03-18 22:32
I tried (newline out_file) also.
I even tried (write-char newline out_file).
This is for an assignment that's due in a couple hours. I fucking hate my teacher sometimes.
Thanks anyways though.
5
Name:
Anonymous
2011-03-18 22:37
It works here.
>>3
Look at the email, WHBT.
6
Name:
Anonymous
2011-03-18 22:40
Hmm, so nobody knows the answer to this? Is R5RS not a very popular choice or something?
7
Name:
Anonymous
2011-03-18 22:42
∧_∧ / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
( ´∀`) < VIVA MEOWXICO! and ALBERTOO DEL RRRIO!
/ | \
/ .|  ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
/ "⌒ヽ |.イ |
__ | .ノ | || |__
. ノく__========つ--
_((_________\
 ̄ ̄ヽつ ̄ ̄ ̄ ̄ ̄ ̄ | | ̄
8
Name:
Anonymous
2011-03-18 23:29
>>6
Nobody really uses plain R5RS.
9
Name:
Anonymous
2011-03-19 0:41
>>8
Nobody really uses Scheme.
10
Name:
Anonymous
2011-03-19 10:14
>>9
Nobody really programs here.
11
Name:
Anonymous
2011-03-19 10:22
>>10
Nobody uses computers anyway.
12
Name:
Anonymous
2011-03-19 11:17
>>11
Nobody is neurotypical anyway.
13
Name:
Anonymous
2011-03-19 13:18
>>12
Nobody is a human being anyway.
14
Name:
Anonymous
2011-03-19 13:25
>>13
Nobody really exist anyway.
15
Name:
Nietzsche
2011-03-19 13:34
16
Name:
Anonymous
2011-03-19 16:09
I figured out what it was. Apparently R5RS has a weird bug with the text-editor on vista or something. It's all good I finished the program and turned it in.
17
Name:
Anonymous
2011-03-19 16:14
░░░░░░░░░░░░░░░▄░░░░░░░░░░░░░░░
░░░░░░░░░░░░░▄▀█░░░░░░░░░░░░░░░
░░░░░░░░░░░▄▀░░█░░░░░░░░░░░░░░░
░░░░░░░░░▄▀░░▄▀░░░░░░░░░░░░░░░░
░░░░░░░░█▄░▄▀░░░░░░░░▄█▄░░░░░░░
░░░░░░░░█░▀▄░░░░░░░▄▀░█░▀▄░░░░░
░░░░░░░░▀▄░░▀▄░░░▄▀░░▄▀▄░░▀▄░░░
░▄░░░░░░░░▀▄░░▀▄▀░░▄▀░░░▀▄░░▀▄░
░█▀▄░░░░░░░░▀▄▀█▀▄▀░░░░░░░▀▄░█░
░█░░▀▄░░░░░▄▀░░█░░▀▄░░░░░░░░▀█░
░░▀▄░░▀▄░▄▀░░▄▀░▀▄░░▀▄░░░░░░░░░
░░░░▀▄░░█░░▄▀░░░░░▀▄░▄█░░░░░░░░
░░░░░░▀▄█▄▀░░░░░░░░▄▀░█░░░░░░░░
░░░░░░░░▀░░░░░░░░▄▀░░▄▀░░░░░░░░
░░░░░░░░░░░░░░░▄▀░░▄▀░░░░░░░░░░
░░░░░░░░░░░░░░░█░▄▀░░░░░░░░░░░░
░░░░░░░░░░░░░░░█▀░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░█▄░█░█░▄▀▀▄░░█░░█░█▀▀░▀█▀░█░░░
░█░█▄░█░█░▄▄░░█▄▄█░█▄▄░░█░░█░░░
░█░░█░█░▀▄▄▀░░█░░█░█▄▄░▄█▄░█▄▄░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
18
Name:
Anonymous
2011-03-20 6:18