Skip to content

Use of deprecated 'try' function in Diagrams.Backend.Cairo.Internal #12

@fryguybob

Description

@fryguybob

(Imported from http://code.google.com/p/diagrams/issues/detail?id=63. Original issue from [email protected] on January 22, 2012, 05:10:33 PM UTC)

Compiling diagrams-cairo under GHC 7.2.1 or later currently gives this warning:

src/Diagrams/Backend/Cairo/Internal.hs:41:1:
Warning: In the use of `try'
(imported from System.IO.Error):
Deprecated: "Please use the new exceptions variant, Control.Exception.try"

Someone should look into this and figure out the Right Way (tm) to update to something non-deprecated (while being sure to preserve support for GHC 7.0.x, and even 6.12.x if possible).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions