Re: 'withfile' function implementation

2011-12-16 Thread David Boyce
On Fri, Dec 16, 2011 at 7:41 AM, Tim Murphy wrote: > would probably be quite nice and they don't absolutely demand that one > use the C library mode flags (w,w+,a etc). This is one thing that > Paul didn't like from the previous suggestions. A bit of a sidetrack, but I don't agree with the logic

Re: 'withfile' function implementation

2011-12-16 Thread Paul Smith
On Fri, 2011-12-16 at 12:41 +, Tim Murphy wrote: > I looked at the implementation and it seems like a different name > would suit this function - e.g. "writefile". It basically writes text > from it's arguments out to a file. Thanks all; I'll take a look. --

Re: 'withfile' function implementation

2011-12-16 Thread Tim Murphy
Just a quick comment on this. I looked at the implementation and it seems like a different name would suit this function - e.g. "writefile". It basically writes text from it's arguments out to a file. The idea of a function called "withfile" seems hard to actually implement - I'm not sure how on