Bug 1245021 (ghc-mtl-compat)

Summary: Review Request: ghc-mtl-compat - Backported Control.Monad.Except module from mtl
Product: [Fedora] Fedora Reporter: Ben Boeckel <fedora>
Component: Package ReviewAssignee: Jens Petersen <petersen>
Status: CLOSED DEFERRED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: haskell-devel, package-review
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-05 05:59:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1202163    

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.