PROPOSAL: add tryFdSeek to unix

Bryan O'Sullivan bos at serpentine.com
Wed Jun 29 07:44:55 CEST 2011


On Tue, Jun 28, 2011 at 5:15 PM, wren ng thornton <wren at freegeek.org> wrote:

> I'd like to propose adding a variant of fdSeek which returns errors
> directly instead of throwing an exception.
>

Why wouldn't you just wrap it in Control.Exception.try instead? And what's
so special about seeking that suggests that it needs an alternate entry
point?

(In other words, I'm opposed to this proposal.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20110628/d68d19fe/attachment.htm>


More information about the Libraries mailing list