Bug 1245021 (ghc-mtl-compat) - Review Request: ghc-mtl-compat - Backported Control.Monad.Except module from mtl
Summary: Review Request: ghc-mtl-compat - Backported Control.Monad.Except module from mtl
Keywords:
Status: CLOSED DEFERRED
Alias: ghc-mtl-compat
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1202163
TreeView+ depends on / blocked
 
Reported: 2015-07-21 03:29 UTC by Ben Boeckel
Modified: 2017-01-05 05:59 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-05 05:59:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ben Boeckel 2015-07-21 03:29:10 UTC
Spec URL: http://benboeckel.net/packaging/ghc-mtl-compat/ghc-mtl-compat.spec
SRPM URL: http://benboeckel.net/packaging/ghc-mtl-compat/ghc-mtl-compat-0.2.1.3-1.fc24.src.rpm
Description:
This package backports the "Control.Monad.Except" module from 'mtl' (if using
'mtl-2.2.0.1' or earlier), which reexports the 'ExceptT' monad transformer and
the 'MonadError' class.

This package should only be used if there is a need to use the
'Control.Monad.Except' module specifically. If you just want the 'mtl' class
instances for 'ExceptT', use 'transformers-compat' instead, since 'mtl-compat'
does nothing but reexport the instances from that package.

Note that unlike how 'mtl-2.2' or later works, the "Control.Monad.Except"
module defined in this package exports all of 'ExceptT''s monad class
instances. Therefore, you may have to declare 'import Control.Monad.Except ()'
at the top of your file to get all of the 'ExceptT' instances in scope.

Fedora Account System Username: mathstuf

Comment 1 Jens Petersen 2015-10-02 11:08:02 UTC
No objections - just wonder if it can be patched around for now to save a review?

Comment 2 Jens Petersen 2016-07-21 02:33:31 UTC
ERROR: 'Error 404 downloading http://benboeckel.net/packaging/ghc-mtl-compat/ghc-mtl-compat-0.2.1.3-1.fc24.src.rpm' (logs in /home/petersen/.cache/fedora-review.log)

Comment 4 Jens Petersen 2016-07-26 08:49:30 UTC
This seems to be a dummy (meta) package for ghc-7.10... so I don't think we need it.

Comment 5 Jens Petersen 2016-07-26 08:50:46 UTC
eg it does not rpmbuild:

Empty %files file /builddir/build/BUILD/mtl-compat-0.2.1.3/ghc-mtl-compat.files

Comment 6 Jens Petersen 2016-07-26 08:53:35 UTC
This version is too new for F24:

Setup: At least the following dependencies are missing:
mtl >=2.2.1 && <2.3

(slightly amusing)

Comment 7 Jens Petersen 2017-01-05 05:59:03 UTC
Closing this based on preceding comments.


Note You need to log in before you can comment on or make changes to this bug.