Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#966 closed proposal (fixed)

add withFile and withBinaryFile

Reported by: ross Owned by:
Priority: normal Milestone:
Component: libraries/base Version: 6.6
Keywords: Cc: libraries@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by ross)

Please make any comments on the libraries list by Thursday 9th November 2006.

These functions are fairly small, but they're worth naming because they wrap up a pattern that should be encouraged.

Change History (5)

comment:1 Changed 11 years ago by ross

Description: modified (diff)

comment:2 Changed 11 years ago by malcolm.wallace@…

Cc: libraries@… added

These functions seem entirely reasonable to me.

comment:3 Changed 11 years ago by ross

Resolution: fixed
Status: newclosed

Supported by Jason Dagit, David Roundy, Don Stewart and Malcolm Wallace. No dissent.

It was noted that it would be even better if the functions prevented use of the Handle outside their scope. Oleg has shown how to do this but it requires a different monad.

comment:4 Changed 9 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:5 Changed 9 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.