No problem Lloyd. Looking at code in some languages can be a bit of a waste of time for small issues due to the time it takes to get context and understand what you are looking at. With Erlang it is often quite valuable to jump into the code - referential transparency is to thank for that. What you see is often what you get. This holds true for any functional language that eschews side effects as well of course.
On Sun, Jan 23, 2011 at 10:20 PM, <ll...@writersglen.com> wrote: > Thanks, Martin, > > I never think to look at source. I'll have to develop the habit. > > All the best, > > Lloyd > > -----Original Message----- > From: "Martin Logan" <martin...@gmail.com> > Sent: Sunday, January 23, 2011 11:15pm > To: erlan...@googlegroups.com > Subject: Re: io:fwrite vs. io:format > > Lloyd, there is absolutely no difference. Here is the code for fwrite > for your edification: > > --io.erl-- > > fwrite(Format) -> > format(Format). > > fwrite(Format, Args) -> > format(Format, Args). > > On Sun, Jan 23, 2011 at 9:42 PM, <ll...@writersglen.com> wrote: >> Hi, >> >> What is the difference between io:fwrite and io:format? When would I use one over the other? >> >> Thanks, >> >> LRP >> >> > > > > -- > Martin Logan > Erlang & OTP in Action (Manning) http://manning.com/logan > http://twitter.com/martinjlogan > http://erlware.org > > >