Skip to content

Instantly share code, notes, and snippets.

View mpickering's full-sized avatar

Matthew Pickering mpickering

  • Well Typed LLP
  • Sheffield, UK
View GitHub Profile
import networkx as nx
g = nx.drawing.nx_agraph.read_dot("/home/matt/ghc-clean/deps-2.dot")
#g.remove_edge("GHC.Iface.Type", "GHC.Tc.Utils.TcType")
#g.remove_edge("GHC.Core.Type", "GHC.Tc.Utils.TcType")
#g.remove_edge("GHC.Types.Var", "GHC.Tc.Utils.TcType")
# FFI stuff checking DynFlags
#g.remove_edge("GHC.Tc.Utils.TcType", "GHC.Driver.Session")
# Because of TcLclEnv import
{-# LANGUAGE TemplateHaskellQuotes #-}
{-# LANGUAGE GADTs #-}
module Pat3 where
import qualified Language.Haskell.TH as TH (Code, Q,)
import qualified Language.Haskell.TH.Syntax as TH (Lift(..))
import Data.Functor.Identity
type Code = TH.Code TH.Q
{-# LANGUAGE TemplateHaskellQuotes #-}
{-# LANGUAGE GADTs #-}
module Pat3 where
import qualified Language.Haskell.TH as TH (Code, Q,)
import qualified Language.Haskell.TH.Syntax as TH (Lift(..))
import Data.Functor.Identity
type Code = TH.Code TH.Q
{-# LANGUAGE GADTs #-}
{-# LANGUAGE TemplateHaskellQuotes #-}
module Pat where
import qualified Language.Haskell.TH as TH (Code, Q,)
import qualified Language.Haskell.TH.Syntax as TH (Lift(..))
-- Step 1: Unstaged interpreter
CondNode {condTreeData =
ProjectConfig {projectPackages =
["server","server/lib/*/*.cabal","server/forks/*/*.cabal"], projectPackagesOptional =
[], projectPackagesRepo =
[SourceRepositoryPackage {srpType =
KnownRepoType Git, srpLocation =
"https://github.com/agrafix/Spock", srpTag =
Just "40d028bfea0e94ca7096c719cd024ca47a46e559", srpBranch =
Nothing, srpSubdir =
["Spock-core"], srpCommand =
module Main where
import Distribution.Client.ProjectConfig
import Distribution.Client.HttpUtils
import Distribution.Client.DistDirLayout
import Distribution.Client.RebuildMonad
import System.Environment
main = do
[root] <- getArgs
abstract-deque
abstract-deque-tests
abstract-par
AC-Angle
acc
ace
acid-state
action-permutations
active
ad

Revision history for test

0.1.0.0 -- YYYY-mm-dd

  • First version. Released on an unsuspecting world.
Read the interface file T16875.hi
loadHiBootInterface T16875
Reading [boot] interface for main:T16875;
reason: Need the hi-boot interface for T16875 to compare against the Real Thing
readIFace T16875.hi-boot
Considering whether to load Prelude
Reading interface for base:Prelude;
reason: Prelude is implicitly imported
readIFace /home/matt/ghc-ticky/_build/stage1/lib/../lib/x86_64-linux-ghc-9.11.20240715/base-4.20.0.0-inplace/Prelude.hi
updating EPS
9c9
< readIFace /home/matt/ghc-ticky-new/_build/stage1/lib/../lib/x86_64-linux-ghc-9.11.20240713/base-4.20.0.0-inplace/Prelude.hi
---
> readIFace /home/matt/ghc-ticky/_build/stage1/lib/../lib/x86_64-linux-ghc-9.11.20240715/base-4.20.0.0-inplace/Prelude.hi
14c14
< readIFace /home/matt/ghc-ticky-new/_build/stage1/lib/../lib/x86_64-linux-ghc-9.11.20240713/base-4.20.0.0-inplace/Control/Applicative.hi
---
> readIFace /home/matt/ghc-ticky/_build/stage1/lib/../lib/x86_64-linux-ghc-9.11.20240715/base-4.20.0.0-inplace/Control/Applicative.hi
25c25
< readIFace /home/matt/ghc-ticky-new/_build/stage1/lib/../lib/x86_64-linux-ghc-9.11.20240713/base-4.20.0.0-inplace/Control/Monad.hi