Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Becich
hpc
Commits
213d27ea
Commit
213d27ea
authored
2 years ago
by
Peter Becich
Committed by
BinderDavid
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
remove more things needed by GHC < 8.6
parent
0ef3c8ba
No related branches found
No related tags found
No related merge requests found
Pipeline
#63271
passed
2 years ago
Stage: test
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Trace/Hpc/Mix.hs
+1
-12
1 addition, 12 deletions
Trace/Hpc/Mix.hs
Trace/Hpc/Tix.hs
+1
-1
1 addition, 1 deletion
Trace/Hpc/Tix.hs
Trace/Hpc/Util.hs
+0
-1
0 additions, 1 deletion
Trace/Hpc/Util.hs
hpc.cabal
+0
-1
0 additions, 1 deletion
hpc.cabal
with
2 additions
and
15 deletions
Trace/Hpc/Mix.hs
+
1
−
12
View file @
213d27ea
{-# LANGUAGE
CPP,
Safe #-}
{-# LANGUAGE Safe #-}
---------------------------------------------------------------
-- Colin Runciman and Andy Gill, June 2006
---------------------------------------------------------------
...
...
@@ -21,11 +21,7 @@ import Data.List (intercalate)
import
Data.Maybe
(
catMaybes
,
fromMaybe
)
import
Data.Time
(
UTCTime
)
import
Data.Tree
#
if
MIN_VERSION_base
(
4
,
6
,
0
)
import
Text.Read
(
readMaybe
)
#
else
import
Data.Char
(
isSpace
)
#
endif
import
System.FilePath
...
...
@@ -36,13 +32,6 @@ import System.FilePath
import
Trace.Hpc.Util
(
HpcPos
,
insideHpcPos
,
Hash
,
HpcHash
(
..
),
catchIO
)
import
Trace.Hpc.Tix
#
if
!
MIN_VERSION_base
(
4
,
6
,
0
)
readMaybe
::
Read
a
=>
String
->
Maybe
a
readMaybe
s
=
case
reads
s
of
[(
x
,
s'
)]
|
all
isSpace
s'
->
Just
x
_
->
Nothing
#
endif
-- | 'Mix' is the information about a modules static properties, like
-- location of Tix's in a file.
--
...
...
This diff is collapsed.
Click to expand it.
Trace/Hpc/Tix.hs
+
1
−
1
View file @
213d27ea
{-# LANGUAGE
CPP,
Safe, DeriveGeneric, StandaloneDeriving #-}
{-# LANGUAGE Safe, DeriveGeneric, StandaloneDeriving #-}
------------------------------------------------------------
-- Andy Gill and Colin Runciman, June 2006
------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Trace/Hpc/Util.hs
+
0
−
1
View file @
213d27ea
{-# LANGUAGE Safe, DeriveGeneric, StandaloneDeriving #-}
-----------------------------------------
-- Andy Gill and Colin Runciman, June 2006
------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
hpc.cabal
+
0
−
1
View file @
213d27ea
...
...
@@ -26,7 +26,6 @@ source-repository head
Library
default-language: Haskell98
other-extensions: CPP
exposed-modules:
Trace.Hpc.Util
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment