[erlang-questions] Package Support/Use

Matthias Lang <>
Wed Nov 8 08:35:02 CET 2006


Richard A. O'Keefe writes:
 > In response to
 > 	> 	   {ok,FD} = open(Name),
 > 
 > I wrote:
 > 	> Again, that is pretty unforgivable Erlang:  IF OPEN/1 CREATES
 > 	> A RESOURCE WHICH WILL NOT BE AUTOMATICALLY FREED.
 > 	
 > Ulf Wiger retorted:
 > 	Incorrect. The file will be closed automatically if the
 > 	process dies.
 > 	
 > But how does that contradict my IF?

I'm rather reminded of this cartoon.

  http://www.xkcd.com/c169.html

Your first sentence is pretty weird. It looks like a statement "_that_
is pretty unforgivable erlang" followed by an all-caps explanation,
with some dubious punctuation separating the two. 

But no! It turns out that it was actually a completely unsupported
statement followed by an irrelevant all-caps rant which can be
retrospectively contrived into being an escape hatch.

Matthias



More information about the erlang-questions mailing list