Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mtl->transformers replacement, supporting transformers 0.3 (ErrorT) #7

Closed
wants to merge 8 commits into from

Conversation

jberthold
Copy link
Contributor

I had a patch to replace ErrorT by ExceptT, but another one was provided to ghc-events just last week.

Therefore, I have separated one patch which provides code to replace mtl by transformers (which implements ExceptT), and uses supports both ErrorT and ExceptT (Cabal-generated version information and #ifdef).
/ Jost

berthold and others added 8 commits October 22, 2014 11:27
(rebased to upstream/master on 2014 10 22)

This patch brings in all changes required to parse eventlogs generated
by the Parallel Haskell system extending GHC.
In particular, events for machine instances in a compute cluster and
parallel process management are added; as well as some event variants
necessary for the Eden Trace Viewer, a tool to analyse and view parallel
execution traces.
Ignore-this: 805674f9d2e9156abf0b6980402c8756

darcs-hash:20120115204620-34406-3c170a97e5fb6a00b3fdac03b99c56daf8d2f336
Ignore-this: 4c22b862b8fec0bcb4a3b639e6dae49f

darcs-hash:20140414194106-94b0f-71389ad625bb752b2379545b65e3143a0765bdfd
This patch follows the bugfix T9003 of GHC, enabling ghc-events
to distinguish the GHC version that produced the eventlog and
to correctly decode the thread stop status (which was encoded
wrong in ghc-7.8.2). See T9003 for further discussion.
+ corrections in comments

(rebased to upstream/master on 2014 10 22)
The change to transformers required only a few "lift".
Replacing ErrorT by ExceptT is just as easy, allowing for
a simple CPP solution to support both.

Version number was increased to 0.5.0.1 (the package now has changed
dependencies, which requires a major version bump according to policy)
@kvelicka
Copy link
Contributor

I don't think this one is necessary because I intend to clean up and PR my incremental parser soon that should not depend on mtl nor transformers at all.

@kvelicka
Copy link
Contributor

Closing this because the changes are already in master and/or are superseded by #13.

@kvelicka kvelicka closed this Jun 20, 2016
Mikolaj pushed a commit that referenced this pull request Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants