[Haskell-cafe] Infix instance headers

Bas van Dijk v.dijk.bas at gmail.com
Fri Jan 8 17:59:35 EST 2010


I discovered that the following example also won't parse in ghc-6.12.1
because of the infix 'MayOpen' constraint:

with ∷ (Resource resource, MonadCatchIO pr)
     ⇒ resource
     → (∀ s. s `MayOpen` resource ⇒ RegionalHandle resource (RegionT s
pr) → RegionT s pr α)
     → pr α

Is this also fixed by your previous patch?



More information about the Haskell-Cafe mailing list