logo       

Re: Imperative Object Destruction: msg#00044

lang.haskell.general

Subject: Re: Imperative Object Destruction

At 2000-11-13 02:30, Ashley Yakeley wrote:

> stealHandle = withOpenFile "filename" ReadMode (\handle -> handle)
> stealHandle >>= read

Sorry, that should read

stealHandle = withOpenFile "filename" ReadMode return
stealHandle >>= read


--
Ashley Yakeley, Seattle WA





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise