If you uncomment the redirects to stdout and comment out the file
output, then nothing is written to the file, so that changes the
content of `(file->lines soap-file)` the second time around.

I think you wanted `(and (>=` in place of `(or (<`.

At Tue, 02 Jun 2015 15:25:07 -0400, Mark Lee wrote:
> To all,
> 
> I've been recently working on a database and I've encountered strange 
> behavior 
> when I use "call-with-atomic-output-file" and "with-output-to-file". Attached 
> is a sample piece of code. The correct contents of the SOAP file should be :
> 
> *First-Name : John
> *Last-Name : Doe
> *Gender : male
> *Phone-Number : 000-000-0000
> 
> Instead I get : 
> 
> *First-Name : John
> *Last-Name : Doe
> *Phone-Number : 000-000-0000
> 
> In addition, If one uncomments the redirects to file, they get the correct 
> output (but it's not saved to a file): 
> *First-Name : John
> *Last-Name : Doe
> *Phone-Number : 000-000-0000
> 
> Regards,
> Mark
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email 
> to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to