1 Jul 2011 03:35
Re: Doubt about the 'More: Systems Programming with Racket'
Eduardo Bellani wrote at 06/30/2011 09:21 PM: > The code above works very well if I read the input port with > read-line, but won't budge if I use something like port->string. > Can somebody shed a light on this? > Try "close-output-port" after "flush-output". Otherwise, the "port->string" in "handle" is waiting for an end-of-file that never arrives. Also, in your "handle" procedure, do you want to "display" to "out"? -- -- http://www.neilvandyke.org/
RSS Feed