Opened 7 years ago

Closed 7 years ago

Last modified 6 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: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

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 7 years ago by ross

  • Description modified (diff)

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

  • Cc libraries@… added

These functions seem entirely reasonable to me.

comment:3 Changed 7 years ago by ross

  • Resolution set to fixed
  • Status changed from new to closed

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 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:5 Changed 6 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.