Asynchronous exception wormholes kill modularity

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Fri Mar 26 00:07:12 EDT 2010


On Mar 25, 2010, at 19:16 , Bas van Dijk wrote:
> But with regard to naming, I think the name 'unmask' is a bit
> misleading because it doesn't unmask asynchronous exceptions. What it
> does is remove a layer of masking so to speak. I think the names of
> the functions should reflect the nesting or stacking behavior. Maybe
> something like:
>
> addMaskingLayer :: IO a -> IO a
> removeMaskingLayer :: IO a -> IO a
> nrOfMaskingLayers :: IO Int
>
> However I do find those a bit long and ugly...


maskP, maskV, masking.  :)

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/libraries/attachments/20100325/40448b29/PGP.bin


More information about the Libraries mailing list