├── .gitattributes ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── README.md ├── Setup.hs ├── data └── baseEnvironment │ ├── Control.Applicative.symbols │ ├── Control.Arrow.symbols │ ├── Control.Category.symbols │ ├── Control.Concurrent.Chan.symbols │ ├── Control.Concurrent.MVar.symbols │ ├── Control.Concurrent.QSem.symbols │ ├── Control.Concurrent.QSemN.symbols │ ├── Control.Concurrent.symbols │ ├── Control.Exception.Base.symbols │ ├── Control.Exception.symbols │ ├── Control.Monad.Fix.symbols │ ├── Control.Monad.Instances.symbols │ ├── Control.Monad.ST.Imp.symbols │ ├── Control.Monad.ST.Lazy.Imp.symbols │ ├── Control.Monad.ST.Lazy.Safe.symbols │ ├── Control.Monad.ST.Lazy.Unsafe.symbols │ ├── Control.Monad.ST.Lazy.symbols │ ├── Control.Monad.ST.Safe.symbols │ ├── Control.Monad.ST.Strict.symbols │ ├── Control.Monad.ST.Unsafe.symbols │ ├── Control.Monad.ST.symbols │ ├── Control.Monad.Zip.symbols │ ├── Control.Monad.symbols │ ├── Data.Bits.symbols │ ├── Data.Bool.symbols │ ├── Data.Char.symbols │ ├── Data.Complex.symbols │ ├── Data.Data.symbols │ ├── Data.Dynamic.symbols │ ├── Data.Either.symbols │ ├── Data.Eq.symbols │ ├── Data.Fixed.symbols │ ├── Data.Foldable.symbols │ ├── Data.Function.symbols │ ├── Data.Functor.symbols │ ├── Data.IORef.symbols │ ├── Data.Int.symbols │ ├── Data.Ix.symbols │ ├── Data.List.symbols │ ├── Data.Maybe.symbols │ ├── Data.Monoid.symbols │ ├── Data.OldTypeable.Internal.symbols │ ├── Data.OldTypeable.symbols │ ├── Data.Ord.symbols │ ├── Data.Ratio.symbols │ ├── Data.STRef.Lazy.symbols │ ├── Data.STRef.Strict.symbols │ ├── Data.STRef.symbols │ ├── Data.String.symbols │ ├── Data.Traversable.symbols │ ├── Data.Tuple.symbols │ ├── Data.Typeable.Internal.symbols │ ├── Data.Typeable.symbols │ ├── Data.Unique.symbols │ ├── Data.Version.symbols │ ├── Data.Word.symbols │ ├── Debug.Trace.symbols │ ├── Foreign.C.Error.symbols │ ├── Foreign.C.String.symbols │ ├── Foreign.C.Types.symbols │ ├── Foreign.C.symbols │ ├── Foreign.Concurrent.symbols │ ├── Foreign.ForeignPtr.Imp.symbols │ ├── Foreign.ForeignPtr.Safe.symbols │ ├── Foreign.ForeignPtr.Unsafe.symbols │ ├── Foreign.ForeignPtr.symbols │ ├── Foreign.Marshal.Alloc.symbols │ ├── Foreign.Marshal.Array.symbols │ ├── Foreign.Marshal.Error.symbols │ ├── Foreign.Marshal.Pool.symbols │ ├── Foreign.Marshal.Safe.symbols │ ├── Foreign.Marshal.Unsafe.symbols │ ├── Foreign.Marshal.Utils.symbols │ ├── Foreign.Marshal.symbols │ ├── Foreign.Ptr.symbols │ ├── Foreign.Safe.symbols │ ├── Foreign.StablePtr.symbols │ ├── Foreign.Storable.symbols │ ├── Foreign.symbols │ ├── GHC.Arr.symbols │ ├── GHC.Base.symbols │ ├── GHC.CString.symbols │ ├── GHC.Char.symbols │ ├── GHC.Classes.symbols │ ├── GHC.Conc.IO.symbols │ ├── GHC.Conc.Signal.symbols │ ├── GHC.Conc.Sync.symbols │ ├── GHC.Conc.symbols │ ├── GHC.ConsoleHandler.symbols │ ├── GHC.Constants.symbols │ ├── GHC.Debug.symbols │ ├── GHC.Desugar.symbols │ ├── GHC.Enum.symbols │ ├── GHC.Environment.symbols │ ├── GHC.Err.symbols │ ├── GHC.Event.Array.symbols │ ├── GHC.Event.Clock.symbols │ ├── GHC.Event.Control.symbols │ ├── GHC.Event.EPoll.symbols │ ├── GHC.Event.IntMap.symbols │ ├── GHC.Event.Internal.symbols │ ├── GHC.Event.KQueue.symbols │ ├── GHC.Event.Manager.symbols │ ├── GHC.Event.PSQ.symbols │ ├── GHC.Event.Poll.symbols │ ├── GHC.Event.Thread.symbols │ ├── GHC.Event.TimerManager.symbols │ ├── GHC.Event.Unique.symbols │ ├── GHC.Event.symbols │ ├── GHC.Exception.symbols │ ├── GHC.Exts.symbols │ ├── GHC.Fingerprint.Type.symbols │ ├── GHC.Fingerprint.symbols │ ├── GHC.Float.ConversionUtils.symbols │ ├── GHC.Float.RealFracMethods.symbols │ ├── GHC.Float.symbols │ ├── GHC.Foreign.symbols │ ├── GHC.ForeignPtr.symbols │ ├── GHC.GHCi.symbols │ ├── GHC.Generics.symbols │ ├── GHC.IO.Buffer.symbols │ ├── GHC.IO.BufferedIO.symbols │ ├── GHC.IO.Device.symbols │ ├── GHC.IO.Encoding.CodePage.symbols │ ├── GHC.IO.Encoding.Failure.symbols │ ├── GHC.IO.Encoding.Iconv.symbols │ ├── GHC.IO.Encoding.Latin1.symbols │ ├── GHC.IO.Encoding.Types.symbols │ ├── GHC.IO.Encoding.UTF16.symbols │ ├── GHC.IO.Encoding.UTF32.symbols │ ├── GHC.IO.Encoding.UTF8.symbols │ ├── GHC.IO.Encoding.symbols │ ├── GHC.IO.Exception.symbols │ ├── GHC.IO.FD.symbols │ ├── GHC.IO.Handle.FD.symbols │ ├── GHC.IO.Handle.Internals.symbols │ ├── GHC.IO.Handle.Text.symbols │ ├── GHC.IO.Handle.Types.symbols │ ├── GHC.IO.Handle.symbols │ ├── GHC.IO.IOMode.symbols │ ├── GHC.IO.symbols │ ├── GHC.IOArray.symbols │ ├── GHC.IORef.symbols │ ├── GHC.IP.symbols │ ├── GHC.Int.symbols │ ├── GHC.IntWord64.symbols │ ├── GHC.Integer.Logarithms.Internals.symbols │ ├── GHC.Integer.Logarithms.symbols │ ├── GHC.Integer.Simple.Internals.symbols │ ├── GHC.Integer.Type.symbols │ ├── GHC.Integer.symbols │ ├── GHC.List.symbols │ ├── GHC.MVar.symbols │ ├── GHC.Magic.symbols │ ├── GHC.Num.symbols │ ├── GHC.PArr.symbols │ ├── GHC.Pack.symbols │ ├── GHC.Prim.symbols │ ├── GHC.PrimopWrappers.symbols │ ├── GHC.Profiling.symbols │ ├── GHC.Ptr.symbols │ ├── GHC.Read.symbols │ ├── GHC.Real.symbols │ ├── GHC.ST.symbols │ ├── GHC.STRef.symbols │ ├── GHC.Show.symbols │ ├── GHC.Stable.symbols │ ├── GHC.Stack.symbols │ ├── GHC.Stats.symbols │ ├── GHC.Storable.symbols │ ├── GHC.TopHandler.symbols │ ├── GHC.Tuple.symbols │ ├── GHC.TypeLits.symbols │ ├── GHC.Types.symbols │ ├── GHC.Unicode.symbols │ ├── GHC.Weak.symbols │ ├── GHC.Word.symbols │ ├── Numeric.symbols │ ├── Prelude.symbols │ ├── System.CPUTime.symbols │ ├── System.Console.GetOpt.symbols │ ├── System.Environment.ExecutablePath.symbols │ ├── System.Environment.symbols │ ├── System.Exit.symbols │ ├── System.IO.Error.symbols │ ├── System.IO.Unsafe.symbols │ ├── System.IO.symbols │ ├── System.Info.symbols │ ├── System.Mem.StableName.symbols │ ├── System.Mem.Weak.symbols │ ├── System.Mem.symbols │ ├── System.Posix.Internals.symbols │ ├── System.Posix.Types.symbols │ ├── System.Timeout.symbols │ ├── Text.ParserCombinators.ReadP.symbols │ ├── Text.ParserCombinators.ReadPrec.symbols │ ├── Text.Printf.symbols │ ├── Text.Read.Lex.symbols │ ├── Text.Read.symbols │ ├── Text.Show.Functions.symbols │ ├── Text.Show.symbols │ └── Unsafe.Coerce.symbols ├── examples ├── HeadUsages.hs ├── ModuleExports.hs └── moduleexports │ ├── Example.hs │ └── Example │ └── Internal.hs ├── haskell-names.cabal ├── haskell-src-exts-1.21.0.yaml ├── nightly.yaml ├── src └── Language │ └── Haskell │ ├── Names.hs │ └── Names │ ├── Annotated.hs │ ├── Environment.hs │ ├── Exports.hs │ ├── GetBound.hs │ ├── GlobalSymbolTable.hs │ ├── Imports.hs │ ├── LocalSymbolTable.hs │ ├── ModuleSymbols.hs │ ├── Open.hs │ ├── Open │ ├── Base.hs │ ├── Derived.hs │ └── Instances.hs │ ├── RecordWildcards.hs │ ├── Recursive.hs │ ├── ScopeUtils.hs │ ├── SyntaxUtils.hs │ └── Types.hs ├── stack.yaml ├── tests ├── annotations │ ├── Arrows.hs │ ├── Arrows.hs.golden │ ├── Case.hs │ ├── Case.hs.golden │ ├── ClassConstraints.hs │ ├── ClassConstraints.hs.golden │ ├── ClassInstances.hs │ ├── ClassInstances.hs.golden │ ├── Export.hs │ ├── Export.hs.golden │ ├── FnBind.hs │ ├── FnBind.hs.golden │ ├── Global.hs │ ├── Global.hs.golden │ ├── Infix.hs │ ├── Infix.hs.golden │ ├── Lambda.hs │ ├── Lambda.hs.golden │ ├── Let.hs │ ├── Let.hs.golden │ ├── ListComp.hs │ ├── ListComp.hs.golden │ ├── ParListComp.hs │ ├── ParListComp.hs.golden │ ├── Pats.hs │ ├── Pats.hs.golden │ ├── PatternSynonyms.hs │ ├── PatternSynonyms.hs.golden │ ├── QualifiedMethods.hs │ ├── QualifiedMethods.hs.golden │ ├── RecordFieldUpdate.hs │ ├── RecordFieldUpdate.hs.golden │ ├── RecordPattern.hs │ ├── RecordPattern.hs.golden │ ├── Records.hs │ ├── Records.hs.golden │ ├── Special.hs │ ├── Special.hs.golden │ ├── TypeSignature.hs │ ├── TypeSignature.hs.golden │ ├── Types.hs │ ├── Types.hs.golden │ ├── ViewPats.hs │ ├── ViewPats.hs.golden │ ├── Wildcards.hs │ ├── Wildcards.hs.golden │ ├── WildcardsQualified.hs │ └── WildcardsQualified.hs.golden ├── environment │ └── Prelude.symbols.golden ├── errors │ ├── Err1.hs │ ├── Err10.hs │ ├── Err10Exp.hs │ ├── Err2.hs │ ├── Err2Imp.hs │ ├── Err3.hs │ ├── Err4.hs │ ├── Err5.hs │ ├── Err6.hs │ ├── Err7.hs │ ├── Err8.hs │ ├── Err9.hs │ └── runtests.out.gold ├── exports │ ├── DataFamilies.hs │ ├── DataFamilies.hs.golden │ ├── DuplicateExports.hs │ ├── DuplicateExports.hs.golden │ ├── ExportAmbiguous.hs │ ├── ExportAmbiguous.hs.golden │ ├── ExportList.hs │ ├── ExportList.hs.golden │ ├── ExportList2.hs │ ├── ExportList2.hs.golden │ ├── ExportListMembers.hs │ ├── ExportListMembers.hs.golden │ ├── ExportListWildcards.hs │ ├── ExportListWildcards.hs.golden │ ├── ImplicitExportList.hs │ ├── ImplicitExportList.hs.golden │ ├── ModuleReExport.hs │ ├── ModuleReExport.hs.golden │ ├── Prelude.hs │ ├── Prelude.hs.golden │ ├── Rec1.hs │ ├── Rec1.hs.golden │ ├── Rec2.hs │ ├── Rec2.hs.golden │ ├── Rec3.hs │ ├── Rec3.hs.golden │ ├── SelfReExport.hs │ ├── SelfReExport.hs.golden │ ├── SimpleData.hs │ ├── SimpleData.hs.golden │ ├── SimpleTypes.hs │ ├── SimpleTypes.hs.golden │ ├── SimpleValue.hs │ └── SimpleValue.hs.golden ├── imports │ ├── ExplicitPrelude.hs │ ├── ExplicitPrelude.hs.golden │ ├── ExplicitPreludeQualified.hs │ ├── ExplicitPreludeQualified.hs.golden │ ├── Hiding.hs │ ├── Hiding.hs.golden │ ├── ImplicitPrelude.hs │ ├── ImplicitPrelude.hs.golden │ ├── ImportAll.hs │ ├── ImportAll.hs.golden │ ├── ImportList.hs │ ├── ImportList.hs.golden │ ├── NoImplicitPrelude.hs │ ├── NoImplicitPrelude.hs.golden │ ├── SimpleImport.hs │ └── SimpleImport.hs.golden └── run.hs └── utils ├── gen.hs ├── install_base.sh └── syn.hs /.gitattributes: -------------------------------------------------------------------------------- 1 | *.golden -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | cabal-dev 3 | *.o 4 | *.hi 5 | *.chi 6 | *.chs.h 7 | *.lock 8 | *.out 9 | *.tix 10 | .stack-work/ 11 | -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Applicative.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Applicative","module":"Control.Applicative","entity":"class"},{"name":"pure","module":"Control.Applicative","entity":"method","class":"Applicative"},{"name":"*>","module":"Control.Applicative","entity":"method","class":"Applicative"},{"name":"<*","module":"Control.Applicative","entity":"method","class":"Applicative"},{"name":"<*>","module":"Control.Applicative","entity":"method","class":"Applicative"},{"name":"Alternative","module":"Control.Applicative","entity":"class"},{"name":"empty","module":"Control.Applicative","entity":"method","class":"Alternative"},{"name":"many","module":"Control.Applicative","entity":"method","class":"Alternative"},{"name":"some","module":"Control.Applicative","entity":"method","class":"Alternative"},{"name":"<|>","module":"Control.Applicative","entity":"method","class":"Alternative"},{"name":"Const","module":"Control.Applicative","entity":"newtype"},{"name":"Const","module":"Control.Applicative","type":"Const","entity":"constructor"},{"constructors":["Const"],"name":"getConst","module":"Control.Applicative","type":"Const","entity":"selector"},{"name":"WrappedMonad","module":"Control.Applicative","entity":"newtype"},{"name":"WrapMonad","module":"Control.Applicative","type":"WrappedMonad","entity":"constructor"},{"constructors":["WrapMonad"],"name":"unwrapMonad","module":"Control.Applicative","type":"WrappedMonad","entity":"selector"},{"name":"WrappedArrow","module":"Control.Applicative","entity":"newtype"},{"name":"WrapArrow","module":"Control.Applicative","type":"WrappedArrow","entity":"constructor"},{"constructors":["WrapArrow"],"name":"unwrapArrow","module":"Control.Applicative","type":"WrappedArrow","entity":"selector"},{"name":"ZipList","module":"Control.Applicative","entity":"newtype"},{"name":"ZipList","module":"Control.Applicative","type":"ZipList","entity":"constructor"},{"constructors":["ZipList"],"name":"getZipList","module":"Control.Applicative","type":"ZipList","entity":"selector"},{"name":"<$>","module":"Data.Functor","entity":"value"},{"name":"<$","module":"GHC.Base","entity":"method","class":"Functor"},{"name":"<**>","module":"Control.Applicative","entity":"value"},{"name":"liftA","module":"Control.Applicative","entity":"value"},{"name":"liftA2","module":"Control.Applicative","entity":"value"},{"name":"liftA3","module":"Control.Applicative","entity":"value"},{"name":"optional","module":"Control.Applicative","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Arrow.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Arrow","module":"Control.Arrow","entity":"class"},{"name":"arr","module":"Control.Arrow","entity":"method","class":"Arrow"},{"name":"first","module":"Control.Arrow","entity":"method","class":"Arrow"},{"name":"second","module":"Control.Arrow","entity":"method","class":"Arrow"},{"name":"&&&","module":"Control.Arrow","entity":"method","class":"Arrow"},{"name":"***","module":"Control.Arrow","entity":"method","class":"Arrow"},{"name":"Kleisli","module":"Control.Arrow","entity":"newtype"},{"name":"Kleisli","module":"Control.Arrow","type":"Kleisli","entity":"constructor"},{"constructors":["Kleisli"],"name":"runKleisli","module":"Control.Arrow","type":"Kleisli","entity":"selector"},{"name":"returnA","module":"Control.Arrow","entity":"value"},{"name":"^>>","module":"Control.Arrow","entity":"value"},{"name":">>^","module":"Control.Arrow","entity":"value"},{"name":">>>","module":"Control.Category","entity":"value"},{"name":"<<<","module":"Control.Category","entity":"value"},{"name":"<<^","module":"Control.Arrow","entity":"value"},{"name":"^<<","module":"Control.Arrow","entity":"value"},{"name":"ArrowZero","module":"Control.Arrow","entity":"class"},{"name":"zeroArrow","module":"Control.Arrow","entity":"method","class":"ArrowZero"},{"name":"ArrowPlus","module":"Control.Arrow","entity":"class"},{"name":"<+>","module":"Control.Arrow","entity":"method","class":"ArrowPlus"},{"name":"ArrowChoice","module":"Control.Arrow","entity":"class"},{"name":"left","module":"Control.Arrow","entity":"method","class":"ArrowChoice"},{"name":"right","module":"Control.Arrow","entity":"method","class":"ArrowChoice"},{"name":"+++","module":"Control.Arrow","entity":"method","class":"ArrowChoice"},{"name":"|||","module":"Control.Arrow","entity":"method","class":"ArrowChoice"},{"name":"ArrowApply","module":"Control.Arrow","entity":"class"},{"name":"app","module":"Control.Arrow","entity":"method","class":"ArrowApply"},{"name":"ArrowMonad","module":"Control.Arrow","entity":"newtype"},{"name":"ArrowMonad","module":"Control.Arrow","type":"ArrowMonad","entity":"constructor"},{"name":"leftApp","module":"Control.Arrow","entity":"value"},{"name":"ArrowLoop","module":"Control.Arrow","entity":"class"},{"name":"loop","module":"Control.Arrow","entity":"method","class":"ArrowLoop"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Category.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Category","module":"Control.Category","entity":"class"},{"name":"id","module":"Control.Category","entity":"method","class":"Category"},{"name":".","module":"Control.Category","entity":"method","class":"Category"},{"name":"<<<","module":"Control.Category","entity":"value"},{"name":">>>","module":"Control.Category","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Concurrent.Chan.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Chan","module":"Control.Concurrent.Chan","entity":"data"},{"name":"newChan","module":"Control.Concurrent.Chan","entity":"value"},{"name":"writeChan","module":"Control.Concurrent.Chan","entity":"value"},{"name":"readChan","module":"Control.Concurrent.Chan","entity":"value"},{"name":"dupChan","module":"Control.Concurrent.Chan","entity":"value"},{"name":"unGetChan","module":"Control.Concurrent.Chan","entity":"value"},{"name":"isEmptyChan","module":"Control.Concurrent.Chan","entity":"value"},{"name":"getChanContents","module":"Control.Concurrent.Chan","entity":"value"},{"name":"writeList2Chan","module":"Control.Concurrent.Chan","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Concurrent.MVar.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"MVar","module":"GHC.MVar","entity":"data"},{"name":"newEmptyMVar","module":"GHC.MVar","entity":"value"},{"name":"newMVar","module":"GHC.MVar","entity":"value"},{"name":"takeMVar","module":"GHC.MVar","entity":"value"},{"name":"putMVar","module":"GHC.MVar","entity":"value"},{"name":"readMVar","module":"Control.Concurrent.MVar","entity":"value"},{"name":"swapMVar","module":"Control.Concurrent.MVar","entity":"value"},{"name":"tryTakeMVar","module":"GHC.MVar","entity":"value"},{"name":"tryPutMVar","module":"GHC.MVar","entity":"value"},{"name":"isEmptyMVar","module":"GHC.MVar","entity":"value"},{"name":"withMVar","module":"Control.Concurrent.MVar","entity":"value"},{"name":"modifyMVar_","module":"Control.Concurrent.MVar","entity":"value"},{"name":"modifyMVar","module":"Control.Concurrent.MVar","entity":"value"},{"name":"modifyMVarMasked_","module":"Control.Concurrent.MVar","entity":"value"},{"name":"modifyMVarMasked","module":"Control.Concurrent.MVar","entity":"value"},{"name":"mkWeakMVar","module":"Control.Concurrent.MVar","entity":"value"},{"name":"addMVarFinalizer","module":"Control.Concurrent.MVar","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Concurrent.QSem.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"QSem","module":"Control.Concurrent.QSem","entity":"data"},{"name":"newQSem","module":"Control.Concurrent.QSem","entity":"value"},{"name":"waitQSem","module":"Control.Concurrent.QSem","entity":"value"},{"name":"signalQSem","module":"Control.Concurrent.QSem","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Concurrent.QSemN.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"QSemN","module":"Control.Concurrent.QSemN","entity":"data"},{"name":"newQSemN","module":"Control.Concurrent.QSemN","entity":"value"},{"name":"waitQSemN","module":"Control.Concurrent.QSemN","entity":"value"},{"name":"signalQSemN","module":"Control.Concurrent.QSemN","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.Fix.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"MonadFix","module":"Control.Monad.Fix","entity":"class"},{"name":"mfix","module":"Control.Monad.Fix","entity":"method","class":"MonadFix"},{"name":"fix","module":"Data.Function","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.Instances.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Functor","module":"GHC.Base","entity":"class"},{"name":"fmap","module":"GHC.Base","entity":"method","class":"Functor"},{"name":"Monad","module":"GHC.Base","entity":"class"},{"name":"fail","module":"GHC.Base","entity":"method","class":"Monad"},{"name":"return","module":"GHC.Base","entity":"method","class":"Monad"},{"name":">>","module":"GHC.Base","entity":"method","class":"Monad"},{"name":">>=","module":"GHC.Base","entity":"method","class":"Monad"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.ST.Imp.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ST","module":"GHC.ST","entity":"newtype"},{"name":"runST","module":"GHC.ST","entity":"value"},{"name":"fixST","module":"GHC.ST","entity":"value"},{"name":"RealWorld","module":"GHC.Prim","entity":"data"},{"name":"stToIO","module":"GHC.IO","entity":"value"},{"name":"unsafeInterleaveST","module":"GHC.ST","entity":"value"},{"name":"unsafeIOToST","module":"GHC.IO","entity":"value"},{"name":"unsafeSTToIO","module":"GHC.IO","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.ST.Lazy.Imp.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ST","module":"Control.Monad.ST.Lazy.Imp","entity":"newtype"},{"name":"runST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"fixST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"strictToLazyST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"lazyToStrictST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"RealWorld","module":"GHC.Prim","entity":"data"},{"name":"stToIO","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"unsafeInterleaveST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"unsafeIOToST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.ST.Lazy.Safe.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ST","module":"Control.Monad.ST.Lazy.Imp","entity":"newtype"},{"name":"runST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"fixST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"strictToLazyST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"lazyToStrictST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"RealWorld","module":"GHC.Prim","entity":"data"},{"name":"stToIO","module":"Control.Monad.ST.Lazy.Imp","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.ST.Lazy.Unsafe.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"unsafeInterleaveST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"unsafeIOToST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.ST.Lazy.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ST","module":"Control.Monad.ST.Lazy.Imp","entity":"newtype"},{"name":"runST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"fixST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"strictToLazyST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"lazyToStrictST","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"RealWorld","module":"GHC.Prim","entity":"data"},{"name":"stToIO","module":"Control.Monad.ST.Lazy.Imp","entity":"value"},{"name":"unsafeInterleaveST","module":"Control.Monad.ST.Lazy","entity":"value"},{"name":"unsafeIOToST","module":"Control.Monad.ST.Lazy","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.ST.Safe.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ST","module":"GHC.ST","entity":"newtype"},{"name":"runST","module":"GHC.ST","entity":"value"},{"name":"fixST","module":"GHC.ST","entity":"value"},{"name":"RealWorld","module":"GHC.Prim","entity":"data"},{"name":"stToIO","module":"GHC.IO","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.ST.Strict.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"unsafeIOToST","module":"Control.Monad.ST","entity":"value"},{"name":"unsafeInterleaveST","module":"Control.Monad.ST","entity":"value"},{"name":"unsafeSTToIO","module":"Control.Monad.ST","entity":"value"},{"name":"stToIO","module":"GHC.IO","entity":"value"},{"name":"fixST","module":"GHC.ST","entity":"value"},{"name":"runST","module":"GHC.ST","entity":"value"},{"name":"RealWorld","module":"GHC.Prim","entity":"data"},{"name":"ST","module":"GHC.ST","entity":"newtype"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.ST.Unsafe.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"unsafeInterleaveST","module":"GHC.ST","entity":"value"},{"name":"unsafeIOToST","module":"GHC.IO","entity":"value"},{"name":"unsafeSTToIO","module":"GHC.IO","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.ST.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ST","module":"GHC.ST","entity":"newtype"},{"name":"runST","module":"GHC.ST","entity":"value"},{"name":"fixST","module":"GHC.ST","entity":"value"},{"name":"RealWorld","module":"GHC.Prim","entity":"data"},{"name":"stToIO","module":"GHC.IO","entity":"value"},{"name":"unsafeInterleaveST","module":"Control.Monad.ST","entity":"value"},{"name":"unsafeIOToST","module":"Control.Monad.ST","entity":"value"},{"name":"unsafeSTToIO","module":"Control.Monad.ST","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.Zip.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"MonadZip","module":"Control.Monad.Zip","entity":"class"},{"name":"mzip","module":"Control.Monad.Zip","entity":"method","class":"MonadZip"},{"name":"mzipWith","module":"Control.Monad.Zip","entity":"method","class":"MonadZip"},{"name":"munzip","module":"Control.Monad.Zip","entity":"method","class":"MonadZip"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Control.Monad.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Functor","module":"GHC.Base","entity":"class"},{"name":"fmap","module":"GHC.Base","entity":"method","class":"Functor"},{"name":"Monad","module":"GHC.Base","entity":"class"},{"name":">>=","module":"GHC.Base","entity":"method","class":"Monad"},{"name":">>","module":"GHC.Base","entity":"method","class":"Monad"},{"name":"return","module":"GHC.Base","entity":"method","class":"Monad"},{"name":"fail","module":"GHC.Base","entity":"method","class":"Monad"},{"name":"MonadPlus","module":"Control.Monad","entity":"class"},{"name":"mzero","module":"Control.Monad","entity":"method","class":"MonadPlus"},{"name":"mplus","module":"Control.Monad","entity":"method","class":"MonadPlus"},{"name":"mapM","module":"Control.Monad","entity":"value"},{"name":"mapM_","module":"Control.Monad","entity":"value"},{"name":"forM","module":"Control.Monad","entity":"value"},{"name":"forM_","module":"Control.Monad","entity":"value"},{"name":"sequence","module":"Control.Monad","entity":"value"},{"name":"sequence_","module":"Control.Monad","entity":"value"},{"name":"=<<","module":"Control.Monad","entity":"value"},{"name":">=>","module":"Control.Monad","entity":"value"},{"name":"<=<","module":"Control.Monad","entity":"value"},{"name":"forever","module":"Control.Monad","entity":"value"},{"name":"void","module":"Control.Monad","entity":"value"},{"name":"join","module":"Control.Monad","entity":"value"},{"name":"msum","module":"Control.Monad","entity":"value"},{"name":"mfilter","module":"Control.Monad","entity":"value"},{"name":"filterM","module":"Control.Monad","entity":"value"},{"name":"mapAndUnzipM","module":"Control.Monad","entity":"value"},{"name":"zipWithM","module":"Control.Monad","entity":"value"},{"name":"zipWithM_","module":"Control.Monad","entity":"value"},{"name":"foldM","module":"Control.Monad","entity":"value"},{"name":"foldM_","module":"Control.Monad","entity":"value"},{"name":"replicateM","module":"Control.Monad","entity":"value"},{"name":"replicateM_","module":"Control.Monad","entity":"value"},{"name":"guard","module":"Control.Monad","entity":"value"},{"name":"when","module":"Control.Monad","entity":"value"},{"name":"unless","module":"Control.Monad","entity":"value"},{"name":"liftM","module":"Control.Monad","entity":"value"},{"name":"liftM2","module":"Control.Monad","entity":"value"},{"name":"liftM3","module":"Control.Monad","entity":"value"},{"name":"liftM4","module":"Control.Monad","entity":"value"},{"name":"liftM5","module":"Control.Monad","entity":"value"},{"name":"ap","module":"Control.Monad","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Bits.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Bits","module":"Data.Bits","entity":"class"},{"name":".&.","module":"Data.Bits","entity":"method","class":"Bits"},{"name":".|.","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"xor","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"complement","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"shift","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"rotate","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"bit","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"setBit","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"clearBit","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"complementBit","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"testBit","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"bitSizeMaybe","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"bitSize","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"isSigned","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"shiftL","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"shiftR","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"unsafeShiftL","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"unsafeShiftR","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"rotateL","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"rotateR","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"popCount","module":"Data.Bits","entity":"method","class":"Bits"},{"name":"FiniteBits","module":"Data.Bits","entity":"class"},{"name":"finiteBitSize","module":"Data.Bits","entity":"method","class":"FiniteBits"},{"name":"bitDefault","module":"Data.Bits","entity":"value"},{"name":"testBitDefault","module":"Data.Bits","entity":"value"},{"name":"popCountDefault","module":"Data.Bits","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Bool.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Bool","module":"GHC.Types","entity":"data"},{"name":"False","module":"GHC.Types","type":"Bool","entity":"constructor"},{"name":"True","module":"GHC.Types","type":"Bool","entity":"constructor"},{"name":"&&","module":"GHC.Classes","entity":"value"},{"name":"||","module":"GHC.Classes","entity":"value"},{"name":"not","module":"GHC.Classes","entity":"value"},{"name":"otherwise","module":"GHC.Base","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Complex.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Complex","module":"Data.Complex","entity":"data"},{"name":":+","module":"Data.Complex","type":"Complex","entity":"constructor"},{"name":"realPart","module":"Data.Complex","entity":"value"},{"name":"imagPart","module":"Data.Complex","entity":"value"},{"name":"mkPolar","module":"Data.Complex","entity":"value"},{"name":"cis","module":"Data.Complex","entity":"value"},{"name":"polar","module":"Data.Complex","entity":"value"},{"name":"magnitude","module":"Data.Complex","entity":"value"},{"name":"phase","module":"Data.Complex","entity":"value"},{"name":"conjugate","module":"Data.Complex","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Dynamic.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"cast","module":"Data.Typeable","entity":"value"},{"name":"gcast","module":"Data.Typeable","entity":"value"},{"name":"gcast1","module":"Data.Typeable","entity":"value"},{"name":"gcast2","module":"Data.Typeable","entity":"value"},{"name":"funResultTy","module":"Data.Typeable.Internal","entity":"value"},{"name":"mkAppTy","module":"Data.Typeable.Internal","entity":"value"},{"name":"mkFunTy","module":"Data.Typeable.Internal","entity":"value"},{"name":"mkTyCon3","module":"Data.Typeable.Internal","entity":"value"},{"name":"mkTyConApp","module":"Data.Typeable.Internal","entity":"value"},{"name":"showsTypeRep","module":"Data.Typeable.Internal","entity":"value"},{"name":"splitTyConApp","module":"Data.Typeable.Internal","entity":"value"},{"name":"tyConString","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf1","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf2","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf3","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf4","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf5","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf6","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf7","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeRepArgs","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeRepTyCon","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeRep","module":"Data.Typeable.Internal","entity":"method","class":"Typeable"},{"constructors":["TyCon"],"name":"tyConModule","module":"Data.Typeable.Internal","type":"TyCon","entity":"selector"},{"constructors":["TyCon"],"name":"tyConName","module":"Data.Typeable.Internal","type":"TyCon","entity":"selector"},{"constructors":["TyCon"],"name":"tyConPackage","module":"Data.Typeable.Internal","type":"TyCon","entity":"selector"},{"name":"Proxy","module":"Data.Typeable.Internal","type":"Proxy","entity":"constructor"},{"name":"Proxy","module":"Data.Typeable.Internal","entity":"data"},{"name":"TyCon","module":"Data.Typeable.Internal","entity":"data"},{"name":"TypeRep","module":"Data.Typeable.Internal","entity":"data"},{"name":"Typeable","module":"Data.Typeable.Internal","entity":"class"},{"name":"Dynamic","module":"Data.Dynamic","entity":"data"},{"name":"toDyn","module":"Data.Dynamic","entity":"value"},{"name":"fromDyn","module":"Data.Dynamic","entity":"value"},{"name":"fromDynamic","module":"Data.Dynamic","entity":"value"},{"name":"dynApply","module":"Data.Dynamic","entity":"value"},{"name":"dynApp","module":"Data.Dynamic","entity":"value"},{"name":"dynTypeRep","module":"Data.Dynamic","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Either.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Either","module":"Data.Either","entity":"data"},{"name":"Left","module":"Data.Either","type":"Either","entity":"constructor"},{"name":"Right","module":"Data.Either","type":"Either","entity":"constructor"},{"name":"either","module":"Data.Either","entity":"value"},{"name":"lefts","module":"Data.Either","entity":"value"},{"name":"rights","module":"Data.Either","entity":"value"},{"name":"partitionEithers","module":"Data.Either","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Eq.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Eq","module":"GHC.Classes","entity":"class"},{"name":"/=","module":"GHC.Classes","entity":"method","class":"Eq"},{"name":"==","module":"GHC.Classes","entity":"method","class":"Eq"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Fixed.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"div'","module":"Data.Fixed","entity":"value"},{"name":"mod'","module":"Data.Fixed","entity":"value"},{"name":"divMod'","module":"Data.Fixed","entity":"value"},{"name":"Fixed","module":"Data.Fixed","entity":"newtype"},{"name":"MkFixed","module":"Data.Fixed","type":"Fixed","entity":"constructor"},{"name":"HasResolution","module":"Data.Fixed","entity":"class"},{"name":"resolution","module":"Data.Fixed","entity":"method","class":"HasResolution"},{"name":"showFixed","module":"Data.Fixed","entity":"value"},{"name":"E0","module":"Data.Fixed","entity":"data"},{"name":"Uni","module":"Data.Fixed","entity":"type"},{"name":"E1","module":"Data.Fixed","entity":"data"},{"name":"Deci","module":"Data.Fixed","entity":"type"},{"name":"E2","module":"Data.Fixed","entity":"data"},{"name":"Centi","module":"Data.Fixed","entity":"type"},{"name":"E3","module":"Data.Fixed","entity":"data"},{"name":"Milli","module":"Data.Fixed","entity":"type"},{"name":"E6","module":"Data.Fixed","entity":"data"},{"name":"Micro","module":"Data.Fixed","entity":"type"},{"name":"E9","module":"Data.Fixed","entity":"data"},{"name":"Nano","module":"Data.Fixed","entity":"type"},{"name":"E12","module":"Data.Fixed","entity":"data"},{"name":"Pico","module":"Data.Fixed","entity":"type"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Foldable.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Foldable","module":"Data.Foldable","entity":"class"},{"name":"fold","module":"Data.Foldable","entity":"method","class":"Foldable"},{"name":"foldMap","module":"Data.Foldable","entity":"method","class":"Foldable"},{"name":"foldl","module":"Data.Foldable","entity":"method","class":"Foldable"},{"name":"foldl'","module":"Data.Foldable","entity":"method","class":"Foldable"},{"name":"foldl1","module":"Data.Foldable","entity":"method","class":"Foldable"},{"name":"foldr","module":"Data.Foldable","entity":"method","class":"Foldable"},{"name":"foldr'","module":"Data.Foldable","entity":"method","class":"Foldable"},{"name":"foldr1","module":"Data.Foldable","entity":"method","class":"Foldable"},{"name":"foldrM","module":"Data.Foldable","entity":"value"},{"name":"foldlM","module":"Data.Foldable","entity":"value"},{"name":"traverse_","module":"Data.Foldable","entity":"value"},{"name":"for_","module":"Data.Foldable","entity":"value"},{"name":"sequenceA_","module":"Data.Foldable","entity":"value"},{"name":"asum","module":"Data.Foldable","entity":"value"},{"name":"mapM_","module":"Data.Foldable","entity":"value"},{"name":"forM_","module":"Data.Foldable","entity":"value"},{"name":"sequence_","module":"Data.Foldable","entity":"value"},{"name":"msum","module":"Data.Foldable","entity":"value"},{"name":"toList","module":"Data.Foldable","entity":"value"},{"name":"concat","module":"Data.Foldable","entity":"value"},{"name":"concatMap","module":"Data.Foldable","entity":"value"},{"name":"and","module":"Data.Foldable","entity":"value"},{"name":"or","module":"Data.Foldable","entity":"value"},{"name":"any","module":"Data.Foldable","entity":"value"},{"name":"all","module":"Data.Foldable","entity":"value"},{"name":"sum","module":"Data.Foldable","entity":"value"},{"name":"product","module":"Data.Foldable","entity":"value"},{"name":"maximum","module":"Data.Foldable","entity":"value"},{"name":"maximumBy","module":"Data.Foldable","entity":"value"},{"name":"minimum","module":"Data.Foldable","entity":"value"},{"name":"minimumBy","module":"Data.Foldable","entity":"value"},{"name":"elem","module":"Data.Foldable","entity":"value"},{"name":"notElem","module":"Data.Foldable","entity":"value"},{"name":"find","module":"Data.Foldable","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Function.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"id","module":"GHC.Base","entity":"value"},{"name":"const","module":"GHC.Base","entity":"value"},{"name":".","module":"GHC.Base","entity":"value"},{"name":"flip","module":"GHC.Base","entity":"value"},{"name":"$","module":"GHC.Base","entity":"value"},{"name":"fix","module":"Data.Function","entity":"value"},{"name":"on","module":"Data.Function","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Functor.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Functor","module":"GHC.Base","entity":"class"},{"name":"fmap","module":"GHC.Base","entity":"method","class":"Functor"},{"name":"<$","module":"GHC.Base","entity":"method","class":"Functor"},{"name":"<$>","module":"Data.Functor","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.IORef.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"IORef","module":"GHC.IORef","entity":"newtype"},{"name":"newIORef","module":"GHC.IORef","entity":"value"},{"name":"readIORef","module":"GHC.IORef","entity":"value"},{"name":"writeIORef","module":"GHC.IORef","entity":"value"},{"name":"modifyIORef","module":"Data.IORef","entity":"value"},{"name":"modifyIORef'","module":"Data.IORef","entity":"value"},{"name":"atomicModifyIORef","module":"Data.IORef","entity":"value"},{"name":"atomicModifyIORef'","module":"Data.IORef","entity":"value"},{"name":"atomicWriteIORef","module":"Data.IORef","entity":"value"},{"name":"mkWeakIORef","module":"Data.IORef","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Int.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Int","module":"GHC.Types","entity":"data"},{"name":"Int8","module":"GHC.Int","entity":"data"},{"name":"Int16","module":"GHC.Int","entity":"data"},{"name":"Int32","module":"GHC.Int","entity":"data"},{"name":"Int64","module":"GHC.Int","entity":"data"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Ix.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Ix","module":"GHC.Arr","entity":"class"},{"name":"range","module":"GHC.Arr","entity":"method","class":"Ix"},{"name":"index","module":"GHC.Arr","entity":"method","class":"Ix"},{"name":"inRange","module":"GHC.Arr","entity":"method","class":"Ix"},{"name":"rangeSize","module":"GHC.Arr","entity":"method","class":"Ix"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Maybe.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Maybe","module":"Data.Maybe","entity":"data"},{"name":"Nothing","module":"Data.Maybe","type":"Maybe","entity":"constructor"},{"name":"Just","module":"Data.Maybe","type":"Maybe","entity":"constructor"},{"name":"maybe","module":"Data.Maybe","entity":"value"},{"name":"isJust","module":"Data.Maybe","entity":"value"},{"name":"isNothing","module":"Data.Maybe","entity":"value"},{"name":"fromJust","module":"Data.Maybe","entity":"value"},{"name":"fromMaybe","module":"Data.Maybe","entity":"value"},{"name":"listToMaybe","module":"Data.Maybe","entity":"value"},{"name":"maybeToList","module":"Data.Maybe","entity":"value"},{"name":"catMaybes","module":"Data.Maybe","entity":"value"},{"name":"mapMaybe","module":"Data.Maybe","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Monoid.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Monoid","module":"Data.Monoid","entity":"class"},{"name":"mappend","module":"Data.Monoid","entity":"method","class":"Monoid"},{"name":"mconcat","module":"Data.Monoid","entity":"method","class":"Monoid"},{"name":"mempty","module":"Data.Monoid","entity":"method","class":"Monoid"},{"name":"<>","module":"Data.Monoid","entity":"value"},{"name":"Dual","module":"Data.Monoid","entity":"newtype"},{"name":"Dual","module":"Data.Monoid","type":"Dual","entity":"constructor"},{"constructors":["Dual"],"name":"getDual","module":"Data.Monoid","type":"Dual","entity":"selector"},{"name":"Endo","module":"Data.Monoid","entity":"newtype"},{"name":"Endo","module":"Data.Monoid","type":"Endo","entity":"constructor"},{"constructors":["Endo"],"name":"appEndo","module":"Data.Monoid","type":"Endo","entity":"selector"},{"name":"All","module":"Data.Monoid","entity":"newtype"},{"name":"All","module":"Data.Monoid","type":"All","entity":"constructor"},{"constructors":["All"],"name":"getAll","module":"Data.Monoid","type":"All","entity":"selector"},{"name":"Any","module":"Data.Monoid","entity":"newtype"},{"name":"Any","module":"Data.Monoid","type":"Any","entity":"constructor"},{"constructors":["Any"],"name":"getAny","module":"Data.Monoid","type":"Any","entity":"selector"},{"name":"Sum","module":"Data.Monoid","entity":"newtype"},{"name":"Sum","module":"Data.Monoid","type":"Sum","entity":"constructor"},{"constructors":["Sum"],"name":"getSum","module":"Data.Monoid","type":"Sum","entity":"selector"},{"name":"Product","module":"Data.Monoid","entity":"newtype"},{"name":"Product","module":"Data.Monoid","type":"Product","entity":"constructor"},{"constructors":["Product"],"name":"getProduct","module":"Data.Monoid","type":"Product","entity":"selector"},{"name":"First","module":"Data.Monoid","entity":"newtype"},{"name":"First","module":"Data.Monoid","type":"First","entity":"constructor"},{"constructors":["First"],"name":"getFirst","module":"Data.Monoid","type":"First","entity":"selector"},{"name":"Last","module":"Data.Monoid","entity":"newtype"},{"name":"Last","module":"Data.Monoid","type":"Last","entity":"constructor"},{"constructors":["Last"],"name":"getLast","module":"Data.Monoid","type":"Last","entity":"selector"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Ord.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Ord","module":"GHC.Classes","entity":"class"},{"name":"compare","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":"max","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":"min","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":"<","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":"<=","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":">","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":">=","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":"Ordering","module":"GHC.Types","entity":"data"},{"name":"EQ","module":"GHC.Types","type":"Ordering","entity":"constructor"},{"name":"GT","module":"GHC.Types","type":"Ordering","entity":"constructor"},{"name":"LT","module":"GHC.Types","type":"Ordering","entity":"constructor"},{"name":"Down","module":"Data.Ord","entity":"newtype"},{"name":"Down","module":"Data.Ord","type":"Down","entity":"constructor"},{"name":"comparing","module":"Data.Ord","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Ratio.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Ratio","module":"GHC.Real","entity":"data"},{"name":"Rational","module":"GHC.Real","entity":"type"},{"name":"%","module":"GHC.Real","entity":"value"},{"name":"numerator","module":"GHC.Real","entity":"value"},{"name":"denominator","module":"GHC.Real","entity":"value"},{"name":"approxRational","module":"Data.Ratio","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.STRef.Lazy.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"STRef","module":"GHC.STRef","entity":"data"},{"name":"newSTRef","module":"Data.STRef.Lazy","entity":"value"},{"name":"readSTRef","module":"Data.STRef.Lazy","entity":"value"},{"name":"writeSTRef","module":"Data.STRef.Lazy","entity":"value"},{"name":"modifySTRef","module":"Data.STRef.Lazy","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.STRef.Strict.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"modifySTRef","module":"Data.STRef","entity":"value"},{"name":"modifySTRef'","module":"Data.STRef","entity":"value"},{"name":"newSTRef","module":"GHC.STRef","entity":"value"},{"name":"readSTRef","module":"GHC.STRef","entity":"value"},{"name":"writeSTRef","module":"GHC.STRef","entity":"value"},{"name":"STRef","module":"GHC.STRef","entity":"data"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.STRef.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"STRef","module":"GHC.STRef","entity":"data"},{"name":"newSTRef","module":"GHC.STRef","entity":"value"},{"name":"readSTRef","module":"GHC.STRef","entity":"value"},{"name":"writeSTRef","module":"GHC.STRef","entity":"value"},{"name":"modifySTRef","module":"Data.STRef","entity":"value"},{"name":"modifySTRef'","module":"Data.STRef","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.String.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"String","module":"GHC.Base","entity":"type"},{"name":"IsString","module":"Data.String","entity":"class"},{"name":"fromString","module":"Data.String","entity":"method","class":"IsString"},{"name":"lines","module":"Data.List","entity":"value"},{"name":"words","module":"Data.List","entity":"value"},{"name":"unlines","module":"Data.List","entity":"value"},{"name":"unwords","module":"Data.List","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Traversable.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Traversable","module":"Data.Traversable","entity":"class"},{"name":"mapM","module":"Data.Traversable","entity":"method","class":"Traversable"},{"name":"sequence","module":"Data.Traversable","entity":"method","class":"Traversable"},{"name":"sequenceA","module":"Data.Traversable","entity":"method","class":"Traversable"},{"name":"traverse","module":"Data.Traversable","entity":"method","class":"Traversable"},{"name":"for","module":"Data.Traversable","entity":"value"},{"name":"forM","module":"Data.Traversable","entity":"value"},{"name":"mapAccumL","module":"Data.Traversable","entity":"value"},{"name":"mapAccumR","module":"Data.Traversable","entity":"value"},{"name":"fmapDefault","module":"Data.Traversable","entity":"value"},{"name":"foldMapDefault","module":"Data.Traversable","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Tuple.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"fst","module":"Data.Tuple","entity":"value"},{"name":"snd","module":"Data.Tuple","entity":"value"},{"name":"curry","module":"Data.Tuple","entity":"value"},{"name":"uncurry","module":"Data.Tuple","entity":"value"},{"name":"swap","module":"Data.Tuple","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Typeable.Internal.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Proxy","module":"Data.Typeable.Internal","entity":"data"},{"name":"Proxy","module":"Data.Typeable.Internal","type":"Proxy","entity":"constructor"},{"name":"TypeRep","module":"Data.Typeable.Internal","entity":"data"},{"name":"TypeRep","module":"Data.Typeable.Internal","type":"TypeRep","entity":"constructor"},{"name":"Fingerprint","module":"GHC.Fingerprint.Type","entity":"data"},{"name":"Fingerprint","module":"GHC.Fingerprint.Type","type":"Fingerprint","entity":"constructor"},{"name":"typeOf","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf1","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf2","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf3","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf4","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf5","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf6","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf7","module":"Data.Typeable.Internal","entity":"value"},{"name":"TyCon","module":"Data.Typeable.Internal","entity":"data"},{"name":"TyCon","module":"Data.Typeable.Internal","type":"TyCon","entity":"constructor"},{"constructors":["TyCon"],"name":"tyConHash","module":"Data.Typeable.Internal","type":"TyCon","entity":"selector"},{"constructors":["TyCon"],"name":"tyConModule","module":"Data.Typeable.Internal","type":"TyCon","entity":"selector"},{"constructors":["TyCon"],"name":"tyConName","module":"Data.Typeable.Internal","type":"TyCon","entity":"selector"},{"constructors":["TyCon"],"name":"tyConPackage","module":"Data.Typeable.Internal","type":"TyCon","entity":"selector"},{"name":"mkTyCon","module":"Data.Typeable.Internal","entity":"value"},{"name":"mkTyCon3","module":"Data.Typeable.Internal","entity":"value"},{"name":"mkTyConApp","module":"Data.Typeable.Internal","entity":"value"},{"name":"mkAppTy","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeRepTyCon","module":"Data.Typeable.Internal","entity":"value"},{"name":"Typeable","module":"Data.Typeable.Internal","entity":"class"},{"name":"typeRep","module":"Data.Typeable.Internal","entity":"method","class":"Typeable"},{"name":"mkFunTy","module":"Data.Typeable.Internal","entity":"value"},{"name":"splitTyConApp","module":"Data.Typeable.Internal","entity":"value"},{"name":"funResultTy","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeRepArgs","module":"Data.Typeable.Internal","entity":"value"},{"name":"showsTypeRep","module":"Data.Typeable.Internal","entity":"value"},{"name":"tyConString","module":"Data.Typeable.Internal","entity":"value"},{"name":"listTc","module":"Data.Typeable.Internal","entity":"value"},{"name":"funTc","module":"Data.Typeable.Internal","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Typeable.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Proxy","module":"Data.Typeable.Internal","entity":"data"},{"name":"Proxy","module":"Data.Typeable.Internal","type":"Proxy","entity":"constructor"},{"name":"Typeable","module":"Data.Typeable.Internal","entity":"class"},{"name":"typeRep","module":"Data.Typeable.Internal","entity":"method","class":"Typeable"},{"name":"typeOf","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf1","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf2","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf3","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf4","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf5","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf6","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeOf7","module":"Data.Typeable.Internal","entity":"value"},{"name":"cast","module":"Data.Typeable","entity":"value"},{"name":"gcast","module":"Data.Typeable","entity":"value"},{"name":"gcast1","module":"Data.Typeable","entity":"value"},{"name":"gcast2","module":"Data.Typeable","entity":"value"},{"name":"TypeRep","module":"Data.Typeable.Internal","entity":"data"},{"name":"showsTypeRep","module":"Data.Typeable.Internal","entity":"value"},{"name":"TyCon","module":"Data.Typeable.Internal","entity":"data"},{"name":"tyConString","module":"Data.Typeable.Internal","entity":"value"},{"constructors":["TyCon"],"name":"tyConPackage","module":"Data.Typeable.Internal","type":"TyCon","entity":"selector"},{"constructors":["TyCon"],"name":"tyConModule","module":"Data.Typeable.Internal","type":"TyCon","entity":"selector"},{"constructors":["TyCon"],"name":"tyConName","module":"Data.Typeable.Internal","type":"TyCon","entity":"selector"},{"name":"mkTyCon3","module":"Data.Typeable.Internal","entity":"value"},{"name":"mkTyConApp","module":"Data.Typeable.Internal","entity":"value"},{"name":"mkAppTy","module":"Data.Typeable.Internal","entity":"value"},{"name":"mkFunTy","module":"Data.Typeable.Internal","entity":"value"},{"name":"splitTyConApp","module":"Data.Typeable.Internal","entity":"value"},{"name":"funResultTy","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeRepTyCon","module":"Data.Typeable.Internal","entity":"value"},{"name":"typeRepArgs","module":"Data.Typeable.Internal","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Unique.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Unique","module":"Data.Unique","entity":"newtype"},{"name":"newUnique","module":"Data.Unique","entity":"value"},{"name":"hashUnique","module":"Data.Unique","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Version.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Version","module":"Data.Version","entity":"data"},{"name":"Version","module":"Data.Version","type":"Version","entity":"constructor"},{"constructors":["Version"],"name":"versionBranch","module":"Data.Version","type":"Version","entity":"selector"},{"constructors":["Version"],"name":"versionTags","module":"Data.Version","type":"Version","entity":"selector"},{"name":"showVersion","module":"Data.Version","entity":"value"},{"name":"parseVersion","module":"Data.Version","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Data.Word.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Word","module":"GHC.Types","entity":"data"},{"name":"Word8","module":"GHC.Word","entity":"data"},{"name":"Word16","module":"GHC.Word","entity":"data"},{"name":"Word32","module":"GHC.Word","entity":"data"},{"name":"Word64","module":"GHC.Word","entity":"data"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Debug.Trace.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"trace","module":"Debug.Trace","entity":"value"},{"name":"traceShow","module":"Debug.Trace","entity":"value"},{"name":"traceStack","module":"Debug.Trace","entity":"value"},{"name":"traceIO","module":"Debug.Trace","entity":"value"},{"name":"putTraceMsg","module":"Debug.Trace","entity":"value"},{"name":"traceEvent","module":"Debug.Trace","entity":"value"},{"name":"traceEventIO","module":"Debug.Trace","entity":"value"},{"name":"traceMarker","module":"Debug.Trace","entity":"value"},{"name":"traceMarkerIO","module":"Debug.Trace","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.C.String.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"CString","module":"Foreign.C.String","entity":"type"},{"name":"CStringLen","module":"Foreign.C.String","entity":"type"},{"name":"peekCString","module":"Foreign.C.String","entity":"value"},{"name":"peekCStringLen","module":"Foreign.C.String","entity":"value"},{"name":"newCString","module":"Foreign.C.String","entity":"value"},{"name":"newCStringLen","module":"Foreign.C.String","entity":"value"},{"name":"withCString","module":"Foreign.C.String","entity":"value"},{"name":"withCStringLen","module":"Foreign.C.String","entity":"value"},{"name":"charIsRepresentable","module":"Foreign.C.String","entity":"value"},{"name":"castCharToCChar","module":"Foreign.C.String","entity":"value"},{"name":"castCCharToChar","module":"Foreign.C.String","entity":"value"},{"name":"castCharToCUChar","module":"Foreign.C.String","entity":"value"},{"name":"castCUCharToChar","module":"Foreign.C.String","entity":"value"},{"name":"castCharToCSChar","module":"Foreign.C.String","entity":"value"},{"name":"castCSCharToChar","module":"Foreign.C.String","entity":"value"},{"name":"peekCAString","module":"Foreign.C.String","entity":"value"},{"name":"peekCAStringLen","module":"Foreign.C.String","entity":"value"},{"name":"newCAString","module":"Foreign.C.String","entity":"value"},{"name":"newCAStringLen","module":"Foreign.C.String","entity":"value"},{"name":"withCAString","module":"Foreign.C.String","entity":"value"},{"name":"withCAStringLen","module":"Foreign.C.String","entity":"value"},{"name":"CWString","module":"Foreign.C.String","entity":"type"},{"name":"CWStringLen","module":"Foreign.C.String","entity":"type"},{"name":"peekCWString","module":"Foreign.C.String","entity":"value"},{"name":"peekCWStringLen","module":"Foreign.C.String","entity":"value"},{"name":"newCWString","module":"Foreign.C.String","entity":"value"},{"name":"newCWStringLen","module":"Foreign.C.String","entity":"value"},{"name":"withCWString","module":"Foreign.C.String","entity":"value"},{"name":"withCWStringLen","module":"Foreign.C.String","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.Concurrent.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"newForeignPtr","module":"Foreign.Concurrent","entity":"value"},{"name":"addForeignPtrFinalizer","module":"Foreign.Concurrent","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.ForeignPtr.Imp.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ForeignPtr","module":"GHC.ForeignPtr","entity":"data"},{"name":"FinalizerPtr","module":"GHC.ForeignPtr","entity":"type"},{"name":"FinalizerEnvPtr","module":"GHC.ForeignPtr","entity":"type"},{"name":"newForeignPtr","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"newForeignPtr_","module":"GHC.ForeignPtr","entity":"value"},{"name":"addForeignPtrFinalizer","module":"GHC.ForeignPtr","entity":"value"},{"name":"newForeignPtrEnv","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"addForeignPtrFinalizerEnv","module":"GHC.ForeignPtr","entity":"value"},{"name":"withForeignPtr","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"finalizeForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"unsafeForeignPtrToPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"touchForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"castForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtrBytes","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtrArray","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"mallocForeignPtrArray0","module":"Foreign.ForeignPtr.Imp","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.ForeignPtr.Safe.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ForeignPtr","module":"GHC.ForeignPtr","entity":"data"},{"name":"FinalizerPtr","module":"GHC.ForeignPtr","entity":"type"},{"name":"FinalizerEnvPtr","module":"GHC.ForeignPtr","entity":"type"},{"name":"newForeignPtr","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"newForeignPtr_","module":"GHC.ForeignPtr","entity":"value"},{"name":"addForeignPtrFinalizer","module":"GHC.ForeignPtr","entity":"value"},{"name":"newForeignPtrEnv","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"addForeignPtrFinalizerEnv","module":"GHC.ForeignPtr","entity":"value"},{"name":"withForeignPtr","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"finalizeForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"touchForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"castForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtrBytes","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtrArray","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"mallocForeignPtrArray0","module":"Foreign.ForeignPtr.Imp","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.ForeignPtr.Unsafe.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"unsafeForeignPtrToPtr","module":"GHC.ForeignPtr","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.ForeignPtr.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ForeignPtr","module":"GHC.ForeignPtr","entity":"data"},{"name":"FinalizerPtr","module":"GHC.ForeignPtr","entity":"type"},{"name":"FinalizerEnvPtr","module":"GHC.ForeignPtr","entity":"type"},{"name":"newForeignPtr","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"newForeignPtr_","module":"GHC.ForeignPtr","entity":"value"},{"name":"addForeignPtrFinalizer","module":"GHC.ForeignPtr","entity":"value"},{"name":"newForeignPtrEnv","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"addForeignPtrFinalizerEnv","module":"GHC.ForeignPtr","entity":"value"},{"name":"withForeignPtr","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"finalizeForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"touchForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"castForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtrBytes","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtrArray","module":"Foreign.ForeignPtr.Imp","entity":"value"},{"name":"mallocForeignPtrArray0","module":"Foreign.ForeignPtr.Imp","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.Marshal.Alloc.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"alloca","module":"Foreign.Marshal.Alloc","entity":"value"},{"name":"allocaBytes","module":"Foreign.Marshal.Alloc","entity":"value"},{"name":"allocaBytesAligned","module":"Foreign.Marshal.Alloc","entity":"value"},{"name":"malloc","module":"Foreign.Marshal.Alloc","entity":"value"},{"name":"mallocBytes","module":"Foreign.Marshal.Alloc","entity":"value"},{"name":"realloc","module":"Foreign.Marshal.Alloc","entity":"value"},{"name":"reallocBytes","module":"Foreign.Marshal.Alloc","entity":"value"},{"name":"free","module":"Foreign.Marshal.Alloc","entity":"value"},{"name":"finalizerFree","module":"Foreign.Marshal.Alloc","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.Marshal.Array.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"mallocArray","module":"Foreign.Marshal.Array","entity":"value"},{"name":"mallocArray0","module":"Foreign.Marshal.Array","entity":"value"},{"name":"allocaArray","module":"Foreign.Marshal.Array","entity":"value"},{"name":"allocaArray0","module":"Foreign.Marshal.Array","entity":"value"},{"name":"reallocArray","module":"Foreign.Marshal.Array","entity":"value"},{"name":"reallocArray0","module":"Foreign.Marshal.Array","entity":"value"},{"name":"peekArray","module":"Foreign.Marshal.Array","entity":"value"},{"name":"peekArray0","module":"Foreign.Marshal.Array","entity":"value"},{"name":"pokeArray","module":"Foreign.Marshal.Array","entity":"value"},{"name":"pokeArray0","module":"Foreign.Marshal.Array","entity":"value"},{"name":"newArray","module":"Foreign.Marshal.Array","entity":"value"},{"name":"newArray0","module":"Foreign.Marshal.Array","entity":"value"},{"name":"withArray","module":"Foreign.Marshal.Array","entity":"value"},{"name":"withArray0","module":"Foreign.Marshal.Array","entity":"value"},{"name":"withArrayLen","module":"Foreign.Marshal.Array","entity":"value"},{"name":"withArrayLen0","module":"Foreign.Marshal.Array","entity":"value"},{"name":"copyArray","module":"Foreign.Marshal.Array","entity":"value"},{"name":"moveArray","module":"Foreign.Marshal.Array","entity":"value"},{"name":"lengthArray0","module":"Foreign.Marshal.Array","entity":"value"},{"name":"advancePtr","module":"Foreign.Marshal.Array","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.Marshal.Error.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"throwIf","module":"Foreign.Marshal.Error","entity":"value"},{"name":"throwIf_","module":"Foreign.Marshal.Error","entity":"value"},{"name":"throwIfNeg","module":"Foreign.Marshal.Error","entity":"value"},{"name":"throwIfNeg_","module":"Foreign.Marshal.Error","entity":"value"},{"name":"throwIfNull","module":"Foreign.Marshal.Error","entity":"value"},{"name":"void","module":"Foreign.Marshal.Error","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.Marshal.Pool.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Pool","module":"Foreign.Marshal.Pool","entity":"newtype"},{"name":"newPool","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"freePool","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"withPool","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledMalloc","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledMallocBytes","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledRealloc","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledReallocBytes","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledMallocArray","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledMallocArray0","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledReallocArray","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledReallocArray0","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledNew","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledNewArray","module":"Foreign.Marshal.Pool","entity":"value"},{"name":"pooledNewArray0","module":"Foreign.Marshal.Pool","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.Marshal.Unsafe.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"unsafeLocalState","module":"Foreign.Marshal.Unsafe","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.Marshal.Utils.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"with","module":"Foreign.Marshal.Utils","entity":"value"},{"name":"new","module":"Foreign.Marshal.Utils","entity":"value"},{"name":"fromBool","module":"Foreign.Marshal.Utils","entity":"value"},{"name":"toBool","module":"Foreign.Marshal.Utils","entity":"value"},{"name":"maybeNew","module":"Foreign.Marshal.Utils","entity":"value"},{"name":"maybeWith","module":"Foreign.Marshal.Utils","entity":"value"},{"name":"maybePeek","module":"Foreign.Marshal.Utils","entity":"value"},{"name":"withMany","module":"Foreign.Marshal.Utils","entity":"value"},{"name":"copyBytes","module":"Foreign.Marshal.Utils","entity":"value"},{"name":"moveBytes","module":"Foreign.Marshal.Utils","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.Ptr.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Ptr","module":"GHC.Ptr","entity":"data"},{"name":"nullPtr","module":"GHC.Ptr","entity":"value"},{"name":"castPtr","module":"GHC.Ptr","entity":"value"},{"name":"plusPtr","module":"GHC.Ptr","entity":"value"},{"name":"alignPtr","module":"GHC.Ptr","entity":"value"},{"name":"minusPtr","module":"GHC.Ptr","entity":"value"},{"name":"FunPtr","module":"GHC.Ptr","entity":"data"},{"name":"nullFunPtr","module":"GHC.Ptr","entity":"value"},{"name":"castFunPtr","module":"GHC.Ptr","entity":"value"},{"name":"castFunPtrToPtr","module":"GHC.Ptr","entity":"value"},{"name":"castPtrToFunPtr","module":"GHC.Ptr","entity":"value"},{"name":"freeHaskellFunPtr","module":"Foreign.Ptr","entity":"value"},{"name":"IntPtr","module":"Foreign.Ptr","entity":"newtype"},{"name":"ptrToIntPtr","module":"Foreign.Ptr","entity":"value"},{"name":"intPtrToPtr","module":"Foreign.Ptr","entity":"value"},{"name":"WordPtr","module":"Foreign.Ptr","entity":"newtype"},{"name":"ptrToWordPtr","module":"Foreign.Ptr","entity":"value"},{"name":"wordPtrToPtr","module":"Foreign.Ptr","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.StablePtr.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"StablePtr","module":"GHC.Stable","entity":"data"},{"name":"newStablePtr","module":"GHC.Stable","entity":"value"},{"name":"deRefStablePtr","module":"GHC.Stable","entity":"value"},{"name":"freeStablePtr","module":"GHC.Stable","entity":"value"},{"name":"castStablePtrToPtr","module":"GHC.Stable","entity":"value"},{"name":"castPtrToStablePtr","module":"GHC.Stable","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Foreign.Storable.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Storable","module":"Foreign.Storable","entity":"class"},{"name":"sizeOf","module":"Foreign.Storable","entity":"method","class":"Storable"},{"name":"alignment","module":"Foreign.Storable","entity":"method","class":"Storable"},{"name":"peekElemOff","module":"Foreign.Storable","entity":"method","class":"Storable"},{"name":"pokeElemOff","module":"Foreign.Storable","entity":"method","class":"Storable"},{"name":"peekByteOff","module":"Foreign.Storable","entity":"method","class":"Storable"},{"name":"pokeByteOff","module":"Foreign.Storable","entity":"method","class":"Storable"},{"name":"peek","module":"Foreign.Storable","entity":"method","class":"Storable"},{"name":"poke","module":"Foreign.Storable","entity":"method","class":"Storable"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.CString.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"unpackCString#","module":"GHC.CString","entity":"value"},{"name":"unpackAppendCString#","module":"GHC.CString","entity":"value"},{"name":"unpackFoldrCString#","module":"GHC.CString","entity":"value"},{"name":"unpackCStringUtf8#","module":"GHC.CString","entity":"value"},{"name":"unpackNBytes#","module":"GHC.CString","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Char.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"chr","module":"GHC.Char","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Classes.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Eq","module":"GHC.Classes","entity":"class"},{"name":"==","module":"GHC.Classes","entity":"method","class":"Eq"},{"name":"/=","module":"GHC.Classes","entity":"method","class":"Eq"},{"name":"eqInt","module":"GHC.Classes","entity":"value"},{"name":"neInt","module":"GHC.Classes","entity":"value"},{"name":"Ord","module":"GHC.Classes","entity":"class"},{"name":"compare","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":"<","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":"<=","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":">","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":">=","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":"max","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":"min","module":"GHC.Classes","entity":"method","class":"Ord"},{"name":"gtInt","module":"GHC.Classes","entity":"value"},{"name":"geInt","module":"GHC.Classes","entity":"value"},{"name":"ltInt","module":"GHC.Classes","entity":"value"},{"name":"leInt","module":"GHC.Classes","entity":"value"},{"name":"compareInt","module":"GHC.Classes","entity":"value"},{"name":"compareInt#","module":"GHC.Classes","entity":"value"},{"name":"&&","module":"GHC.Classes","entity":"value"},{"name":"||","module":"GHC.Classes","entity":"value"},{"name":"not","module":"GHC.Classes","entity":"value"},{"name":"divInt#","module":"GHC.Classes","entity":"value"},{"name":"modInt#","module":"GHC.Classes","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Conc.IO.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ensureIOManagerIsRunning","module":"GHC.Conc.IO","entity":"value"},{"name":"ioManagerCapabilitiesChanged","module":"GHC.Conc.IO","entity":"value"},{"name":"threadDelay","module":"GHC.Conc.IO","entity":"value"},{"name":"registerDelay","module":"GHC.Conc.IO","entity":"value"},{"name":"threadWaitRead","module":"GHC.Conc.IO","entity":"value"},{"name":"threadWaitWrite","module":"GHC.Conc.IO","entity":"value"},{"name":"threadWaitReadSTM","module":"GHC.Conc.IO","entity":"value"},{"name":"threadWaitWriteSTM","module":"GHC.Conc.IO","entity":"value"},{"name":"closeFdWith","module":"GHC.Conc.IO","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Conc.Signal.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Signal","module":"GHC.Conc.Signal","entity":"type"},{"name":"HandlerFun","module":"GHC.Conc.Signal","entity":"type"},{"name":"setHandler","module":"GHC.Conc.Signal","entity":"value"},{"name":"runHandlers","module":"GHC.Conc.Signal","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.ConsoleHandler.symbols: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Constants.symbols: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Debug.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"debugLn","module":"GHC.Debug","entity":"value"},{"name":"debugErrLn","module":"GHC.Debug","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Desugar.symbols: -------------------------------------------------------------------------------- 1 | [{"name":">>>","module":"GHC.Desugar","entity":"value"},{"name":"AnnotationWrapper","module":"GHC.Desugar","entity":"data"},{"name":"AnnotationWrapper","module":"GHC.Desugar","type":"AnnotationWrapper","entity":"constructor"},{"name":"toAnnotationWrapper","module":"GHC.Desugar","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Enum.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Bounded","module":"GHC.Enum","entity":"class"},{"name":"maxBound","module":"GHC.Enum","entity":"method","class":"Bounded"},{"name":"minBound","module":"GHC.Enum","entity":"method","class":"Bounded"},{"name":"Enum","module":"GHC.Enum","entity":"class"},{"name":"enumFrom","module":"GHC.Enum","entity":"method","class":"Enum"},{"name":"enumFromThen","module":"GHC.Enum","entity":"method","class":"Enum"},{"name":"enumFromThenTo","module":"GHC.Enum","entity":"method","class":"Enum"},{"name":"enumFromTo","module":"GHC.Enum","entity":"method","class":"Enum"},{"name":"fromEnum","module":"GHC.Enum","entity":"method","class":"Enum"},{"name":"pred","module":"GHC.Enum","entity":"method","class":"Enum"},{"name":"succ","module":"GHC.Enum","entity":"method","class":"Enum"},{"name":"toEnum","module":"GHC.Enum","entity":"method","class":"Enum"},{"name":"boundedEnumFrom","module":"GHC.Enum","entity":"value"},{"name":"boundedEnumFromThen","module":"GHC.Enum","entity":"value"},{"name":"toEnumError","module":"GHC.Enum","entity":"value"},{"name":"fromEnumError","module":"GHC.Enum","entity":"value"},{"name":"succError","module":"GHC.Enum","entity":"value"},{"name":"predError","module":"GHC.Enum","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Environment.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"getFullArgs","module":"GHC.Environment","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Err.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"absentErr","module":"GHC.Err","entity":"value"},{"name":"divZeroError","module":"GHC.Err","entity":"value"},{"name":"ratioZeroDenominatorError","module":"GHC.Err","entity":"value"},{"name":"overflowError","module":"GHC.Err","entity":"value"},{"name":"error","module":"GHC.Err","entity":"value"},{"name":"undefined","module":"GHC.Err","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.Array.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Array","module":"GHC.Event.Array","entity":"newtype"},{"name":"capacity","module":"GHC.Event.Array","entity":"value"},{"name":"clear","module":"GHC.Event.Array","entity":"value"},{"name":"concat","module":"GHC.Event.Array","entity":"value"},{"name":"copy","module":"GHC.Event.Array","entity":"value"},{"name":"duplicate","module":"GHC.Event.Array","entity":"value"},{"name":"empty","module":"GHC.Event.Array","entity":"value"},{"name":"ensureCapacity","module":"GHC.Event.Array","entity":"value"},{"name":"findIndex","module":"GHC.Event.Array","entity":"value"},{"name":"forM_","module":"GHC.Event.Array","entity":"value"},{"name":"length","module":"GHC.Event.Array","entity":"value"},{"name":"loop","module":"GHC.Event.Array","entity":"value"},{"name":"new","module":"GHC.Event.Array","entity":"value"},{"name":"removeAt","module":"GHC.Event.Array","entity":"value"},{"name":"snoc","module":"GHC.Event.Array","entity":"value"},{"name":"unsafeLoad","module":"GHC.Event.Array","entity":"value"},{"name":"unsafeRead","module":"GHC.Event.Array","entity":"value"},{"name":"unsafeWrite","module":"GHC.Event.Array","entity":"value"},{"name":"useAsPtr","module":"GHC.Event.Array","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.Clock.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"getMonotonicTime","module":"GHC.Event.Clock","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.Control.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Signal","module":"GHC.Conc.Signal","entity":"type"},{"name":"ControlMessage","module":"GHC.Event.Control","entity":"data"},{"name":"CMsgDie","module":"GHC.Event.Control","type":"ControlMessage","entity":"constructor"},{"name":"CMsgSignal","module":"GHC.Event.Control","type":"ControlMessage","entity":"constructor"},{"name":"CMsgWakeup","module":"GHC.Event.Control","type":"ControlMessage","entity":"constructor"},{"name":"Control","module":"GHC.Event.Control","entity":"data"},{"name":"newControl","module":"GHC.Event.Control","entity":"value"},{"name":"closeControl","module":"GHC.Event.Control","entity":"value"},{"name":"readControlMessage","module":"GHC.Event.Control","entity":"value"},{"constructors":["W"],"name":"controlReadFd","module":"GHC.Event.Control","type":"Control","entity":"selector"},{"name":"wakeupReadFd","module":"GHC.Event.Control","entity":"value"},{"name":"sendWakeup","module":"GHC.Event.Control","entity":"value"},{"name":"sendDie","module":"GHC.Event.Control","entity":"value"},{"name":"setNonBlockingFD","module":"System.Posix.Internals","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.EPoll.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"new","module":"GHC.Event.EPoll","entity":"value"},{"name":"available","module":"GHC.Event.EPoll","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.IntMap.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"IntMap","module":"GHC.Event.IntMap","entity":"data"},{"name":"Key","module":"GHC.Event.IntMap","entity":"type"},{"name":"lookup","module":"GHC.Event.IntMap","entity":"value"},{"name":"member","module":"GHC.Event.IntMap","entity":"value"},{"name":"empty","module":"GHC.Event.IntMap","entity":"value"},{"name":"insertWith","module":"GHC.Event.IntMap","entity":"value"},{"name":"delete","module":"GHC.Event.IntMap","entity":"value"},{"name":"updateWith","module":"GHC.Event.IntMap","entity":"value"},{"name":"foldWithKey","module":"GHC.Event.IntMap","entity":"value"},{"name":"keys","module":"GHC.Event.IntMap","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.Internal.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Backend","module":"GHC.Event.Internal","entity":"data"},{"name":"backend","module":"GHC.Event.Internal","entity":"value"},{"name":"delete","module":"GHC.Event.Internal","entity":"value"},{"name":"poll","module":"GHC.Event.Internal","entity":"value"},{"name":"modifyFd","module":"GHC.Event.Internal","entity":"value"},{"name":"modifyFdOnce","module":"GHC.Event.Internal","entity":"value"},{"name":"Event","module":"GHC.Event.Internal","entity":"newtype"},{"name":"evtRead","module":"GHC.Event.Internal","entity":"value"},{"name":"evtWrite","module":"GHC.Event.Internal","entity":"value"},{"name":"evtClose","module":"GHC.Event.Internal","entity":"value"},{"name":"eventIs","module":"GHC.Event.Internal","entity":"value"},{"name":"Timeout","module":"GHC.Event.Internal","entity":"data"},{"name":"Forever","module":"GHC.Event.Internal","type":"Timeout","entity":"constructor"},{"name":"Timeout","module":"GHC.Event.Internal","type":"Timeout","entity":"constructor"},{"name":"throwErrnoIfMinus1NoRetry","module":"GHC.Event.Internal","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.KQueue.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"new","module":"GHC.Event.KQueue","entity":"value"},{"name":"available","module":"GHC.Event.KQueue","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.Manager.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"EventManager","module":"GHC.Event.Manager","entity":"data"},{"name":"new","module":"GHC.Event.Manager","entity":"value"},{"name":"newWith","module":"GHC.Event.Manager","entity":"value"},{"name":"newDefaultBackend","module":"GHC.Event.Manager","entity":"value"},{"name":"finished","module":"GHC.Event.Manager","entity":"value"},{"name":"loop","module":"GHC.Event.Manager","entity":"value"},{"name":"step","module":"GHC.Event.Manager","entity":"value"},{"name":"shutdown","module":"GHC.Event.Manager","entity":"value"},{"name":"release","module":"GHC.Event.Manager","entity":"value"},{"name":"cleanup","module":"GHC.Event.Manager","entity":"value"},{"name":"wakeManager","module":"GHC.Event.Manager","entity":"value"},{"name":"callbackTableVar","module":"GHC.Event.Manager","entity":"value"},{"name":"Event","module":"GHC.Event.Internal","entity":"newtype"},{"name":"evtRead","module":"GHC.Event.Internal","entity":"value"},{"name":"evtWrite","module":"GHC.Event.Internal","entity":"value"},{"name":"IOCallback","module":"GHC.Event.Manager","entity":"type"},{"name":"FdKey","module":"GHC.Event.Manager","entity":"data"},{"constructors":["FdKey"],"name":"keyFd","module":"GHC.Event.Manager","type":"FdKey","entity":"selector"},{"name":"FdData","module":"GHC.Event.Manager","entity":"data"},{"name":"registerFd_","module":"GHC.Event.Manager","entity":"value"},{"name":"registerFd","module":"GHC.Event.Manager","entity":"value"},{"name":"unregisterFd_","module":"GHC.Event.Manager","entity":"value"},{"name":"unregisterFd","module":"GHC.Event.Manager","entity":"value"},{"name":"closeFd","module":"GHC.Event.Manager","entity":"value"},{"name":"closeFd_","module":"GHC.Event.Manager","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.PSQ.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Elem","module":"GHC.Event.PSQ","entity":"data"},{"name":"E","module":"GHC.Event.PSQ","type":"Elem","entity":"constructor"},{"constructors":["E"],"name":"key","module":"GHC.Event.PSQ","type":"Elem","entity":"selector"},{"constructors":["E"],"name":"prio","module":"GHC.Event.PSQ","type":"Elem","entity":"selector"},{"constructors":["E"],"name":"value","module":"GHC.Event.PSQ","type":"Elem","entity":"selector"},{"name":"Key","module":"GHC.Event.PSQ","entity":"type"},{"name":"Prio","module":"GHC.Event.PSQ","entity":"type"},{"name":"PSQ","module":"GHC.Event.PSQ","entity":"data"},{"name":"size","module":"GHC.Event.PSQ","entity":"value"},{"name":"null","module":"GHC.Event.PSQ","entity":"value"},{"name":"lookup","module":"GHC.Event.PSQ","entity":"value"},{"name":"empty","module":"GHC.Event.PSQ","entity":"value"},{"name":"singleton","module":"GHC.Event.PSQ","entity":"value"},{"name":"insert","module":"GHC.Event.PSQ","entity":"value"},{"name":"delete","module":"GHC.Event.PSQ","entity":"value"},{"name":"adjust","module":"GHC.Event.PSQ","entity":"value"},{"name":"toList","module":"GHC.Event.PSQ","entity":"value"},{"name":"toAscList","module":"GHC.Event.PSQ","entity":"value"},{"name":"toDescList","module":"GHC.Event.PSQ","entity":"value"},{"name":"fromList","module":"GHC.Event.PSQ","entity":"value"},{"name":"findMin","module":"GHC.Event.PSQ","entity":"value"},{"name":"deleteMin","module":"GHC.Event.PSQ","entity":"value"},{"name":"minView","module":"GHC.Event.PSQ","entity":"value"},{"name":"atMost","module":"GHC.Event.PSQ","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.Poll.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"new","module":"GHC.Event.Poll","entity":"value"},{"name":"available","module":"GHC.Event.Poll","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.Thread.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"getSystemEventManager","module":"GHC.Event.Thread","entity":"value"},{"name":"getSystemTimerManager","module":"GHC.Event.Thread","entity":"value"},{"name":"ensureIOManagerIsRunning","module":"GHC.Event.Thread","entity":"value"},{"name":"ioManagerCapabilitiesChanged","module":"GHC.Event.Thread","entity":"value"},{"name":"threadWaitRead","module":"GHC.Event.Thread","entity":"value"},{"name":"threadWaitWrite","module":"GHC.Event.Thread","entity":"value"},{"name":"threadWaitReadSTM","module":"GHC.Event.Thread","entity":"value"},{"name":"threadWaitWriteSTM","module":"GHC.Event.Thread","entity":"value"},{"name":"closeFdWith","module":"GHC.Event.Thread","entity":"value"},{"name":"threadDelay","module":"GHC.Event.Thread","entity":"value"},{"name":"registerDelay","module":"GHC.Event.Thread","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.TimerManager.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"TimerManager","module":"GHC.Event.TimerManager","entity":"data"},{"name":"new","module":"GHC.Event.TimerManager","entity":"value"},{"name":"newWith","module":"GHC.Event.TimerManager","entity":"value"},{"name":"newDefaultBackend","module":"GHC.Event.TimerManager","entity":"value"},{"name":"finished","module":"GHC.Event.TimerManager","entity":"value"},{"name":"loop","module":"GHC.Event.TimerManager","entity":"value"},{"name":"step","module":"GHC.Event.TimerManager","entity":"value"},{"name":"shutdown","module":"GHC.Event.TimerManager","entity":"value"},{"name":"cleanup","module":"GHC.Event.TimerManager","entity":"value"},{"name":"wakeManager","module":"GHC.Event.TimerManager","entity":"value"},{"name":"TimeoutCallback","module":"GHC.Event.TimerManager","entity":"type"},{"name":"TimeoutKey","module":"GHC.Event.TimerManager","entity":"newtype"},{"name":"registerTimeout","module":"GHC.Event.TimerManager","entity":"value"},{"name":"updateTimeout","module":"GHC.Event.TimerManager","entity":"value"},{"name":"unregisterTimeout","module":"GHC.Event.TimerManager","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.Unique.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"UniqueSource","module":"GHC.Event.Unique","entity":"newtype"},{"name":"Unique","module":"GHC.Event.Unique","entity":"newtype"},{"name":"Unique","module":"GHC.Event.Unique","type":"Unique","entity":"constructor"},{"constructors":["Unique"],"name":"asInt64","module":"GHC.Event.Unique","type":"Unique","entity":"selector"},{"name":"newSource","module":"GHC.Event.Unique","entity":"value"},{"name":"newUnique","module":"GHC.Event.Unique","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Event.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"EventManager","module":"GHC.Event.Manager","entity":"data"},{"name":"getSystemEventManager","module":"GHC.Event.Thread","entity":"value"},{"name":"new","module":"GHC.Event.Manager","entity":"value"},{"name":"getSystemTimerManager","module":"GHC.Event.Thread","entity":"value"},{"name":"Event","module":"GHC.Event.Internal","entity":"newtype"},{"name":"evtRead","module":"GHC.Event.Internal","entity":"value"},{"name":"evtWrite","module":"GHC.Event.Internal","entity":"value"},{"name":"IOCallback","module":"GHC.Event.Manager","entity":"type"},{"name":"FdKey","module":"GHC.Event.Manager","entity":"data"},{"constructors":["FdKey"],"name":"keyFd","module":"GHC.Event.Manager","type":"FdKey","entity":"selector"},{"name":"registerFd","module":"GHC.Event.Manager","entity":"value"},{"name":"registerFd_","module":"GHC.Event.Manager","entity":"value"},{"name":"unregisterFd","module":"GHC.Event.Manager","entity":"value"},{"name":"unregisterFd_","module":"GHC.Event.Manager","entity":"value"},{"name":"closeFd","module":"GHC.Event.Manager","entity":"value"},{"name":"TimeoutCallback","module":"GHC.Event.TimerManager","entity":"type"},{"name":"TimeoutKey","module":"GHC.Event.TimerManager","entity":"newtype"},{"name":"registerTimeout","module":"GHC.Event.TimerManager","entity":"value"},{"name":"updateTimeout","module":"GHC.Event.TimerManager","entity":"value"},{"name":"unregisterTimeout","module":"GHC.Event.TimerManager","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Exception.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"SomeException","module":"GHC.Exception","entity":"data"},{"name":"SomeException","module":"GHC.Exception","type":"SomeException","entity":"constructor"},{"name":"Exception","module":"GHC.Exception","entity":"class"},{"name":"toException","module":"GHC.Exception","entity":"method","class":"Exception"},{"name":"fromException","module":"GHC.Exception","entity":"method","class":"Exception"},{"name":"throw","module":"GHC.Exception","entity":"value"},{"name":"ErrorCall","module":"GHC.Exception","entity":"newtype"},{"name":"ErrorCall","module":"GHC.Exception","type":"ErrorCall","entity":"constructor"},{"name":"ArithException","module":"GHC.Exception","entity":"data"},{"name":"Overflow","module":"GHC.Exception","type":"ArithException","entity":"constructor"},{"name":"Underflow","module":"GHC.Exception","type":"ArithException","entity":"constructor"},{"name":"LossOfPrecision","module":"GHC.Exception","type":"ArithException","entity":"constructor"},{"name":"DivideByZero","module":"GHC.Exception","type":"ArithException","entity":"constructor"},{"name":"Denormal","module":"GHC.Exception","type":"ArithException","entity":"constructor"},{"name":"RatioZeroDenominator","module":"GHC.Exception","type":"ArithException","entity":"constructor"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Fingerprint.Type.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Fingerprint","module":"GHC.Fingerprint.Type","entity":"data"},{"name":"Fingerprint","module":"GHC.Fingerprint.Type","type":"Fingerprint","entity":"constructor"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Fingerprint.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Fingerprint","module":"GHC.Fingerprint.Type","entity":"data"},{"name":"Fingerprint","module":"GHC.Fingerprint.Type","type":"Fingerprint","entity":"constructor"},{"name":"fingerprint0","module":"GHC.Fingerprint","entity":"value"},{"name":"fingerprintData","module":"GHC.Fingerprint","entity":"value"},{"name":"fingerprintString","module":"GHC.Fingerprint","entity":"value"},{"name":"fingerprintFingerprints","module":"GHC.Fingerprint","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Float.ConversionUtils.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"elimZerosInteger","module":"GHC.Float.ConversionUtils","entity":"value"},{"name":"elimZerosInt#","module":"GHC.Float.ConversionUtils","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Float.RealFracMethods.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"properFractionDoubleInteger","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"truncateDoubleInteger","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"floorDoubleInteger","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"ceilingDoubleInteger","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"roundDoubleInteger","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"properFractionDoubleInt","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"floorDoubleInt","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"ceilingDoubleInt","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"roundDoubleInt","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"double2Int","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"int2Double","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"properFractionFloatInteger","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"truncateFloatInteger","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"floorFloatInteger","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"ceilingFloatInteger","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"roundFloatInteger","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"properFractionFloatInt","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"floorFloatInt","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"ceilingFloatInt","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"roundFloatInt","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"float2Int","module":"GHC.Float.RealFracMethods","entity":"value"},{"name":"int2Float","module":"GHC.Float.RealFracMethods","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Foreign.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"peekCString","module":"GHC.Foreign","entity":"value"},{"name":"peekCStringLen","module":"GHC.Foreign","entity":"value"},{"name":"newCString","module":"GHC.Foreign","entity":"value"},{"name":"newCStringLen","module":"GHC.Foreign","entity":"value"},{"name":"withCString","module":"GHC.Foreign","entity":"value"},{"name":"withCStringLen","module":"GHC.Foreign","entity":"value"},{"name":"charIsRepresentable","module":"GHC.Foreign","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.ForeignPtr.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ForeignPtr","module":"GHC.ForeignPtr","entity":"data"},{"name":"ForeignPtr","module":"GHC.ForeignPtr","type":"ForeignPtr","entity":"constructor"},{"name":"ForeignPtrContents","module":"GHC.ForeignPtr","entity":"data"},{"name":"MallocPtr","module":"GHC.ForeignPtr","type":"ForeignPtrContents","entity":"constructor"},{"name":"PlainForeignPtr","module":"GHC.ForeignPtr","type":"ForeignPtrContents","entity":"constructor"},{"name":"PlainPtr","module":"GHC.ForeignPtr","type":"ForeignPtrContents","entity":"constructor"},{"name":"FinalizerPtr","module":"GHC.ForeignPtr","entity":"type"},{"name":"FinalizerEnvPtr","module":"GHC.ForeignPtr","entity":"type"},{"name":"newForeignPtr_","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocPlainForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtrBytes","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocPlainForeignPtrBytes","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocForeignPtrAlignedBytes","module":"GHC.ForeignPtr","entity":"value"},{"name":"mallocPlainForeignPtrAlignedBytes","module":"GHC.ForeignPtr","entity":"value"},{"name":"addForeignPtrFinalizer","module":"GHC.ForeignPtr","entity":"value"},{"name":"addForeignPtrFinalizerEnv","module":"GHC.ForeignPtr","entity":"value"},{"name":"touchForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"unsafeForeignPtrToPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"castForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"newConcForeignPtr","module":"GHC.ForeignPtr","entity":"value"},{"name":"addForeignPtrConcFinalizer","module":"GHC.ForeignPtr","entity":"value"},{"name":"finalizeForeignPtr","module":"GHC.ForeignPtr","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.GHCi.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"GHCiSandboxIO","module":"GHC.GHCi","entity":"class"},{"name":"ghciStepIO","module":"GHC.GHCi","entity":"method","class":"GHCiSandboxIO"},{"name":"NoIO","module":"GHC.GHCi","entity":"newtype"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.BufferedIO.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"BufferedIO","module":"GHC.IO.BufferedIO","entity":"class"},{"name":"emptyWriteBuffer","module":"GHC.IO.BufferedIO","entity":"method","class":"BufferedIO"},{"name":"fillReadBuffer","module":"GHC.IO.BufferedIO","entity":"method","class":"BufferedIO"},{"name":"fillReadBuffer0","module":"GHC.IO.BufferedIO","entity":"method","class":"BufferedIO"},{"name":"flushWriteBuffer","module":"GHC.IO.BufferedIO","entity":"method","class":"BufferedIO"},{"name":"flushWriteBuffer0","module":"GHC.IO.BufferedIO","entity":"method","class":"BufferedIO"},{"name":"newBuffer","module":"GHC.IO.BufferedIO","entity":"method","class":"BufferedIO"},{"name":"readBuf","module":"GHC.IO.BufferedIO","entity":"value"},{"name":"readBufNonBlocking","module":"GHC.IO.BufferedIO","entity":"value"},{"name":"writeBuf","module":"GHC.IO.BufferedIO","entity":"value"},{"name":"writeBufNonBlocking","module":"GHC.IO.BufferedIO","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Device.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"RawIO","module":"GHC.IO.Device","entity":"class"},{"name":"read","module":"GHC.IO.Device","entity":"method","class":"RawIO"},{"name":"readNonBlocking","module":"GHC.IO.Device","entity":"method","class":"RawIO"},{"name":"write","module":"GHC.IO.Device","entity":"method","class":"RawIO"},{"name":"writeNonBlocking","module":"GHC.IO.Device","entity":"method","class":"RawIO"},{"name":"IODevice","module":"GHC.IO.Device","entity":"class"},{"name":"close","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"devType","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"dup","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"dup2","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"getEcho","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"getSize","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"isSeekable","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"isTerminal","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"ready","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"seek","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"setEcho","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"setRaw","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"setSize","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"tell","module":"GHC.IO.Device","entity":"method","class":"IODevice"},{"name":"IODeviceType","module":"GHC.IO.Device","entity":"data"},{"name":"Directory","module":"GHC.IO.Device","type":"IODeviceType","entity":"constructor"},{"name":"RawDevice","module":"GHC.IO.Device","type":"IODeviceType","entity":"constructor"},{"name":"RegularFile","module":"GHC.IO.Device","type":"IODeviceType","entity":"constructor"},{"name":"Stream","module":"GHC.IO.Device","type":"IODeviceType","entity":"constructor"},{"name":"SeekMode","module":"GHC.IO.Device","entity":"data"},{"name":"AbsoluteSeek","module":"GHC.IO.Device","type":"SeekMode","entity":"constructor"},{"name":"RelativeSeek","module":"GHC.IO.Device","type":"SeekMode","entity":"constructor"},{"name":"SeekFromEnd","module":"GHC.IO.Device","type":"SeekMode","entity":"constructor"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Encoding.CodePage.symbols: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Encoding.Failure.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"CodingFailureMode","module":"GHC.IO.Encoding.Failure","entity":"data"},{"name":"ErrorOnCodingFailure","module":"GHC.IO.Encoding.Failure","type":"CodingFailureMode","entity":"constructor"},{"name":"IgnoreCodingFailure","module":"GHC.IO.Encoding.Failure","type":"CodingFailureMode","entity":"constructor"},{"name":"RoundtripFailure","module":"GHC.IO.Encoding.Failure","type":"CodingFailureMode","entity":"constructor"},{"name":"TransliterateCodingFailure","module":"GHC.IO.Encoding.Failure","type":"CodingFailureMode","entity":"constructor"},{"name":"codingFailureModeSuffix","module":"GHC.IO.Encoding.Failure","entity":"value"},{"name":"isSurrogate","module":"GHC.IO.Encoding.Failure","entity":"value"},{"name":"recoverDecode","module":"GHC.IO.Encoding.Failure","entity":"value"},{"name":"recoverEncode","module":"GHC.IO.Encoding.Failure","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Encoding.Iconv.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"iconvEncoding","module":"GHC.IO.Encoding.Iconv","entity":"value"},{"name":"mkIconvEncoding","module":"GHC.IO.Encoding.Iconv","entity":"value"},{"name":"localeEncodingName","module":"GHC.IO.Encoding.Iconv","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Encoding.Latin1.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"latin1","module":"GHC.IO.Encoding.Latin1","entity":"value"},{"name":"mkLatin1","module":"GHC.IO.Encoding.Latin1","entity":"value"},{"name":"latin1_checked","module":"GHC.IO.Encoding.Latin1","entity":"value"},{"name":"mkLatin1_checked","module":"GHC.IO.Encoding.Latin1","entity":"value"},{"name":"latin1_decode","module":"GHC.IO.Encoding.Latin1","entity":"value"},{"name":"latin1_encode","module":"GHC.IO.Encoding.Latin1","entity":"value"},{"name":"latin1_checked_encode","module":"GHC.IO.Encoding.Latin1","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Encoding.Types.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"BufferCodec","module":"GHC.IO.Encoding.Types","entity":"data"},{"name":"BufferCodec","module":"GHC.IO.Encoding.Types","type":"BufferCodec","entity":"constructor"},{"constructors":["BufferCodec"],"name":"close","module":"GHC.IO.Encoding.Types","type":"BufferCodec","entity":"selector"},{"constructors":["BufferCodec"],"name":"encode","module":"GHC.IO.Encoding.Types","type":"BufferCodec","entity":"selector"},{"constructors":["BufferCodec"],"name":"getState","module":"GHC.IO.Encoding.Types","type":"BufferCodec","entity":"selector"},{"constructors":["BufferCodec"],"name":"recover","module":"GHC.IO.Encoding.Types","type":"BufferCodec","entity":"selector"},{"constructors":["BufferCodec"],"name":"setState","module":"GHC.IO.Encoding.Types","type":"BufferCodec","entity":"selector"},{"name":"TextEncoding","module":"GHC.IO.Encoding.Types","entity":"data"},{"name":"TextEncoding","module":"GHC.IO.Encoding.Types","type":"TextEncoding","entity":"constructor"},{"constructors":["TextEncoding"],"name":"mkTextDecoder","module":"GHC.IO.Encoding.Types","type":"TextEncoding","entity":"selector"},{"constructors":["TextEncoding"],"name":"mkTextEncoder","module":"GHC.IO.Encoding.Types","type":"TextEncoding","entity":"selector"},{"constructors":["TextEncoding"],"name":"textEncodingName","module":"GHC.IO.Encoding.Types","type":"TextEncoding","entity":"selector"},{"name":"TextEncoder","module":"GHC.IO.Encoding.Types","entity":"type"},{"name":"TextDecoder","module":"GHC.IO.Encoding.Types","entity":"type"},{"name":"EncodeBuffer","module":"GHC.IO.Encoding.Types","entity":"type"},{"name":"DecodeBuffer","module":"GHC.IO.Encoding.Types","entity":"type"},{"name":"CodingProgress","module":"GHC.IO.Encoding.Types","entity":"data"},{"name":"InputUnderflow","module":"GHC.IO.Encoding.Types","type":"CodingProgress","entity":"constructor"},{"name":"InvalidSequence","module":"GHC.IO.Encoding.Types","type":"CodingProgress","entity":"constructor"},{"name":"OutputUnderflow","module":"GHC.IO.Encoding.Types","type":"CodingProgress","entity":"constructor"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Encoding.UTF16.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"utf16","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"mkUTF16","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"utf16_decode","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"utf16_encode","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"utf16be","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"mkUTF16be","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"utf16be_decode","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"utf16be_encode","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"utf16le","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"mkUTF16le","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"utf16le_decode","module":"GHC.IO.Encoding.UTF16","entity":"value"},{"name":"utf16le_encode","module":"GHC.IO.Encoding.UTF16","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Encoding.UTF32.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"utf32","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"mkUTF32","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"utf32_decode","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"utf32_encode","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"utf32be","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"mkUTF32be","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"utf32be_decode","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"utf32be_encode","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"utf32le","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"mkUTF32le","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"utf32le_decode","module":"GHC.IO.Encoding.UTF32","entity":"value"},{"name":"utf32le_encode","module":"GHC.IO.Encoding.UTF32","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Encoding.UTF8.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"utf8","module":"GHC.IO.Encoding.UTF8","entity":"value"},{"name":"mkUTF8","module":"GHC.IO.Encoding.UTF8","entity":"value"},{"name":"utf8_bom","module":"GHC.IO.Encoding.UTF8","entity":"value"},{"name":"mkUTF8_bom","module":"GHC.IO.Encoding.UTF8","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.FD.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"FD","module":"GHC.IO.FD","entity":"data"},{"name":"FD","module":"GHC.IO.FD","type":"FD","entity":"constructor"},{"constructors":["FD"],"name":"fdFD","module":"GHC.IO.FD","type":"FD","entity":"selector"},{"constructors":["FD"],"name":"fdIsNonBlocking","module":"GHC.IO.FD","type":"FD","entity":"selector"},{"name":"openFile","module":"GHC.IO.FD","entity":"value"},{"name":"mkFD","module":"GHC.IO.FD","entity":"value"},{"name":"release","module":"GHC.IO.FD","entity":"value"},{"name":"setNonBlockingMode","module":"GHC.IO.FD","entity":"value"},{"name":"readRawBufferPtr","module":"GHC.IO.FD","entity":"value"},{"name":"readRawBufferPtrNoBlock","module":"GHC.IO.FD","entity":"value"},{"name":"writeRawBufferPtr","module":"GHC.IO.FD","entity":"value"},{"name":"stdin","module":"GHC.IO.FD","entity":"value"},{"name":"stdout","module":"GHC.IO.FD","entity":"value"},{"name":"stderr","module":"GHC.IO.FD","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Handle.FD.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"stdin","module":"GHC.IO.Handle.FD","entity":"value"},{"name":"stdout","module":"GHC.IO.Handle.FD","entity":"value"},{"name":"stderr","module":"GHC.IO.Handle.FD","entity":"value"},{"name":"openFile","module":"GHC.IO.Handle.FD","entity":"value"},{"name":"openBinaryFile","module":"GHC.IO.Handle.FD","entity":"value"},{"name":"openFileBlocking","module":"GHC.IO.Handle.FD","entity":"value"},{"name":"mkHandleFromFD","module":"GHC.IO.Handle.FD","entity":"value"},{"name":"fdToHandle","module":"GHC.IO.Handle.FD","entity":"value"},{"name":"fdToHandle'","module":"GHC.IO.Handle.FD","entity":"value"},{"name":"isEOF","module":"GHC.IO.Handle.FD","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.Handle.Text.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"hWaitForInput","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hGetChar","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hGetLine","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hGetContents","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hPutChar","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hPutStr","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"commitBuffer'","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hGetBuf","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hGetBufSome","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hGetBufNonBlocking","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hPutBuf","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hPutBufNonBlocking","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"memcpy","module":"GHC.IO.Handle.Text","entity":"value"},{"name":"hPutStrLn","module":"GHC.IO.Handle.Text","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.IOMode.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"IOMode","module":"GHC.IO.IOMode","entity":"data"},{"name":"AppendMode","module":"GHC.IO.IOMode","type":"IOMode","entity":"constructor"},{"name":"ReadMode","module":"GHC.IO.IOMode","type":"IOMode","entity":"constructor"},{"name":"ReadWriteMode","module":"GHC.IO.IOMode","type":"IOMode","entity":"constructor"},{"name":"WriteMode","module":"GHC.IO.IOMode","type":"IOMode","entity":"constructor"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IO.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"IO","module":"GHC.Types","entity":"newtype"},{"name":"IO","module":"GHC.Types","type":"IO","entity":"constructor"},{"name":"unIO","module":"GHC.Base","entity":"value"},{"name":"failIO","module":"GHC.IO","entity":"value"},{"name":"liftIO","module":"GHC.IO","entity":"value"},{"name":"unsafePerformIO","module":"GHC.IO","entity":"value"},{"name":"unsafeInterleaveIO","module":"GHC.IO","entity":"value"},{"name":"unsafeDupablePerformIO","module":"GHC.IO","entity":"value"},{"name":"unsafeDupableInterleaveIO","module":"GHC.IO","entity":"value"},{"name":"noDuplicate","module":"GHC.IO","entity":"value"},{"name":"stToIO","module":"GHC.IO","entity":"value"},{"name":"ioToST","module":"GHC.IO","entity":"value"},{"name":"unsafeIOToST","module":"GHC.IO","entity":"value"},{"name":"unsafeSTToIO","module":"GHC.IO","entity":"value"},{"name":"FilePath","module":"GHC.IO","entity":"type"},{"name":"catchException","module":"GHC.IO","entity":"value"},{"name":"catchAny","module":"GHC.IO","entity":"value"},{"name":"throwIO","module":"GHC.IO","entity":"value"},{"name":"mask","module":"GHC.IO","entity":"value"},{"name":"mask_","module":"GHC.IO","entity":"value"},{"name":"uninterruptibleMask","module":"GHC.IO","entity":"value"},{"name":"uninterruptibleMask_","module":"GHC.IO","entity":"value"},{"name":"MaskingState","module":"GHC.IO","entity":"data"},{"name":"MaskedInterruptible","module":"GHC.IO","type":"MaskingState","entity":"constructor"},{"name":"MaskedUninterruptible","module":"GHC.IO","type":"MaskingState","entity":"constructor"},{"name":"Unmasked","module":"GHC.IO","type":"MaskingState","entity":"constructor"},{"name":"getMaskingState","module":"GHC.IO","entity":"value"},{"name":"block","module":"GHC.IO","entity":"value"},{"name":"unblock","module":"GHC.IO","entity":"value"},{"name":"blocked","module":"GHC.IO","entity":"value"},{"name":"unsafeUnmask","module":"GHC.IO","entity":"value"},{"name":"onException","module":"GHC.IO","entity":"value"},{"name":"bracket","module":"GHC.IO","entity":"value"},{"name":"finally","module":"GHC.IO","entity":"value"},{"name":"evaluate","module":"GHC.IO","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IOArray.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"IOArray","module":"GHC.IOArray","entity":"newtype"},{"name":"IOArray","module":"GHC.IOArray","type":"IOArray","entity":"constructor"},{"name":"newIOArray","module":"GHC.IOArray","entity":"value"},{"name":"unsafeReadIOArray","module":"GHC.IOArray","entity":"value"},{"name":"unsafeWriteIOArray","module":"GHC.IOArray","entity":"value"},{"name":"readIOArray","module":"GHC.IOArray","entity":"value"},{"name":"writeIOArray","module":"GHC.IOArray","entity":"value"},{"name":"boundsIOArray","module":"GHC.IOArray","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IORef.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"IORef","module":"GHC.IORef","entity":"newtype"},{"name":"IORef","module":"GHC.IORef","type":"IORef","entity":"constructor"},{"name":"newIORef","module":"GHC.IORef","entity":"value"},{"name":"readIORef","module":"GHC.IORef","entity":"value"},{"name":"writeIORef","module":"GHC.IORef","entity":"value"},{"name":"atomicModifyIORef","module":"GHC.IORef","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IP.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"IP","module":"GHC.IP","entity":"class"},{"name":"ip","module":"GHC.IP","entity":"method","class":"IP"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Int.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Int8","module":"GHC.Int","entity":"data"},{"name":"I8#","module":"GHC.Int","type":"Int8","entity":"constructor"},{"name":"Int16","module":"GHC.Int","entity":"data"},{"name":"I16#","module":"GHC.Int","type":"Int16","entity":"constructor"},{"name":"Int32","module":"GHC.Int","entity":"data"},{"name":"I32#","module":"GHC.Int","type":"Int32","entity":"constructor"},{"name":"Int64","module":"GHC.Int","entity":"data"},{"name":"I64#","module":"GHC.Int","type":"Int64","entity":"constructor"},{"name":"uncheckedIShiftL64#","module":"GHC.Int","entity":"value"},{"name":"uncheckedIShiftRA64#","module":"GHC.Int","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.IntWord64.symbols: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Integer.Logarithms.Internals.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"integerLog2#","module":"GHC.Integer.Logarithms.Internals","entity":"value"},{"name":"integerLog2IsPowerOf2#","module":"GHC.Integer.Logarithms.Internals","entity":"value"},{"name":"wordLog2#","module":"GHC.Integer.Logarithms.Internals","entity":"value"},{"name":"roundingMode#","module":"GHC.Integer.Logarithms.Internals","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Integer.Logarithms.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"integerLogBase#","module":"GHC.Integer.Logarithms","entity":"value"},{"name":"integerLog2#","module":"GHC.Integer.Logarithms","entity":"value"},{"name":"wordLog2#","module":"GHC.Integer.Logarithms","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Integer.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Integer","module":"GHC.Integer.Type","entity":"data"},{"name":"mkInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"smallInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"wordToInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"integerToWord","module":"GHC.Integer.Type","entity":"value"},{"name":"integerToInt","module":"GHC.Integer.Type","entity":"value"},{"name":"plusInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"minusInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"timesInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"negateInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"eqInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"neqInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"absInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"signumInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"leInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"gtInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"ltInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"geInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"compareInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"divInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"modInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"divModInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"quotRemInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"quotInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"remInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"encodeFloatInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"decodeFloatInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"floatFromInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"encodeDoubleInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"decodeDoubleInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"doubleFromInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"andInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"orInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"xorInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"complementInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"shiftLInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"shiftRInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"testBitInteger","module":"GHC.Integer.Type","entity":"value"},{"name":"hashInteger","module":"GHC.Integer.Type","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.List.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"map","module":"GHC.Base","entity":"value"},{"name":"++","module":"GHC.Base","entity":"value"},{"name":"filter","module":"GHC.List","entity":"value"},{"name":"concat","module":"GHC.List","entity":"value"},{"name":"head","module":"GHC.List","entity":"value"},{"name":"last","module":"GHC.List","entity":"value"},{"name":"tail","module":"GHC.List","entity":"value"},{"name":"init","module":"GHC.List","entity":"value"},{"name":"null","module":"GHC.List","entity":"value"},{"name":"length","module":"GHC.List","entity":"value"},{"name":"!!","module":"GHC.List","entity":"value"},{"name":"foldl","module":"GHC.List","entity":"value"},{"name":"scanl","module":"GHC.List","entity":"value"},{"name":"scanl1","module":"GHC.List","entity":"value"},{"name":"foldr","module":"GHC.Base","entity":"value"},{"name":"foldr1","module":"GHC.List","entity":"value"},{"name":"scanr","module":"GHC.List","entity":"value"},{"name":"scanr1","module":"GHC.List","entity":"value"},{"name":"iterate","module":"GHC.List","entity":"value"},{"name":"repeat","module":"GHC.List","entity":"value"},{"name":"replicate","module":"GHC.List","entity":"value"},{"name":"cycle","module":"GHC.List","entity":"value"},{"name":"take","module":"GHC.List","entity":"value"},{"name":"drop","module":"GHC.List","entity":"value"},{"name":"splitAt","module":"GHC.List","entity":"value"},{"name":"takeWhile","module":"GHC.List","entity":"value"},{"name":"dropWhile","module":"GHC.List","entity":"value"},{"name":"span","module":"GHC.List","entity":"value"},{"name":"break","module":"GHC.List","entity":"value"},{"name":"reverse","module":"GHC.List","entity":"value"},{"name":"and","module":"GHC.List","entity":"value"},{"name":"or","module":"GHC.List","entity":"value"},{"name":"any","module":"GHC.List","entity":"value"},{"name":"all","module":"GHC.List","entity":"value"},{"name":"elem","module":"GHC.List","entity":"value"},{"name":"notElem","module":"GHC.List","entity":"value"},{"name":"lookup","module":"GHC.List","entity":"value"},{"name":"concatMap","module":"GHC.List","entity":"value"},{"name":"zip","module":"GHC.List","entity":"value"},{"name":"zip3","module":"GHC.List","entity":"value"},{"name":"zipWith","module":"GHC.List","entity":"value"},{"name":"zipWith3","module":"GHC.List","entity":"value"},{"name":"unzip","module":"GHC.List","entity":"value"},{"name":"unzip3","module":"GHC.List","entity":"value"},{"name":"errorEmptyList","module":"GHC.List","entity":"value"},{"name":"takeUInt_append","module":"GHC.List","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.MVar.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"MVar","module":"GHC.MVar","entity":"data"},{"name":"MVar","module":"GHC.MVar","type":"MVar","entity":"constructor"},{"name":"newMVar","module":"GHC.MVar","entity":"value"},{"name":"newEmptyMVar","module":"GHC.MVar","entity":"value"},{"name":"takeMVar","module":"GHC.MVar","entity":"value"},{"name":"putMVar","module":"GHC.MVar","entity":"value"},{"name":"tryTakeMVar","module":"GHC.MVar","entity":"value"},{"name":"tryPutMVar","module":"GHC.MVar","entity":"value"},{"name":"isEmptyMVar","module":"GHC.MVar","entity":"value"},{"name":"addMVarFinalizer","module":"GHC.MVar","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Magic.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"inline","module":"GHC.Magic","entity":"value"},{"name":"lazy","module":"GHC.Magic","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.PArr.symbols: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Pack.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"packCString#","module":"GHC.Pack","entity":"value"},{"name":"unpackCString","module":"GHC.Pack","entity":"value"},{"name":"unpackCString#","module":"GHC.CString","entity":"value"},{"name":"unpackNBytes#","module":"GHC.CString","entity":"value"},{"name":"unpackFoldrCString#","module":"GHC.CString","entity":"value"},{"name":"unpackAppendCString#","module":"GHC.CString","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Profiling.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"startProfTimer","module":"GHC.Profiling","entity":"value"},{"name":"stopProfTimer","module":"GHC.Profiling","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Ptr.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Ptr","module":"GHC.Ptr","entity":"data"},{"name":"Ptr","module":"GHC.Ptr","type":"Ptr","entity":"constructor"},{"name":"FunPtr","module":"GHC.Ptr","entity":"data"},{"name":"FunPtr","module":"GHC.Ptr","type":"FunPtr","entity":"constructor"},{"name":"nullPtr","module":"GHC.Ptr","entity":"value"},{"name":"castPtr","module":"GHC.Ptr","entity":"value"},{"name":"plusPtr","module":"GHC.Ptr","entity":"value"},{"name":"alignPtr","module":"GHC.Ptr","entity":"value"},{"name":"minusPtr","module":"GHC.Ptr","entity":"value"},{"name":"nullFunPtr","module":"GHC.Ptr","entity":"value"},{"name":"castFunPtr","module":"GHC.Ptr","entity":"value"},{"name":"castFunPtrToPtr","module":"GHC.Ptr","entity":"value"},{"name":"castPtrToFunPtr","module":"GHC.Ptr","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Read.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Read","module":"GHC.Read","entity":"class"},{"name":"readList","module":"GHC.Read","entity":"method","class":"Read"},{"name":"readListPrec","module":"GHC.Read","entity":"method","class":"Read"},{"name":"readPrec","module":"GHC.Read","entity":"method","class":"Read"},{"name":"readsPrec","module":"GHC.Read","entity":"method","class":"Read"},{"name":"ReadS","module":"Text.ParserCombinators.ReadP","entity":"type"},{"name":"lex","module":"GHC.Read","entity":"value"},{"name":"lexLitChar","module":"GHC.Read","entity":"value"},{"name":"readLitChar","module":"GHC.Read","entity":"value"},{"name":"lexDigits","module":"GHC.Read","entity":"value"},{"name":"lexP","module":"GHC.Read","entity":"value"},{"name":"expectP","module":"GHC.Read","entity":"value"},{"name":"paren","module":"GHC.Read","entity":"value"},{"name":"parens","module":"GHC.Read","entity":"value"},{"name":"list","module":"GHC.Read","entity":"value"},{"name":"choose","module":"GHC.Read","entity":"value"},{"name":"readListDefault","module":"GHC.Read","entity":"value"},{"name":"readListPrecDefault","module":"GHC.Read","entity":"value"},{"name":"readNumber","module":"GHC.Read","entity":"value"},{"name":"readParen","module":"GHC.Read","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.ST.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ST","module":"GHC.ST","entity":"newtype"},{"name":"ST","module":"GHC.ST","type":"ST","entity":"constructor"},{"name":"STret","module":"GHC.ST","entity":"data"},{"name":"STret","module":"GHC.ST","type":"STret","entity":"constructor"},{"name":"STRep","module":"GHC.ST","entity":"type"},{"name":"fixST","module":"GHC.ST","entity":"value"},{"name":"runST","module":"GHC.ST","entity":"value"},{"name":"runSTRep","module":"GHC.ST","entity":"value"},{"name":"liftST","module":"GHC.ST","entity":"value"},{"name":"unsafeInterleaveST","module":"GHC.ST","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.STRef.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"STRef","module":"GHC.STRef","entity":"data"},{"name":"STRef","module":"GHC.STRef","type":"STRef","entity":"constructor"},{"name":"newSTRef","module":"GHC.STRef","entity":"value"},{"name":"readSTRef","module":"GHC.STRef","entity":"value"},{"name":"writeSTRef","module":"GHC.STRef","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Show.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Show","module":"GHC.Show","entity":"class"},{"name":"show","module":"GHC.Show","entity":"method","class":"Show"},{"name":"showList","module":"GHC.Show","entity":"method","class":"Show"},{"name":"showsPrec","module":"GHC.Show","entity":"method","class":"Show"},{"name":"ShowS","module":"GHC.Show","entity":"type"},{"name":"shows","module":"GHC.Show","entity":"value"},{"name":"showChar","module":"GHC.Show","entity":"value"},{"name":"showString","module":"GHC.Show","entity":"value"},{"name":"showMultiLineString","module":"GHC.Show","entity":"value"},{"name":"showParen","module":"GHC.Show","entity":"value"},{"name":"showList__","module":"GHC.Show","entity":"value"},{"name":"showSpace","module":"GHC.Show","entity":"value"},{"name":"showLitChar","module":"GHC.Show","entity":"value"},{"name":"showLitString","module":"GHC.Show","entity":"value"},{"name":"protectEsc","module":"GHC.Show","entity":"value"},{"name":"intToDigit","module":"GHC.Show","entity":"value"},{"name":"showSignedInt","module":"GHC.Show","entity":"value"},{"name":"appPrec","module":"GHC.Show","entity":"value"},{"name":"appPrec1","module":"GHC.Show","entity":"value"},{"name":"asciiTab","module":"GHC.Show","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Stable.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"StablePtr","module":"GHC.Stable","entity":"data"},{"name":"StablePtr","module":"GHC.Stable","type":"StablePtr","entity":"constructor"},{"name":"newStablePtr","module":"GHC.Stable","entity":"value"},{"name":"deRefStablePtr","module":"GHC.Stable","entity":"value"},{"name":"freeStablePtr","module":"GHC.Stable","entity":"value"},{"name":"castStablePtrToPtr","module":"GHC.Stable","entity":"value"},{"name":"castPtrToStablePtr","module":"GHC.Stable","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Stack.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"currentCallStack","module":"GHC.Stack","entity":"value"},{"name":"whoCreated","module":"GHC.Stack","entity":"value"},{"name":"errorWithStackTrace","module":"GHC.Stack","entity":"value"},{"name":"CostCentreStack","module":"GHC.Stack","entity":"data"},{"name":"CostCentre","module":"GHC.Stack","entity":"data"},{"name":"getCurrentCCS","module":"GHC.Stack","entity":"value"},{"name":"getCCSOf","module":"GHC.Stack","entity":"value"},{"name":"ccsCC","module":"GHC.Stack","entity":"value"},{"name":"ccsParent","module":"GHC.Stack","entity":"value"},{"name":"ccLabel","module":"GHC.Stack","entity":"value"},{"name":"ccModule","module":"GHC.Stack","entity":"value"},{"name":"ccSrcSpan","module":"GHC.Stack","entity":"value"},{"name":"ccsToStrings","module":"GHC.Stack","entity":"value"},{"name":"renderStack","module":"GHC.Stack","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Stats.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"GCStats","module":"GHC.Stats","entity":"data"},{"name":"GCStats","module":"GHC.Stats","type":"GCStats","entity":"constructor"},{"constructors":["GCStats"],"name":"bytesAllocated","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"bytesCopied","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"cpuSeconds","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"cumulativeBytesUsed","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"currentBytesSlop","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"currentBytesUsed","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"gcCpuSeconds","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"gcWallSeconds","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"maxBytesSlop","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"maxBytesUsed","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"mutatorCpuSeconds","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"mutatorWallSeconds","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"numByteUsageSamples","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"numGcs","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"parMaxBytesCopied","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"parTotBytesCopied","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"peakMegabytesAllocated","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"constructors":["GCStats"],"name":"wallSeconds","module":"GHC.Stats","type":"GCStats","entity":"selector"},{"name":"getGCStats","module":"GHC.Stats","entity":"value"},{"name":"getGCStatsEnabled","module":"GHC.Stats","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Storable.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"readWideCharOffPtr","module":"GHC.Storable","entity":"value"},{"name":"readIntOffPtr","module":"GHC.Storable","entity":"value"},{"name":"readWordOffPtr","module":"GHC.Storable","entity":"value"},{"name":"readPtrOffPtr","module":"GHC.Storable","entity":"value"},{"name":"readFunPtrOffPtr","module":"GHC.Storable","entity":"value"},{"name":"readFloatOffPtr","module":"GHC.Storable","entity":"value"},{"name":"readDoubleOffPtr","module":"GHC.Storable","entity":"value"},{"name":"readStablePtrOffPtr","module":"GHC.Storable","entity":"value"},{"name":"readInt8OffPtr","module":"GHC.Storable","entity":"value"},{"name":"readInt16OffPtr","module":"GHC.Storable","entity":"value"},{"name":"readInt32OffPtr","module":"GHC.Storable","entity":"value"},{"name":"readInt64OffPtr","module":"GHC.Storable","entity":"value"},{"name":"readWord8OffPtr","module":"GHC.Storable","entity":"value"},{"name":"readWord16OffPtr","module":"GHC.Storable","entity":"value"},{"name":"readWord32OffPtr","module":"GHC.Storable","entity":"value"},{"name":"readWord64OffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeWideCharOffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeIntOffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeWordOffPtr","module":"GHC.Storable","entity":"value"},{"name":"writePtrOffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeFunPtrOffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeFloatOffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeDoubleOffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeStablePtrOffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeInt8OffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeInt16OffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeInt32OffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeInt64OffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeWord8OffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeWord16OffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeWord32OffPtr","module":"GHC.Storable","entity":"value"},{"name":"writeWord64OffPtr","module":"GHC.Storable","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.TopHandler.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"runMainIO","module":"GHC.TopHandler","entity":"value"},{"name":"runIO","module":"GHC.TopHandler","entity":"value"},{"name":"runIOFastExit","module":"GHC.TopHandler","entity":"value"},{"name":"runNonIO","module":"GHC.TopHandler","entity":"value"},{"name":"topHandler","module":"GHC.TopHandler","entity":"value"},{"name":"topHandlerFastExit","module":"GHC.TopHandler","entity":"value"},{"name":"reportStackOverflow","module":"GHC.Conc.Sync","entity":"value"},{"name":"reportError","module":"GHC.Conc.Sync","entity":"value"},{"name":"flushStdHandles","module":"GHC.TopHandler","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Tuple.symbols: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.TypeLits.symbols: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Types.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Bool","module":"GHC.Types","entity":"data"},{"name":"False","module":"GHC.Types","type":"Bool","entity":"constructor"},{"name":"True","module":"GHC.Types","type":"Bool","entity":"constructor"},{"name":"Char","module":"GHC.Types","entity":"data"},{"name":"C#","module":"GHC.Types","type":"Char","entity":"constructor"},{"name":"Int","module":"GHC.Types","entity":"data"},{"name":"I#","module":"GHC.Types","type":"Int","entity":"constructor"},{"name":"Word","module":"GHC.Types","entity":"data"},{"name":"W#","module":"GHC.Types","type":"Word","entity":"constructor"},{"name":"Float","module":"GHC.Types","entity":"data"},{"name":"F#","module":"GHC.Types","type":"Float","entity":"constructor"},{"name":"Double","module":"GHC.Types","entity":"data"},{"name":"D#","module":"GHC.Types","type":"Double","entity":"constructor"},{"name":"Ordering","module":"GHC.Types","entity":"data"},{"name":"EQ","module":"GHC.Types","type":"Ordering","entity":"constructor"},{"name":"GT","module":"GHC.Types","type":"Ordering","entity":"constructor"},{"name":"LT","module":"GHC.Types","type":"Ordering","entity":"constructor"},{"name":"IO","module":"GHC.Types","entity":"newtype"},{"name":"IO","module":"GHC.Types","type":"IO","entity":"constructor"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Unicode.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"isAscii","module":"GHC.Unicode","entity":"value"},{"name":"isLatin1","module":"GHC.Unicode","entity":"value"},{"name":"isControl","module":"GHC.Unicode","entity":"value"},{"name":"isAsciiUpper","module":"GHC.Unicode","entity":"value"},{"name":"isAsciiLower","module":"GHC.Unicode","entity":"value"},{"name":"isPrint","module":"GHC.Unicode","entity":"value"},{"name":"isSpace","module":"GHC.Unicode","entity":"value"},{"name":"isUpper","module":"GHC.Unicode","entity":"value"},{"name":"isLower","module":"GHC.Unicode","entity":"value"},{"name":"isAlpha","module":"GHC.Unicode","entity":"value"},{"name":"isDigit","module":"GHC.Unicode","entity":"value"},{"name":"isOctDigit","module":"GHC.Unicode","entity":"value"},{"name":"isHexDigit","module":"GHC.Unicode","entity":"value"},{"name":"isAlphaNum","module":"GHC.Unicode","entity":"value"},{"name":"toUpper","module":"GHC.Unicode","entity":"value"},{"name":"toLower","module":"GHC.Unicode","entity":"value"},{"name":"toTitle","module":"GHC.Unicode","entity":"value"},{"name":"wgencat","module":"GHC.Unicode","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Weak.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Weak","module":"GHC.Weak","entity":"data"},{"name":"Weak","module":"GHC.Weak","type":"Weak","entity":"constructor"},{"name":"mkWeak","module":"GHC.Weak","entity":"value"},{"name":"deRefWeak","module":"GHC.Weak","entity":"value"},{"name":"finalize","module":"GHC.Weak","entity":"value"},{"name":"runFinalizerBatch","module":"GHC.Weak","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/GHC.Word.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Word","module":"GHC.Types","entity":"data"},{"name":"W#","module":"GHC.Types","type":"Word","entity":"constructor"},{"name":"Word8","module":"GHC.Word","entity":"data"},{"name":"W8#","module":"GHC.Word","type":"Word8","entity":"constructor"},{"name":"Word16","module":"GHC.Word","entity":"data"},{"name":"W16#","module":"GHC.Word","type":"Word16","entity":"constructor"},{"name":"Word32","module":"GHC.Word","entity":"data"},{"name":"W32#","module":"GHC.Word","type":"Word32","entity":"constructor"},{"name":"Word64","module":"GHC.Word","entity":"data"},{"name":"W64#","module":"GHC.Word","type":"Word64","entity":"constructor"},{"name":"uncheckedShiftL64#","module":"GHC.Word","entity":"value"},{"name":"uncheckedShiftRL64#","module":"GHC.Word","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Numeric.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"showSigned","module":"GHC.Real","entity":"value"},{"name":"showIntAtBase","module":"Numeric","entity":"value"},{"name":"showInt","module":"Numeric","entity":"value"},{"name":"showHex","module":"Numeric","entity":"value"},{"name":"showOct","module":"Numeric","entity":"value"},{"name":"showEFloat","module":"Numeric","entity":"value"},{"name":"showFFloat","module":"Numeric","entity":"value"},{"name":"showGFloat","module":"Numeric","entity":"value"},{"name":"showFloat","module":"GHC.Float","entity":"value"},{"name":"floatToDigits","module":"GHC.Float","entity":"value"},{"name":"readSigned","module":"Numeric","entity":"value"},{"name":"readInt","module":"Numeric","entity":"value"},{"name":"readDec","module":"Numeric","entity":"value"},{"name":"readOct","module":"Numeric","entity":"value"},{"name":"readHex","module":"Numeric","entity":"value"},{"name":"readFloat","module":"Numeric","entity":"value"},{"name":"lexDigits","module":"GHC.Read","entity":"value"},{"name":"fromRat","module":"GHC.Float","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.CPUTime.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"getCPUTime","module":"System.CPUTime","entity":"value"},{"name":"cpuTimePrecision","module":"System.CPUTime","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.Console.GetOpt.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"getOpt","module":"System.Console.GetOpt","entity":"value"},{"name":"getOpt'","module":"System.Console.GetOpt","entity":"value"},{"name":"usageInfo","module":"System.Console.GetOpt","entity":"value"},{"name":"ArgOrder","module":"System.Console.GetOpt","entity":"data"},{"name":"Permute","module":"System.Console.GetOpt","type":"ArgOrder","entity":"constructor"},{"name":"RequireOrder","module":"System.Console.GetOpt","type":"ArgOrder","entity":"constructor"},{"name":"ReturnInOrder","module":"System.Console.GetOpt","type":"ArgOrder","entity":"constructor"},{"name":"OptDescr","module":"System.Console.GetOpt","entity":"data"},{"name":"Option","module":"System.Console.GetOpt","type":"OptDescr","entity":"constructor"},{"name":"ArgDescr","module":"System.Console.GetOpt","entity":"data"},{"name":"NoArg","module":"System.Console.GetOpt","type":"ArgDescr","entity":"constructor"},{"name":"OptArg","module":"System.Console.GetOpt","type":"ArgDescr","entity":"constructor"},{"name":"ReqArg","module":"System.Console.GetOpt","type":"ArgDescr","entity":"constructor"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.Environment.ExecutablePath.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"getExecutablePath","module":"System.Environment.ExecutablePath","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.Environment.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"getArgs","module":"System.Environment","entity":"value"},{"name":"getProgName","module":"System.Environment","entity":"value"},{"name":"getExecutablePath","module":"System.Environment.ExecutablePath","entity":"value"},{"name":"getEnv","module":"System.Environment","entity":"value"},{"name":"lookupEnv","module":"System.Environment","entity":"value"},{"name":"withArgs","module":"System.Environment","entity":"value"},{"name":"withProgName","module":"System.Environment","entity":"value"},{"name":"getEnvironment","module":"System.Environment","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.Exit.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ExitCode","module":"GHC.IO.Exception","entity":"data"},{"name":"ExitSuccess","module":"GHC.IO.Exception","type":"ExitCode","entity":"constructor"},{"name":"ExitFailure","module":"GHC.IO.Exception","type":"ExitCode","entity":"constructor"},{"name":"exitWith","module":"System.Exit","entity":"value"},{"name":"exitFailure","module":"System.Exit","entity":"value"},{"name":"exitSuccess","module":"System.Exit","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.IO.Unsafe.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"unsafePerformIO","module":"GHC.IO","entity":"value"},{"name":"unsafeDupablePerformIO","module":"GHC.IO","entity":"value"},{"name":"unsafeInterleaveIO","module":"GHC.IO","entity":"value"},{"name":"unsafeFixIO","module":"System.IO.Unsafe","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.Info.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"os","module":"System.Info","entity":"value"},{"name":"arch","module":"System.Info","entity":"value"},{"name":"compilerName","module":"System.Info","entity":"value"},{"name":"compilerVersion","module":"System.Info","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.Mem.StableName.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"StableName","module":"System.Mem.StableName","entity":"data"},{"name":"makeStableName","module":"System.Mem.StableName","entity":"value"},{"name":"hashStableName","module":"System.Mem.StableName","entity":"value"},{"name":"eqStableName","module":"System.Mem.StableName","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.Mem.Weak.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Weak","module":"GHC.Weak","entity":"data"},{"name":"mkWeak","module":"GHC.Weak","entity":"value"},{"name":"deRefWeak","module":"GHC.Weak","entity":"value"},{"name":"finalize","module":"GHC.Weak","entity":"value"},{"name":"mkWeakPtr","module":"System.Mem.Weak","entity":"value"},{"name":"addFinalizer","module":"System.Mem.Weak","entity":"value"},{"name":"mkWeakPair","module":"System.Mem.Weak","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.Mem.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"performGC","module":"System.Mem","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.Posix.Types.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Fd","module":"System.Posix.Types","entity":"newtype"},{"name":"Fd","module":"System.Posix.Types","type":"Fd","entity":"constructor"},{"name":"ByteCount","module":"System.Posix.Types","entity":"type"},{"name":"ClockTick","module":"System.Posix.Types","entity":"type"},{"name":"EpochTime","module":"System.Posix.Types","entity":"type"},{"name":"FileOffset","module":"System.Posix.Types","entity":"type"},{"name":"ProcessID","module":"System.Posix.Types","entity":"type"},{"name":"ProcessGroupID","module":"System.Posix.Types","entity":"type"},{"name":"DeviceID","module":"System.Posix.Types","entity":"type"},{"name":"FileID","module":"System.Posix.Types","entity":"type"},{"name":"FileMode","module":"System.Posix.Types","entity":"type"},{"name":"Limit","module":"System.Posix.Types","entity":"type"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/System.Timeout.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"timeout","module":"System.Timeout","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Text.ParserCombinators.ReadP.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ReadP","module":"Text.ParserCombinators.ReadP","entity":"newtype"},{"name":"get","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"look","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"+++","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"<++","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"gather","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"pfail","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"eof","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"satisfy","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"char","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"string","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"munch","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"munch1","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"skipSpaces","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"choice","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"count","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"between","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"option","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"optional","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"many","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"many1","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"skipMany","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"skipMany1","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"sepBy","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"sepBy1","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"endBy","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"endBy1","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"chainr","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"chainl","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"chainl1","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"chainr1","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"manyTill","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"ReadS","module":"Text.ParserCombinators.ReadP","entity":"type"},{"name":"readP_to_S","module":"Text.ParserCombinators.ReadP","entity":"value"},{"name":"readS_to_P","module":"Text.ParserCombinators.ReadP","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Text.ParserCombinators.ReadPrec.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ReadPrec","module":"Text.ParserCombinators.ReadPrec","entity":"newtype"},{"name":"Prec","module":"Text.ParserCombinators.ReadPrec","entity":"type"},{"name":"minPrec","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"lift","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"prec","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"step","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"reset","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"get","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"look","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"+++","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"<++","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"pfail","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"choice","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"readPrec_to_P","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"readP_to_Prec","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"readPrec_to_S","module":"Text.ParserCombinators.ReadPrec","entity":"value"},{"name":"readS_to_Prec","module":"Text.ParserCombinators.ReadPrec","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Text.Printf.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"printf","module":"Text.Printf","entity":"value"},{"name":"hPrintf","module":"Text.Printf","entity":"value"},{"name":"PrintfType","module":"Text.Printf","entity":"class"},{"name":"HPrintfType","module":"Text.Printf","entity":"class"},{"name":"PrintfArg","module":"Text.Printf","entity":"class"},{"name":"IsChar","module":"Text.Printf","entity":"class"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Text.Read.Lex.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"Lexeme","module":"Text.Read.Lex","entity":"data"},{"name":"Char","module":"Text.Read.Lex","type":"Lexeme","entity":"constructor"},{"name":"EOF","module":"Text.Read.Lex","type":"Lexeme","entity":"constructor"},{"name":"Ident","module":"Text.Read.Lex","type":"Lexeme","entity":"constructor"},{"name":"Number","module":"Text.Read.Lex","type":"Lexeme","entity":"constructor"},{"name":"Punc","module":"Text.Read.Lex","type":"Lexeme","entity":"constructor"},{"name":"String","module":"Text.Read.Lex","type":"Lexeme","entity":"constructor"},{"name":"Symbol","module":"Text.Read.Lex","type":"Lexeme","entity":"constructor"},{"name":"numberToInteger","module":"Text.Read.Lex","entity":"value"},{"name":"numberToFixed","module":"Text.Read.Lex","entity":"value"},{"name":"numberToRational","module":"Text.Read.Lex","entity":"value"},{"name":"numberToRangedRational","module":"Text.Read.Lex","entity":"value"},{"name":"lex","module":"Text.Read.Lex","entity":"value"},{"name":"expect","module":"Text.Read.Lex","entity":"value"},{"name":"hsLex","module":"Text.Read.Lex","entity":"value"},{"name":"lexChar","module":"Text.Read.Lex","entity":"value"},{"name":"readIntP","module":"Text.Read.Lex","entity":"value"},{"name":"readOctP","module":"Text.Read.Lex","entity":"value"},{"name":"readDecP","module":"Text.Read.Lex","entity":"value"},{"name":"readHexP","module":"Text.Read.Lex","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Text.Show.Functions.symbols: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Text.Show.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"ShowS","module":"GHC.Show","entity":"type"},{"name":"Show","module":"GHC.Show","entity":"class"},{"name":"showsPrec","module":"GHC.Show","entity":"method","class":"Show"},{"name":"show","module":"GHC.Show","entity":"method","class":"Show"},{"name":"showList","module":"GHC.Show","entity":"method","class":"Show"},{"name":"shows","module":"GHC.Show","entity":"value"},{"name":"showChar","module":"GHC.Show","entity":"value"},{"name":"showString","module":"GHC.Show","entity":"value"},{"name":"showParen","module":"GHC.Show","entity":"value"},{"name":"showListWith","module":"Text.Show","entity":"value"}] 2 | -------------------------------------------------------------------------------- /data/baseEnvironment/Unsafe.Coerce.symbols: -------------------------------------------------------------------------------- 1 | [{"name":"unsafeCoerce","module":"Unsafe.Coerce","entity":"value"}] 2 | -------------------------------------------------------------------------------- /examples/HeadUsages.hs: -------------------------------------------------------------------------------- 1 | module Main where 2 | 3 | import Language.Haskell.Exts ( 4 | fromParseResult, parseModuleWithMode, defaultParseMode, 5 | parseFilename, prettyPrint, srcInfoSpan, 6 | Name(Ident), ModuleName(ModuleName)) 7 | import Language.Haskell.Names ( 8 | loadBase, annotate, symbolName, 9 | Scoped(Scoped), NameInfo(GlobalSymbol)) 10 | 11 | import qualified Data.Map as Map ( 12 | lookup) 13 | 14 | import Data.Maybe ( 15 | fromMaybe, listToMaybe) 16 | import Data.List ( 17 | nub) 18 | import qualified Data.Foldable as Foldable ( 19 | toList) 20 | import Control.Monad ( 21 | forM_, guard) 22 | 23 | main :: IO () 24 | main = do 25 | 26 | -- read the program's source from stdin 27 | source <- getContents 28 | 29 | -- parse the program (using haskell-src-exts) 30 | let ast = fromParseResult ( 31 | parseModuleWithMode defaultParseMode {parseFilename="stdin"} source) 32 | 33 | -- get base environment 34 | baseEnvironment <- loadBase 35 | 36 | -- get symbols defined in prelude 37 | let preludeSymbols = fromMaybe (error "Prelude not found") ( 38 | Map.lookup (ModuleName () "Prelude") baseEnvironment) 39 | 40 | -- find a Prelude symbol with name 'head' using the List monad 41 | let headSymbol = fromMaybe (error "Prelude.head not found") ( 42 | listToMaybe (do 43 | preludeSymbol <- preludeSymbols 44 | guard (symbolName preludeSymbol == Ident () "head") 45 | return preludeSymbol)) 46 | 47 | -- annotate the AST 48 | let annotatedAST = annotate baseEnvironment ast 49 | 50 | -- get all annotations 51 | let annotations = Foldable.toList annotatedAST 52 | 53 | -- filter head Usages in List monad and remove duplicates 54 | let headUsages = nub (do 55 | Scoped (GlobalSymbol globalSymbol _) location <- annotations 56 | guard (globalSymbol == headSymbol) 57 | return location) 58 | 59 | case headUsages of 60 | [] -> 61 | putStrLn "Congratulations! Your code doesn't use Prelude.head" 62 | _ -> forM_ headUsages (\location -> 63 | putStrLn ("Prelude.head is used at " ++ (prettyPrint (srcInfoSpan location)))) 64 | 65 | -------------------------------------------------------------------------------- /examples/ModuleExports.hs: -------------------------------------------------------------------------------- 1 | -- Taken from https://github.com/haskell-suite/haskell-names/issues/92 2 | module Main where 3 | 4 | import Language.Haskell.Exts (ParseResult (ParseOk), parseFile) 5 | import Language.Haskell.Names (resolve) 6 | 7 | main :: IO () 8 | main = do 9 | ParseOk example <- parseFile "examples/moduleexports/Example.hs" 10 | ParseOk exampleInternal <- parseFile "examples/moduleexports/Example/Internal.hs" 11 | 12 | let onlyExample = resolve [example] mempty 13 | let onlyInternal = resolve [exampleInternal] mempty 14 | let exampleAndInternal = resolve [example, exampleInternal] mempty 15 | let internalAndExample = resolve [exampleInternal, example] mempty 16 | let exampleAfterInternal = resolve [example] onlyInternal 17 | let internalAfterExample = resolve [exampleInternal] onlyExample 18 | 19 | putStrLn $ "Only example: " ++ show onlyExample 20 | putStrLn $ "Only internal: " ++ show onlyInternal 21 | putStrLn $ "Example & Internal: " ++ show exampleAndInternal 22 | putStrLn $ "Internal & Example: " ++ show internalAndExample 23 | putStrLn $ "Example after Internal: " ++ show exampleAfterInternal 24 | putStrLn $ "Internal after Example: " ++ show internalAfterExample 25 | 26 | {- Result: 27 | Only example: fromList [(ModuleName () "Example",[])] 28 | Only internal: fromList [(ModuleName () "Example.Internal",[Value {symbolModule = ModuleName () "Example.Internal", symbolName = Ident () "details"}])] 29 | Example & Internal: fromList [(ModuleName () "Example",[Value {symbolModule = ModuleName () "Example.Internal", symbolName = Ident () "details"}]),(ModuleName () "Example.Internal",[Value {symbolModule = ModuleName () "Example.Internal", symbolName = Ident () "details"}])] 30 | Internal & Example: fromList [(ModuleName () "Example",[Value {symbolModule = ModuleName () "Example.Internal", symbolName = Ident () "details"}]),(ModuleName () "Example.Internal",[Value {symbolModule = ModuleName () "Example.Internal", symbolName = Ident () "details"}])] 31 | Example after Internal: fromList [(ModuleName () "Example",[Value {symbolModule = ModuleName () "Example.Internal", symbolName = Ident () "details"}]),(ModuleName () "Example.Internal",[Value {symbolModule = ModuleName () "Example.Internal", symbolName = Ident () "details"}])] 32 | Internal after Example: fromList [(ModuleName () "Example",[]),(ModuleName () "Example.Internal",[Value {symbolModule = ModuleName () "Example.Internal", symbolName = Ident () "details"}])] 33 | -} 34 | -------------------------------------------------------------------------------- /examples/moduleexports/Example.hs: -------------------------------------------------------------------------------- 1 | module Example (details) where 2 | 3 | import Example.Internal 4 | -------------------------------------------------------------------------------- /examples/moduleexports/Example/Internal.hs: -------------------------------------------------------------------------------- 1 | module Example.Internal (details) where 2 | 3 | details :: Int -> String 4 | details = undefined 5 | -------------------------------------------------------------------------------- /haskell-src-exts-1.21.0.yaml: -------------------------------------------------------------------------------- 1 | resolver: nightly-2018-12-10 2 | extra-deps: 3 | - haskell-src-exts-1.21.0 4 | -------------------------------------------------------------------------------- /nightly.yaml: -------------------------------------------------------------------------------- 1 | resolver: nightly-2020-05-26 2 | -------------------------------------------------------------------------------- /src/Language/Haskell/Names.hs: -------------------------------------------------------------------------------- 1 | module Language.Haskell.Names 2 | ( 3 | -- * Functions 4 | resolve 5 | , annotate 6 | -- * Types 7 | , Environment 8 | , Symbol(..) 9 | , Scoped(..) 10 | , NameInfo(..) 11 | , Error(..) 12 | -- * Reading and writing environments 13 | , readSymbols 14 | , writeSymbols 15 | , loadBase 16 | -- * Pretty printing 17 | , ppError 18 | , ppSymbol 19 | ) where 20 | 21 | import Language.Haskell.Names.Types 22 | import Language.Haskell.Names.Recursive 23 | import Language.Haskell.Names.Environment 24 | 25 | -------------------------------------------------------------------------------- /src/Language/Haskell/Names/GlobalSymbolTable.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE DeriveDataTypeable #-} 2 | -- | This module is designed to be imported qualified. 3 | module Language.Haskell.Names.GlobalSymbolTable where 4 | 5 | import Language.Haskell.Exts hiding (NewType, PatSyn) 6 | 7 | import Data.Map ( 8 | Map) 9 | import qualified Data.Map as Map ( 10 | empty,unionWith,fromListWith,lookup) 11 | 12 | import Control.Arrow 13 | import Data.List as List (union) 14 | import Data.Maybe (fromMaybe) 15 | 16 | import Language.Haskell.Names.Types 17 | import Language.Haskell.Names.SyntaxUtils (dropAnn) 18 | 19 | -- | Global symbol table — contains names declared somewhere at the top level. 20 | type Table = Map (QName ()) [Symbol] 21 | 22 | -- | Empty global symbol table. 23 | empty :: Table 24 | empty = Map.empty 25 | 26 | -- | For each name take the union of the lists of symbols they refer to. 27 | mergeTables :: Table -> Table -> Table 28 | mergeTables = Map.unionWith List.union 29 | 30 | lookupValue :: QName l -> Table -> [Symbol] 31 | lookupValue qn = filter isValue . lookupName qn 32 | 33 | lookupType :: QName l -> Table -> [Symbol] 34 | lookupType qn = filter isType . lookupName qn 35 | 36 | lookupMethodOrAssociate :: QName l -> Table -> [Symbol] 37 | lookupMethodOrAssociate qn = filter isMethodOrAssociated . lookupName qn 38 | 39 | lookupSelector :: QName l -> Table -> [Symbol] 40 | lookupSelector qn = filter isSelector . lookupName qn 41 | 42 | lookupName :: QName l -> Table -> [Symbol] 43 | lookupName qn table = fromMaybe [] (Map.lookup (dropAnn qn) table) 44 | 45 | isValue :: Symbol -> Bool 46 | isValue symbol = case symbol of 47 | Value {} -> True 48 | Method {} -> True 49 | Selector {} -> True 50 | Constructor {} -> True 51 | PatternConstructor {} -> True 52 | PatternSelector {} -> True 53 | _ -> False 54 | 55 | isType :: Symbol -> Bool 56 | isType symbol = case symbol of 57 | Type {} -> True 58 | Data {} -> True 59 | NewType {} -> True 60 | TypeFam {} -> True 61 | DataFam {} -> True 62 | Class {} -> True 63 | _ -> False 64 | 65 | isMethodOrAssociated :: Symbol -> Bool 66 | isMethodOrAssociated symbol = case symbol of 67 | Method {} -> True 68 | TypeFam {} -> True 69 | DataFam {} -> True 70 | _ -> False 71 | 72 | isSelector :: Symbol -> Bool 73 | isSelector symbol = case symbol of 74 | Selector {} -> True 75 | PatternSelector {} -> True 76 | _ -> False 77 | 78 | fromList :: [(QName (),Symbol)] -> Table 79 | fromList = Map.fromListWith List.union . map (second (:[])) 80 | 81 | -------------------------------------------------------------------------------- /src/Language/Haskell/Names/LocalSymbolTable.hs: -------------------------------------------------------------------------------- 1 | -- | This module is designed to be imported qualified. 2 | {-# LANGUAGE GeneralizedNewtypeDeriving #-} 3 | module Language.Haskell.Names.LocalSymbolTable 4 | ( Table 5 | , empty 6 | , lookupValue 7 | , addValue 8 | ) where 9 | 10 | import qualified Data.Map as Map 11 | import Data.Semigroup 12 | import Language.Haskell.Exts 13 | import Language.Haskell.Names.SyntaxUtils (dropAnn) 14 | import Language.Haskell.Names.Types 15 | 16 | -- | Local symbol table — contains locally bound names 17 | newtype Table = Table (Map.Map (Name ()) SrcLoc) 18 | deriving (Semigroup, Monoid) 19 | 20 | addValue :: SrcInfo l => Name l -> Table -> Table 21 | addValue n (Table vs) = 22 | Table (Map.insert (dropAnn n) (getPointLoc $ ann n) vs) 23 | 24 | lookupValue :: QName l -> Table -> Either (Error l) SrcLoc 25 | lookupValue qn@(UnQual _ n) (Table vs) = 26 | maybe (Left $ ENotInScope qn) Right $ 27 | Map.lookup (dropAnn n) vs 28 | lookupValue qn _ = Left $ ENotInScope qn 29 | 30 | empty :: Table 31 | empty = Table Map.empty 32 | -------------------------------------------------------------------------------- /src/Language/Haskell/Names/Open.hs: -------------------------------------------------------------------------------- 1 | -- Public interface for open resolution 2 | module Language.Haskell.Names.Open 3 | ( Resolvable(..) 4 | , Alg(..) 5 | , rmap 6 | , rfoldMap 7 | , Scope 8 | , NameContext(..) 9 | , initialScope 10 | , gTable 11 | , lTable 12 | , nameCtx 13 | , WcNames 14 | , WcField(..) 15 | , wcNames 16 | ) 17 | where 18 | 19 | import Language.Haskell.Names.Open.Base 20 | import Language.Haskell.Names.Open.Instances () 21 | import Language.Haskell.Names.Open.Derived () 22 | import Language.Haskell.Names.RecordWildcards 23 | -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- 1 | resolver: lts-15.14 2 | -------------------------------------------------------------------------------- /tests/annotations/Arrows.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE Arrows #-} 2 | module Arrows where 3 | 4 | x y = proc z -> do 5 | a <- y -< z 6 | b <- y -< a 7 | y -< b 8 | -------------------------------------------------------------------------------- /tests/annotations/Arrows.hs.golden: -------------------------------------------------------------------------------- 1 | Arrows at 1:14 is none 2 | x at 4:1 is a value bound here 3 | y at 4:3 is a value bound here 4 | z at 4:12 is a value bound here 5 | a at 5:3 is a value bound here 6 | y at 5:8 is a local value defined at 4:3 7 | y at 5:8 is a local value defined at 4:3 8 | z at 5:13 is a local value defined at 4:12 9 | z at 5:13 is a local value defined at 4:12 10 | b at 6:3 is a value bound here 11 | y at 6:8 is a local value defined at 4:3 12 | y at 6:8 is a local value defined at 4:3 13 | a at 6:13 is a local value defined at 5:3 14 | a at 6:13 is a local value defined at 5:3 15 | y at 7:3 is a local value defined at 4:3 16 | y at 7:3 is a local value defined at 4:3 17 | b at 7:8 is a local value defined at 6:3 18 | b at 7:8 is a local value defined at 6:3 19 | -------------------------------------------------------------------------------- /tests/annotations/Case.hs: -------------------------------------------------------------------------------- 1 | module Case where 2 | 3 | -- TODO: test where, guards 4 | 5 | f x = case x of 6 | Right (a,b,c) -> a b c 7 | Left 0 -> 0 8 | Left y 9 | | u -> u 10 | | let v = u, k <- v -> u 11 | where 12 | u = y 13 | q = v -- not in scope 14 | Left y -> t a y -- NB: 'a' is intentionally unbound 15 | where 16 | t = y x 17 | -------------------------------------------------------------------------------- /tests/annotations/Case.hs.golden: -------------------------------------------------------------------------------- 1 | f at 5:1 is a value bound here 2 | x at 5:3 is a value bound here 3 | x at 5:12 is a local value defined at 5:3 4 | x at 5:12 is a local value defined at 5:3 5 | Right at 6:3 is not in scope 6 | Right at 6:3 is not in scope 7 | a at 6:10 is a value bound here 8 | b at 6:12 is a value bound here 9 | c at 6:14 is a value bound here 10 | a at 6:20 is a local value defined at 6:10 11 | a at 6:20 is a local value defined at 6:10 12 | b at 6:22 is a local value defined at 6:12 13 | b at 6:22 is a local value defined at 6:12 14 | c at 6:24 is a local value defined at 6:14 15 | c at 6:24 is a local value defined at 6:14 16 | Left at 7:3 is not in scope 17 | Left at 7:3 is not in scope 18 | Left at 8:3 is not in scope 19 | Left at 8:3 is not in scope 20 | y at 8:8 is a value bound here 21 | u at 9:7 is a local value defined at 12:7 22 | u at 9:7 is a local value defined at 12:7 23 | u at 9:12 is a local value defined at 12:7 24 | u at 9:12 is a local value defined at 12:7 25 | v at 10:11 is a value bound here 26 | u at 10:15 is a local value defined at 12:7 27 | u at 10:15 is a local value defined at 12:7 28 | k at 10:18 is a value bound here 29 | v at 10:23 is a local value defined at 10:11 30 | v at 10:23 is a local value defined at 10:11 31 | u at 10:28 is a local value defined at 12:7 32 | u at 10:28 is a local value defined at 12:7 33 | u at 12:7 is a value bound here 34 | y at 12:11 is a local value defined at 8:8 35 | y at 12:11 is a local value defined at 8:8 36 | q at 13:7 is a value bound here 37 | v at 13:11 is not in scope 38 | v at 13:11 is not in scope 39 | Left at 14:3 is not in scope 40 | Left at 14:3 is not in scope 41 | y at 14:8 is a value bound here 42 | t at 14:13 is a local value defined at 16:7 43 | t at 14:13 is a local value defined at 16:7 44 | a at 14:15 is not in scope 45 | a at 14:15 is not in scope 46 | y at 14:17 is a local value defined at 14:8 47 | y at 14:17 is a local value defined at 14:8 48 | t at 16:7 is a value bound here 49 | y at 16:11 is a local value defined at 14:8 50 | y at 16:11 is a local value defined at 14:8 51 | x at 16:13 is a local value defined at 5:3 52 | x at 16:13 is a local value defined at 5:3 53 | -------------------------------------------------------------------------------- /tests/annotations/ClassConstraints.hs: -------------------------------------------------------------------------------- 1 | module ClassConstraints where 2 | 3 | class C a where 4 | cee :: a 5 | 6 | class (C a) => D a where 7 | dee :: a 8 | -------------------------------------------------------------------------------- /tests/annotations/ClassConstraints.hs.golden: -------------------------------------------------------------------------------- 1 | C at 3:7 is a type or class defined here 2 | a at 3:9 is none 3 | cee at 4:5 is a value bound here 4 | a at 4:12 is none 5 | C at 6:8 is a global type class, ClassConstraints.C 6 | C at 6:8 is a global type class, ClassConstraints.C 7 | a at 6:10 is none 8 | D at 6:16 is a type or class defined here 9 | a at 6:18 is none 10 | dee at 7:5 is a value bound here 11 | a at 7:12 is none 12 | -------------------------------------------------------------------------------- /tests/annotations/ClassInstances.hs: -------------------------------------------------------------------------------- 1 | module ClassInstances where 2 | 3 | data D a = D DataType a 4 | 5 | class C a where 6 | wiggle :: a -> a 7 | woe :: a 8 | method1 :: a 9 | ($$$) :: a -> a -> a 10 | 11 | instance (C a) => C (D a) where 12 | wiggle (D b a) = D b (f a) 13 | woe = D Constructor1 woe 14 | method1 = D Constructor1 woe 15 | f $$$ x = ($$$) f x 16 | 17 | f :: (C a) => a -> a 18 | f x = wiggle x 19 | -------------------------------------------------------------------------------- /tests/annotations/Export.hs: -------------------------------------------------------------------------------- 1 | module ImportExport 2 | ( function -- EVar 3 | , Newtype -- EAbs 4 | , DataType(..) -- EThingAll 5 | , DataTypeWithSelectors(selector1) -- EThingWith 6 | , module Prelude -- EModuleContents 7 | ) where 8 | 9 | import Prelude 10 | -------------------------------------------------------------------------------- /tests/annotations/Export.hs.golden: -------------------------------------------------------------------------------- 1 | function at 2:5 is a global value, Prelude.function 2 | function at 2:5 is a global value, Prelude.function 3 | Newtype at 3:5 is a global newtype, Prelude.Newtype 4 | Newtype at 3:5 is a global newtype, Prelude.Newtype 5 | DataType at 4:5 is a global data type, Prelude.DataType 6 | DataType at 4:5 is a global data type, Prelude.DataType 7 | DataTypeWithSelectors at 5:5 is a global data type, Prelude.DataTypeWithSelectors 8 | DataTypeWithSelectors at 5:5 is a global data type, Prelude.DataTypeWithSelectors 9 | selector1 at 5:27 is a global selector, Prelude.selector1 10 | -------------------------------------------------------------------------------- /tests/annotations/FnBind.hs: -------------------------------------------------------------------------------- 1 | module FnBind where 2 | 3 | f x y = x y z t 4 | where 5 | -- NB: mutually recursive bindings 6 | z = x t 7 | t = y z 8 | f x y | 9 | let z = x y, 10 | (k1, k2) <- z, 11 | k1, 12 | k2 13 | = y 14 | 15 | (z * x) y = x y z t 16 | where 17 | t = y z 18 | -------------------------------------------------------------------------------- /tests/annotations/Global.hs: -------------------------------------------------------------------------------- 1 | module Global where 2 | 3 | import Prelude 4 | 5 | foo :: Newtype 6 | foo = Newtype foo 7 | 8 | bar x = bar (x-1) 9 | -------------------------------------------------------------------------------- /tests/annotations/Global.hs.golden: -------------------------------------------------------------------------------- 1 | foo at 5:1 is a global value, Global.foo 2 | Newtype at 5:8 is a global newtype, Prelude.Newtype 3 | Newtype at 5:8 is a global newtype, Prelude.Newtype 4 | foo at 6:1 is a value bound here 5 | Newtype at 6:7 is a global constructor, Prelude.Newtype 6 | Newtype at 6:7 is a global constructor, Prelude.Newtype 7 | foo at 6:15 is a global value, Global.foo 8 | foo at 6:15 is a global value, Global.foo 9 | bar at 8:1 is a value bound here 10 | x at 8:5 is a value bound here 11 | bar at 8:9 is a global value, Global.bar 12 | bar at 8:9 is a global value, Global.bar 13 | x at 8:14 is a local value defined at 8:5 14 | x at 8:14 is a local value defined at 8:5 15 | - at 8:15 is not in scope 16 | - at 8:15 is not in scope 17 | -------------------------------------------------------------------------------- /tests/annotations/Infix.hs: -------------------------------------------------------------------------------- 1 | module Infix where 2 | 3 | infixr 3 $$$ 4 | 5 | ($$$) x y = x y 6 | -------------------------------------------------------------------------------- /tests/annotations/Infix.hs.golden: -------------------------------------------------------------------------------- 1 | $$$ at 3:10 is a global value, Infix.($$$) 2 | $$$ at 5:2 is a value bound here 3 | x at 5:7 is a value bound here 4 | y at 5:9 is a value bound here 5 | x at 5:13 is a local value defined at 5:7 6 | x at 5:13 is a local value defined at 5:7 7 | y at 5:15 is a local value defined at 5:9 8 | y at 5:15 is a local value defined at 5:9 9 | -------------------------------------------------------------------------------- /tests/annotations/Lambda.hs: -------------------------------------------------------------------------------- 1 | module Lambda where 2 | 3 | f = \x y -> x y 4 | -------------------------------------------------------------------------------- /tests/annotations/Lambda.hs.golden: -------------------------------------------------------------------------------- 1 | f at 3:1 is a value bound here 2 | x at 3:6 is a value bound here 3 | y at 3:8 is a value bound here 4 | x at 3:13 is a local value defined at 3:6 5 | x at 3:13 is a local value defined at 3:6 6 | y at 3:15 is a local value defined at 3:8 7 | y at 3:15 is a local value defined at 3:8 8 | -------------------------------------------------------------------------------- /tests/annotations/Let.hs: -------------------------------------------------------------------------------- 1 | module Let where 2 | 3 | a = 4 | let x = 2 5 | y = 3 6 | in let 7 | t = x y z t 8 | z = 4 9 | y = 2 10 | in x y z 11 | -------------------------------------------------------------------------------- /tests/annotations/Let.hs.golden: -------------------------------------------------------------------------------- 1 | a at 3:1 is a value bound here 2 | x at 4:7 is a value bound here 3 | y at 5:7 is a value bound here 4 | t at 7:7 is a value bound here 5 | x at 7:11 is a local value defined at 4:7 6 | x at 7:11 is a local value defined at 4:7 7 | y at 7:13 is a local value defined at 9:7 8 | y at 7:13 is a local value defined at 9:7 9 | z at 7:15 is a local value defined at 8:7 10 | z at 7:15 is a local value defined at 8:7 11 | t at 7:17 is a local value defined at 7:7 12 | t at 7:17 is a local value defined at 7:7 13 | z at 8:7 is a value bound here 14 | y at 9:7 is a value bound here 15 | x at 10:6 is a local value defined at 4:7 16 | x at 10:6 is a local value defined at 4:7 17 | y at 10:8 is a local value defined at 9:7 18 | y at 10:8 is a local value defined at 9:7 19 | z at 10:10 is a local value defined at 8:7 20 | z at 10:10 is a local value defined at 8:7 21 | -------------------------------------------------------------------------------- /tests/annotations/ListComp.hs: -------------------------------------------------------------------------------- 1 | module ListComp where 2 | 3 | a b = [ (x,y,z,t) 4 | | x <- b 5 | , y <- x 6 | , let t = y 7 | , y <- y 8 | , t 9 | , x 10 | , z <- x 11 | ] 12 | -------------------------------------------------------------------------------- /tests/annotations/ListComp.hs.golden: -------------------------------------------------------------------------------- 1 | a at 3:1 is a value bound here 2 | b at 3:3 is a value bound here 3 | x at 3:10 is a local value defined at 4:9 4 | x at 3:10 is a local value defined at 4:9 5 | y at 3:12 is a local value defined at 7:9 6 | y at 3:12 is a local value defined at 7:9 7 | z at 3:14 is a local value defined at 10:9 8 | z at 3:14 is a local value defined at 10:9 9 | t at 3:16 is a local value defined at 6:13 10 | t at 3:16 is a local value defined at 6:13 11 | x at 4:9 is a value bound here 12 | b at 4:14 is a local value defined at 3:3 13 | b at 4:14 is a local value defined at 3:3 14 | y at 5:9 is a value bound here 15 | x at 5:14 is a local value defined at 4:9 16 | x at 5:14 is a local value defined at 4:9 17 | t at 6:13 is a value bound here 18 | y at 6:17 is a local value defined at 5:9 19 | y at 6:17 is a local value defined at 5:9 20 | y at 7:9 is a value bound here 21 | y at 7:14 is a local value defined at 5:9 22 | y at 7:14 is a local value defined at 5:9 23 | t at 8:9 is a local value defined at 6:13 24 | t at 8:9 is a local value defined at 6:13 25 | x at 9:9 is a local value defined at 4:9 26 | x at 9:9 is a local value defined at 4:9 27 | z at 10:9 is a value bound here 28 | x at 10:14 is a local value defined at 4:9 29 | x at 10:14 is a local value defined at 4:9 30 | -------------------------------------------------------------------------------- /tests/annotations/ParListComp.hs: -------------------------------------------------------------------------------- 1 | l1 ax ay az = 2 | [ (x,y,z) 3 | | x <- ax 4 | | y <- ay 5 | | z <- az 6 | ] 7 | 8 | l2 ax ay az = 9 | [ (x,y,z) 10 | | x <- ax x -- neither of these x's should be in scope 11 | | y <- ay x 12 | | z <- az x 13 | ] 14 | -------------------------------------------------------------------------------- /tests/annotations/ParListComp.hs.golden: -------------------------------------------------------------------------------- 1 | l1 at 1:1 is a value bound here 2 | ax at 1:4 is a value bound here 3 | ay at 1:7 is a value bound here 4 | az at 1:10 is a value bound here 5 | x at 2:6 is a local value defined at 3:5 6 | x at 2:6 is a local value defined at 3:5 7 | y at 2:8 is a local value defined at 4:5 8 | y at 2:8 is a local value defined at 4:5 9 | z at 2:10 is a local value defined at 5:5 10 | z at 2:10 is a local value defined at 5:5 11 | x at 3:5 is a value bound here 12 | ax at 3:10 is a local value defined at 1:4 13 | ax at 3:10 is a local value defined at 1:4 14 | y at 4:5 is a value bound here 15 | ay at 4:10 is a local value defined at 1:7 16 | ay at 4:10 is a local value defined at 1:7 17 | z at 5:5 is a value bound here 18 | az at 5:10 is a local value defined at 1:10 19 | az at 5:10 is a local value defined at 1:10 20 | l2 at 8:1 is a value bound here 21 | ax at 8:4 is a value bound here 22 | ay at 8:7 is a value bound here 23 | az at 8:10 is a value bound here 24 | x at 9:6 is a local value defined at 10:5 25 | x at 9:6 is a local value defined at 10:5 26 | y at 9:8 is a local value defined at 11:5 27 | y at 9:8 is a local value defined at 11:5 28 | z at 9:10 is a local value defined at 12:5 29 | z at 9:10 is a local value defined at 12:5 30 | x at 10:5 is a value bound here 31 | ax at 10:10 is a local value defined at 8:4 32 | ax at 10:10 is a local value defined at 8:4 33 | x at 10:13 is not in scope 34 | x at 10:13 is not in scope 35 | y at 11:5 is a value bound here 36 | ay at 11:10 is a local value defined at 8:7 37 | ay at 11:10 is a local value defined at 8:7 38 | x at 11:13 is not in scope 39 | x at 11:13 is not in scope 40 | z at 12:5 is a value bound here 41 | az at 12:10 is a local value defined at 8:10 42 | az at 12:10 is a local value defined at 8:10 43 | x at 12:13 is not in scope 44 | x at 12:13 is not in scope 45 | -------------------------------------------------------------------------------- /tests/annotations/Pats.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE NPlusKPatterns #-} 2 | module Pats where 3 | 4 | data R = R { y :: R } 5 | 6 | f x = x 7 | f (x+1) = x 8 | f (R x) = x 9 | f (x : y) = x 10 | f (R { y = x }) = x 11 | f x@_ = x 12 | -------------------------------------------------------------------------------- /tests/annotations/Pats.hs.golden: -------------------------------------------------------------------------------- 1 | NPlusKPatterns at 1:14 is none 2 | R at 4:6 is a type or class defined here 3 | R at 4:10 is a value bound here 4 | y at 4:14 is a value bound here 5 | R at 4:19 is a global data type, Pats.R 6 | R at 4:19 is a global data type, Pats.R 7 | f at 6:1 is a value bound here 8 | x at 6:3 is a value bound here 9 | x at 6:7 is a local value defined at 6:3 10 | x at 6:7 is a local value defined at 6:3 11 | f at 7:1 is a value bound here 12 | x at 7:4 is a value bound here 13 | x at 7:11 is a local value defined at 7:4 14 | x at 7:11 is a local value defined at 7:4 15 | f at 8:1 is a value bound here 16 | R at 8:4 is a global constructor, Pats.R 17 | R at 8:4 is a global constructor, Pats.R 18 | x at 8:6 is a value bound here 19 | x at 8:11 is a local value defined at 8:6 20 | x at 8:11 is a local value defined at 8:6 21 | f at 9:1 is a value bound here 22 | x at 9:4 is a value bound here 23 | : at 9:6 is none 24 | y at 9:8 is a value bound here 25 | x at 9:13 is a local value defined at 9:4 26 | x at 9:13 is a local value defined at 9:4 27 | f at 10:1 is a value bound here 28 | R at 10:4 is a global constructor, Pats.R 29 | R at 10:4 is a global constructor, Pats.R 30 | y at 10:8 is a global selector, Pats.y 31 | y at 10:8 is a global selector, Pats.y 32 | x at 10:12 is a value bound here 33 | x at 10:19 is a local value defined at 10:12 34 | x at 10:19 is a local value defined at 10:12 35 | f at 11:1 is a value bound here 36 | x at 11:3 is a value bound here 37 | x at 11:9 is a local value defined at 11:3 38 | x at 11:9 is a local value defined at 11:3 39 | -------------------------------------------------------------------------------- /tests/annotations/PatternSynonyms.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms, NamedFieldPuns #-} 2 | 3 | module PatternSynonyms where 4 | 5 | 6 | data Type = App String [Type] 7 | 8 | pattern Arrow t1 t2 = App "->" [t1, t2] 9 | pattern Int = App "Int" [] 10 | pattern Maybe t = App "Maybe" [t] 11 | 12 | collectArgs :: Type -> [Type] 13 | collectArgs (Arrow t1 t2) = t1 : collectArgs t2 14 | collectArgs _ = [] 15 | 16 | isInt :: Type -> Bool 17 | isInt Int = True 18 | isInt _ = False 19 | 20 | isIntEndo :: Type -> Bool 21 | isIntEndo (Arrow Int Int) = True 22 | isIntEndo _ = False 23 | 24 | intEndo :: Type 25 | intEndo = Arrow Int Int 26 | 27 | pattern Head x <- x:xs 28 | 29 | pattern HeadC x <- x:xs where 30 | HeadC x = [x] 31 | 32 | pattern Point :: Int -> Int -> (Int, Int) 33 | pattern Point{x, y} = (x, y) 34 | 35 | zero = Point 0 0 36 | zero' = Point { x = 0, y = 0} 37 | isZero (Point 0 0) = True 38 | isZero' (Point { x = 0, y = 0 }) = True 39 | getX (Point {x}) = x 40 | setX = (0, 0) { x = 1 } == (1,0) 41 | getX' = x (0,0) == 0 42 | 43 | -------------------------------------------------------------------------------- /tests/annotations/QualifiedMethods.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE TypeFamilies #-} 2 | module QualifiedMethods where 3 | 4 | import qualified ExportListWildcards as ExportListWildcards 5 | 6 | import qualified DataFamilies as DataFamilies 7 | 8 | import Prelude 9 | 10 | data Rodor = Rodor 11 | 12 | x = ExportListWildcards.Foo1 13 | 14 | instance ExportListWildcards.Bar Rodor where 15 | x Rodor = x 16 | 17 | instance DataFamilies.ListLike Rodor where 18 | type I Rodor = Rodor 19 | method1 _ = Rodor 20 | -------------------------------------------------------------------------------- /tests/annotations/QualifiedMethods.hs.golden: -------------------------------------------------------------------------------- 1 | TypeFamilies at 1:14 is none 2 | Rodor at 10:6 is a type or class defined here 3 | Rodor at 10:14 is a value bound here 4 | x at 12:1 is a value bound here 5 | Foo1 at 12:5 is a global constructor, ExportListWildcards.Foo1 6 | Foo1 at 12:5 is a global constructor, ExportListWildcards.Foo1 7 | Bar at 14:10 is a global type class, ExportListWildcards.Bar 8 | Bar at 14:10 is a global type class, ExportListWildcards.Bar 9 | Rodor at 14:34 is a global data type, QualifiedMethods.Rodor 10 | Rodor at 14:34 is a global data type, QualifiedMethods.Rodor 11 | x at 15:5 is a global method, ExportListWildcards.x 12 | Rodor at 15:7 is a global constructor, QualifiedMethods.Rodor 13 | Rodor at 15:7 is a global constructor, QualifiedMethods.Rodor 14 | x at 15:15 is a global value, QualifiedMethods.x 15 | x at 15:15 is a global value, QualifiedMethods.x 16 | ListLike at 17:10 is a global type class, DataFamilies.ListLike 17 | ListLike at 17:10 is a global type class, DataFamilies.ListLike 18 | Rodor at 17:32 is a global data type, QualifiedMethods.Rodor 19 | Rodor at 17:32 is a global data type, QualifiedMethods.Rodor 20 | I at 18:10 is a global type family, DataFamilies.I 21 | I at 18:10 is a global type family, DataFamilies.I 22 | Rodor at 18:12 is a global data type, QualifiedMethods.Rodor 23 | Rodor at 18:12 is a global data type, QualifiedMethods.Rodor 24 | Rodor at 18:20 is a global data type, QualifiedMethods.Rodor 25 | Rodor at 18:20 is a global data type, QualifiedMethods.Rodor 26 | method1 at 19:5 is a global method, DataFamilies.method1 27 | Rodor at 19:17 is a global constructor, QualifiedMethods.Rodor 28 | Rodor at 19:17 is a global constructor, QualifiedMethods.Rodor 29 | -------------------------------------------------------------------------------- /tests/annotations/RecordFieldUpdate.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE RecordWildCards #-} 2 | {-# LANGUAGE NamedFieldPuns #-} 3 | module RecordFieldUpdate where 4 | data Record a = Record { field :: a } 5 | record1 field = r 6 | where r = Record { field = field } 7 | record2 field = r 8 | where r = Record { field } 9 | record3 field = r 10 | where r = Record { .. } 11 | -------------------------------------------------------------------------------- /tests/annotations/RecordFieldUpdate.hs.golden: -------------------------------------------------------------------------------- 1 | RecordWildCards at 1:14 is none 2 | NamedFieldPuns at 2:14 is none 3 | Record at 4:6 is a type or class defined here 4 | a at 4:13 is none 5 | Record at 4:17 is a value bound here 6 | field at 4:26 is a value bound here 7 | a at 4:35 is none 8 | record1 at 5:1 is a value bound here 9 | field at 5:9 is a value bound here 10 | r at 5:17 is a local value defined at 6:9 11 | r at 5:17 is a local value defined at 6:9 12 | r at 6:9 is a value bound here 13 | Record at 6:13 is a global constructor, RecordFieldUpdate.Record 14 | Record at 6:13 is a global constructor, RecordFieldUpdate.Record 15 | field at 6:22 is a global selector, RecordFieldUpdate.field 16 | field at 6:22 is a global selector, RecordFieldUpdate.field 17 | field at 6:30 is a local value defined at 5:9 18 | field at 6:30 is a local value defined at 5:9 19 | record2 at 7:1 is a value bound here 20 | field at 7:9 is a value bound here 21 | r at 7:17 is a local value defined at 8:9 22 | r at 7:17 is a local value defined at 8:9 23 | r at 8:9 is a value bound here 24 | Record at 8:13 is a global constructor, RecordFieldUpdate.Record 25 | Record at 8:13 is a global constructor, RecordFieldUpdate.Record 26 | field at 8:22 is a global selector, RecordFieldUpdate.field 27 | field at 8:22 is a global selector, RecordFieldUpdate.field 28 | record3 at 9:1 is a value bound here 29 | field at 9:9 is a value bound here 30 | r at 9:17 is a local value defined at 10:9 31 | r at 9:17 is a local value defined at 10:9 32 | r at 10:9 is a value bound here 33 | Record at 10:13 is a global constructor, RecordFieldUpdate.Record 34 | Record at 10:13 is a global constructor, RecordFieldUpdate.Record 35 | .. at 10:22 is a record construction wildcard which assigns the following fields: RecordFieldUpdate.field = (a local value defined at 9:9) 36 | -------------------------------------------------------------------------------- /tests/annotations/RecordPattern.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE RecordWildCards #-} 2 | {-# LANGUAGE NamedFieldPuns #-} 3 | module RecordPattern where 4 | data Record a = Record { field :: a } 5 | unRecord1 r = field 6 | where Record { field = field } = r 7 | unRecord2 r = field 8 | where Record { field } = r 9 | unRecord3 r = field 10 | where Record { .. } = r 11 | -------------------------------------------------------------------------------- /tests/annotations/RecordPattern.hs.golden: -------------------------------------------------------------------------------- 1 | RecordWildCards at 1:14 is none 2 | NamedFieldPuns at 2:14 is none 3 | Record at 4:6 is a type or class defined here 4 | a at 4:13 is none 5 | Record at 4:17 is a value bound here 6 | field at 4:26 is a value bound here 7 | a at 4:35 is none 8 | unRecord1 at 5:1 is a value bound here 9 | r at 5:11 is a value bound here 10 | field at 5:15 is a local value defined at 6:26 11 | field at 5:15 is a local value defined at 6:26 12 | Record at 6:9 is a global constructor, RecordPattern.Record 13 | Record at 6:9 is a global constructor, RecordPattern.Record 14 | field at 6:18 is a global selector, RecordPattern.field 15 | field at 6:18 is a global selector, RecordPattern.field 16 | field at 6:26 is a value bound here 17 | r at 6:36 is a local value defined at 5:11 18 | r at 6:36 is a local value defined at 5:11 19 | unRecord2 at 7:1 is a value bound here 20 | r at 7:11 is a value bound here 21 | field at 7:15 is a local value defined at 8:18 22 | field at 7:15 is a local value defined at 8:18 23 | Record at 8:9 is a global constructor, RecordPattern.Record 24 | Record at 8:9 is a global constructor, RecordPattern.Record 25 | field at 8:18 is a global selector, RecordPattern.field 26 | field at 8:18 is a global selector, RecordPattern.field 27 | r at 8:28 is a local value defined at 7:11 28 | r at 8:28 is a local value defined at 7:11 29 | unRecord3 at 9:1 is a value bound here 30 | r at 9:11 is a value bound here 31 | field at 9:15 is a local value defined at 10:18 32 | field at 9:15 is a local value defined at 10:18 33 | Record at 10:9 is a global constructor, RecordPattern.Record 34 | Record at 10:9 is a global constructor, RecordPattern.Record 35 | .. at 10:18 is a record pattern wildcard which brings the following fields: RecordPattern.field 36 | r at 10:25 is a local value defined at 9:11 37 | r at 10:25 is a local value defined at 9:11 38 | -------------------------------------------------------------------------------- /tests/annotations/Records.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE NamedFieldPuns, RecordWildCards #-} 2 | module Records where 3 | 4 | import qualified Prelude 5 | 6 | data A = A { b :: A, c :: A } | X { b :: A, xxx :: A } 7 | 8 | undefined = undefined 9 | 10 | -- simple record pattern match 11 | f A { b = q } = q 12 | 13 | -- simple record update 14 | 15 | fu x = x { b = b x } 16 | 17 | -- pattern pun 18 | g A {b} = b 19 | 20 | -- top-level pattern pun clashes with selector 21 | -- A { c } = undefined 22 | ty = c 23 | 24 | -- expression pun 25 | tz = let b = 1 in A { b } 26 | 27 | -- mixed pattern 28 | h (A {b, c = (4, y)}) = (b, y) 29 | 30 | -- mixed expression 31 | tm = let b = 1; v = 2 in A { b, c = v } 32 | 33 | -- stripping module name 34 | -- (not supported by HSE yet) 35 | {- f A { M.b } = b -} 36 | 37 | -- simple wildcard pattern 38 | f A { .. } = (b, c) 39 | 40 | -- top-level wildcard pattern 41 | Prelude.DataTypeWithSelectors { .. } = undefined 42 | aux = (selector1,selector2) 43 | 44 | -- mixed wildcard and normal pattern 45 | f2 A { b = v, .. } = (v, c) 46 | 47 | -- mixed wildcard and pun 48 | f3 A { b, .. } = (b, c) 49 | 50 | -- simple wildcard construction 51 | r1 = let b = 1 in A { .. } 52 | 53 | -- wildcard construction referring to a global and a local values 54 | -- (global values are defined above with a top-level pattern wildcard) 55 | r2 = let selector2 = undefined in Prelude.DataTypeWithSelectors { .. } 56 | 57 | -- mixed simple construction and wildcard 58 | r3 = let b = undefined in A { c = undefined, .. } 59 | 60 | -- mixed simple construction and pun 61 | r4 = let (b,c) = undefined in A { c, .. } 62 | 63 | -- test that we don't bring fields from other constructors 64 | r5 = let (b, xxx) = undefined in A { .. } 65 | -------------------------------------------------------------------------------- /tests/annotations/Special.hs: -------------------------------------------------------------------------------- 1 | module Special where 2 | 3 | foo :: () 4 | foo = () 5 | -------------------------------------------------------------------------------- /tests/annotations/Special.hs.golden: -------------------------------------------------------------------------------- 1 | foo at 3:1 is a global value, Special.foo 2 | () at 3:8 is none 3 | foo at 4:1 is a value bound here 4 | () at 4:7 is none 5 | -------------------------------------------------------------------------------- /tests/annotations/TypeSignature.hs: -------------------------------------------------------------------------------- 1 | module TypeSignature where 2 | 3 | f,g :: Int -> Int 4 | f x = 2 * x 5 | g x = x + x 6 | 7 | function :: Char 8 | function = 'a' 9 | 10 | -------------------------------------------------------------------------------- /tests/annotations/TypeSignature.hs.golden: -------------------------------------------------------------------------------- 1 | f at 3:1 is a global value, TypeSignature.f 2 | g at 3:3 is a global value, TypeSignature.g 3 | Int at 3:8 is not in scope 4 | Int at 3:8 is not in scope 5 | Int at 3:15 is not in scope 6 | Int at 3:15 is not in scope 7 | f at 4:1 is a value bound here 8 | x at 4:3 is a value bound here 9 | * at 4:9 is not in scope 10 | * at 4:9 is not in scope 11 | x at 4:11 is a local value defined at 4:3 12 | x at 4:11 is a local value defined at 4:3 13 | g at 5:1 is a value bound here 14 | x at 5:3 is a value bound here 15 | x at 5:7 is a local value defined at 5:3 16 | x at 5:7 is a local value defined at 5:3 17 | + at 5:9 is not in scope 18 | + at 5:9 is not in scope 19 | x at 5:11 is a local value defined at 5:3 20 | x at 5:11 is a local value defined at 5:3 21 | function at 7:1 is a global value, TypeSignature.function 22 | Char at 7:13 is not in scope 23 | Char at 7:13 is not in scope 24 | function at 8:1 is a value bound here 25 | -------------------------------------------------------------------------------- /tests/annotations/Types.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE MultiParamTypeClasses #-} 2 | module Types where 3 | 4 | data A 5 | = B A 6 | | C A 7 | | D { d :: A, e :: A } 8 | 9 | type X = A 10 | 11 | class C a where 12 | f :: X -> A 13 | -------------------------------------------------------------------------------- /tests/annotations/Types.hs.golden: -------------------------------------------------------------------------------- 1 | MultiParamTypeClasses at 1:14 is none 2 | A at 4:6 is a type or class defined here 3 | B at 5:5 is a value bound here 4 | A at 5:7 is a global data type, Types.A 5 | A at 5:7 is a global data type, Types.A 6 | C at 6:5 is a value bound here 7 | A at 6:7 is a global data type, Types.A 8 | A at 6:7 is a global data type, Types.A 9 | D at 7:5 is a value bound here 10 | d at 7:9 is a value bound here 11 | A at 7:14 is a global data type, Types.A 12 | A at 7:14 is a global data type, Types.A 13 | e at 7:17 is a value bound here 14 | A at 7:22 is a global data type, Types.A 15 | A at 7:22 is a global data type, Types.A 16 | X at 9:6 is a type or class defined here 17 | A at 9:10 is a global data type, Types.A 18 | A at 9:10 is a global data type, Types.A 19 | C at 11:7 is a type or class defined here 20 | a at 11:9 is none 21 | f at 12:3 is a value bound here 22 | X at 12:8 is a global type synonym, Types.X 23 | X at 12:8 is a global type synonym, Types.X 24 | A at 12:13 is a global data type, Types.A 25 | A at 12:13 is a global data type, Types.A 26 | -------------------------------------------------------------------------------- /tests/annotations/ViewPats.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE ViewPatterns #-} 2 | module ViewPats where 3 | 4 | f (y -> x) z@(x -> y) = do 5 | x 6 | y 7 | z 8 | -------------------------------------------------------------------------------- /tests/annotations/ViewPats.hs.golden: -------------------------------------------------------------------------------- 1 | ViewPatterns at 1:14 is none 2 | f at 4:1 is a value bound here 3 | y at 4:4 is not in scope 4 | y at 4:4 is not in scope 5 | x at 4:9 is a value bound here 6 | z at 4:12 is a value bound here 7 | x at 4:15 is a local value defined at 4:9 8 | x at 4:15 is a local value defined at 4:9 9 | y at 4:20 is a value bound here 10 | x at 5:3 is a local value defined at 4:9 11 | x at 5:3 is a local value defined at 4:9 12 | y at 6:3 is a local value defined at 4:20 13 | y at 6:3 is a local value defined at 4:20 14 | z at 7:3 is a local value defined at 4:12 15 | z at 7:3 is a local value defined at 4:12 16 | -------------------------------------------------------------------------------- /tests/annotations/Wildcards.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE RecordWildCards #-} 2 | module Wildcards where 3 | 4 | import Prelude (DataTypeWithSelectors(DataTypeWithSelectors,selector1)) 5 | 6 | u :: DataTypeWithSelectors -> () 7 | u DataTypeWithSelectors{..} = let x = selector1 in () 8 | 9 | -------------------------------------------------------------------------------- /tests/annotations/Wildcards.hs.golden: -------------------------------------------------------------------------------- 1 | RecordWildCards at 1:14 is none 2 | DataTypeWithSelectors at 4:17 is import part for a global data type, Prelude.DataTypeWithSelectors 3 | DataTypeWithSelectors at 4:39 is a global constructor, Prelude.DataTypeWithSelectors 4 | selector1 at 4:61 is a global selector, Prelude.selector1 5 | u at 6:1 is a global value, Wildcards.u 6 | DataTypeWithSelectors at 6:6 is a global data type, Prelude.DataTypeWithSelectors 7 | DataTypeWithSelectors at 6:6 is a global data type, Prelude.DataTypeWithSelectors 8 | () at 6:31 is none 9 | u at 7:1 is a value bound here 10 | DataTypeWithSelectors at 7:3 is a global constructor, Prelude.DataTypeWithSelectors 11 | DataTypeWithSelectors at 7:3 is a global constructor, Prelude.DataTypeWithSelectors 12 | .. at 7:25 is a record pattern wildcard which brings the following fields: Prelude.selector1 13 | x at 7:35 is a value bound here 14 | selector1 at 7:39 is a local value defined at 7:25 15 | selector1 at 7:39 is a local value defined at 7:25 16 | () at 7:52 is none 17 | -------------------------------------------------------------------------------- /tests/annotations/WildcardsQualified.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE RecordWildCards #-} 2 | module WildcardsQualified where 3 | 4 | import qualified Prelude as P (DataTypeWithSelectors(DataTypeWithSelectors,selector1)) 5 | 6 | u :: DataTypeWithSelectors -> () 7 | u P.DataTypeWithSelectors{..} = let x = selector1 in () 8 | 9 | -------------------------------------------------------------------------------- /tests/annotations/WildcardsQualified.hs.golden: -------------------------------------------------------------------------------- 1 | RecordWildCards at 1:14 is none 2 | DataTypeWithSelectors at 4:32 is import part for a global data type, Prelude.DataTypeWithSelectors 3 | DataTypeWithSelectors at 4:54 is a global constructor, Prelude.DataTypeWithSelectors 4 | selector1 at 4:76 is a global selector, Prelude.selector1 5 | u at 6:1 is a global value, WildcardsQualified.u 6 | DataTypeWithSelectors at 6:6 is not in scope 7 | DataTypeWithSelectors at 6:6 is not in scope 8 | () at 6:31 is none 9 | u at 7:1 is a value bound here 10 | DataTypeWithSelectors at 7:3 is a global constructor, Prelude.DataTypeWithSelectors 11 | DataTypeWithSelectors at 7:3 is a global constructor, Prelude.DataTypeWithSelectors 12 | .. at 7:27 is a record pattern wildcard which brings the following fields: Prelude.selector1 13 | x at 7:37 is a value bound here 14 | selector1 at 7:41 is a local value defined at 7:27 15 | selector1 at 7:41 is a local value defined at 7:27 16 | () at 7:54 is none 17 | -------------------------------------------------------------------------------- /tests/errors/Err1.hs: -------------------------------------------------------------------------------- 1 | -- Some random parse error 2 | 1 + 3 | 4 | -------------------------------------------------------------------------------- /tests/errors/Err10.hs: -------------------------------------------------------------------------------- 1 | module Err10 where 2 | import Err10Exp(bar) 3 | import Err10Exp(T(C1,C3)) 4 | import Err10Exp(T(x)) 5 | import Err10Exp(y) 6 | import Err10Exp(C(m2)) 7 | import Err10Exp(C1) 8 | -------------------------------------------------------------------------------- /tests/errors/Err10Exp.hs: -------------------------------------------------------------------------------- 1 | module Err10Exp where 2 | 3 | data T = C1 { x :: Int } | C2 { y :: Bool } 4 | 5 | class C a where 6 | m1 :: a -> Int 7 | 8 | foo :: Int 9 | foo = 10 10 | 11 | -------------------------------------------------------------------------------- /tests/errors/Err2.hs: -------------------------------------------------------------------------------- 1 | -- Imported module name not the same as file name 2 | import Err2Imp 3 | -------------------------------------------------------------------------------- /tests/errors/Err2Imp.hs: -------------------------------------------------------------------------------- 1 | module Err2Import where 2 | -------------------------------------------------------------------------------- /tests/errors/Err3.hs: -------------------------------------------------------------------------------- 1 | -- Imported module does not exist 2 | import Err3Imp 3 | -------------------------------------------------------------------------------- /tests/errors/Err4.hs: -------------------------------------------------------------------------------- 1 | -- Duplicate types 2 | type T = Int 3 | type T = Bool 4 | 5 | -- Duplicate data and class 6 | data C = C 7 | class C a 8 | -------------------------------------------------------------------------------- /tests/errors/Err5.hs: -------------------------------------------------------------------------------- 1 | -- Duplicate values 2 | x = 1 3 | x = 2 4 | -------------------------------------------------------------------------------- /tests/errors/Err6.hs: -------------------------------------------------------------------------------- 1 | -- Duplicate constructors 2 | data T = C 3 | data U = C 4 | -------------------------------------------------------------------------------- /tests/errors/Err7.hs: -------------------------------------------------------------------------------- 1 | -- Duplicate selectors 2 | data T = T { x :: Int } 3 | data S = S { x :: Int } 4 | 5 | data U = U { y :: Int, y :: Int } -- XXX error not detected yet 6 | 7 | -- But this OK 8 | data X = X1 { a :: Int } | X2 { a :: Int } 9 | 10 | class C a where 11 | m :: a 12 | m :: a 13 | -------------------------------------------------------------------------------- /tests/errors/Err8.hs: -------------------------------------------------------------------------------- 1 | -- Stray signature 2 | x :: Int 3 | -------------------------------------------------------------------------------- /tests/errors/Err9.hs: -------------------------------------------------------------------------------- 1 | -- Stray infix declaration 2 | infix & 3 | 4 | -- Multiple infix declaration 5 | infix # 6 | infix # 7 | (#) = undefined 8 | -------------------------------------------------------------------------------- /tests/errors/runtests.out.gold: -------------------------------------------------------------------------------- 1 | Err1.hs:4:1: Error: Parse error: ; 2 | 3 | Err2Imp.hs:1:1: Error: Module name does not agree with imported name: Err2Import, Err2.hs:2:8 Err2Imp 4 | 5 | Err3.hs:2:8: Error: Module Err3Imp not found. 6 | 7 | Err4.hs:2:6: Error: Duplicate type/class definitions: Err4.hs:3:6 T 8 | Err4.hs:6:6: Error: Duplicate type/class definitions: Err4.hs:7:7 C 9 | 10 | Err5.hs:2:1: Error: Duplicate value definitions: Err5.hs:3:1 x 11 | 12 | Err6.hs:2:10: Error: Duplicate value definitions: Err6.hs:3:10 C 13 | 14 | Err7.hs:2:14: Error: Duplicate value definitions: Err7.hs:3:14 x 15 | Err7.hs:5:14: Error: Duplicate value definitions: Err7.hs:5:24 y 16 | Err7.hs:8:15: Error: Duplicate value definitions: Err7.hs:8:33 a 17 | Err7.hs:11:5: Error: Duplicate value definitions: Err7.hs:12:5 m 18 | 19 | Err8.hs:2:1: Error: Stray type signature: x 20 | 21 | Err9.hs:2:7: Error: Stray infix declaration: (&) 22 | Err9.hs:5:7: Error: Duplicate infix declarations: Err9.hs:6:7 ( # ) 23 | 24 | Err10.hs:2:17: Error: Module does not export value: bar 25 | Err10.hs:3:22: Error: Module does not export value: C3 26 | Err10.hs:6:19: Error: Module does not export value: m2 27 | Err10.hs:7:17: Error: Module does not export type/class: C1 28 | 29 | -------------------------------------------------------------------------------- /tests/exports/DataFamilies.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE TypeFamilies #-} 2 | module DataFamilies ( 3 | Vector, 4 | ListLike(..), 5 | Vector(..)) where 6 | 7 | data family Vector a 8 | 9 | class ListLike a where 10 | type I a 11 | method1 :: a -> I a 12 | 13 | newtype instance Vector () = U_Vector () 14 | -------------------------------------------------------------------------------- /tests/exports/DataFamilies.hs.golden: -------------------------------------------------------------------------------- 1 | [ DataFam 2 | { symbolModule = ModuleName () "DataFamilies" 3 | , symbolName = Ident () "Vector" 4 | , associate = Nothing 5 | } 6 | , Class 7 | { symbolModule = ModuleName () "DataFamilies" 8 | , symbolName = Ident () "ListLike" 9 | } 10 | , TypeFam 11 | { symbolModule = ModuleName () "DataFamilies" 12 | , symbolName = Ident () "I" 13 | , associate = Just (Ident () "ListLike") 14 | } 15 | , Method 16 | { symbolModule = ModuleName () "DataFamilies" 17 | , symbolName = Ident () "method1" 18 | , className = Ident () "ListLike" 19 | } 20 | , Constructor 21 | { symbolModule = ModuleName () "DataFamilies" 22 | , symbolName = Ident () "U_Vector" 23 | , typeName = Ident () "Vector" 24 | } 25 | ] -------------------------------------------------------------------------------- /tests/exports/DuplicateExports.hs: -------------------------------------------------------------------------------- 1 | module DuplicateExports (A(A), A) where 2 | 3 | data A = A 4 | 5 | -------------------------------------------------------------------------------- /tests/exports/DuplicateExports.hs.golden: -------------------------------------------------------------------------------- 1 | [ Data 2 | { symbolModule = ModuleName () "DuplicateExports" 3 | , symbolName = Ident () "A" 4 | } 5 | , Constructor 6 | { symbolModule = ModuleName () "DuplicateExports" 7 | , symbolName = Ident () "A" 8 | , typeName = Ident () "A" 9 | } 10 | ] -------------------------------------------------------------------------------- /tests/exports/ExportAmbiguous.hs: -------------------------------------------------------------------------------- 1 | module ExportAmbiguous (DataType(..)) where 2 | 3 | import qualified Prelude (DataType(..)) 4 | import Prelude hiding (DataType(..)) 5 | 6 | data DataType = Constructor1 | Constructor2 7 | -------------------------------------------------------------------------------- /tests/exports/ExportAmbiguous.hs.golden: -------------------------------------------------------------------------------- 1 | [ Data 2 | { symbolModule = ModuleName () "ExportAmbiguous" 3 | , symbolName = Ident () "DataType" 4 | } 5 | , Constructor 6 | { symbolModule = ModuleName () "ExportAmbiguous" 7 | , symbolName = Ident () "Constructor1" 8 | , typeName = Ident () "DataType" 9 | } 10 | , Constructor 11 | { symbolModule = ModuleName () "ExportAmbiguous" 12 | , symbolName = Ident () "Constructor2" 13 | , typeName = Ident () "DataType" 14 | } 15 | ] -------------------------------------------------------------------------------- /tests/exports/ExportList.hs: -------------------------------------------------------------------------------- 1 | module ExportList (A) where 2 | 3 | data A = B A 4 | 5 | data C = C C 6 | 7 | a = a 8 | -------------------------------------------------------------------------------- /tests/exports/ExportList.hs.golden: -------------------------------------------------------------------------------- 1 | [ Data 2 | { symbolModule = ModuleName () "ExportList" 3 | , symbolName = Ident () "A" 4 | } 5 | ] -------------------------------------------------------------------------------- /tests/exports/ExportList2.hs: -------------------------------------------------------------------------------- 1 | module ExportList2 (b, c) where 2 | 3 | data A 4 | = A { b :: A } 5 | | B { b :: A, d :: A } 6 | 7 | c = b 8 | -------------------------------------------------------------------------------- /tests/exports/ExportList2.hs.golden: -------------------------------------------------------------------------------- 1 | [ Selector 2 | { symbolModule = ModuleName () "ExportList2" 3 | , symbolName = Ident () "b" 4 | , typeName = Ident () "A" 5 | , constructors = [ Ident () "B" , Ident () "A" ] 6 | } 7 | , Value 8 | { symbolModule = ModuleName () "ExportList2" 9 | , symbolName = Ident () "c" 10 | } 11 | ] -------------------------------------------------------------------------------- /tests/exports/ExportListMembers.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE MultiParamTypeClasses #-} 2 | 3 | module ExportListMembers (Foo(Foo1, Foo3, c), Bar(x), N(N)) where 4 | 5 | data Foo = Foo1 | Foo2 { c :: Bool } | Foo3 { d :: Bool } 6 | 7 | class Bar where x :: Foo; y :: Foo 8 | 9 | newtype N = N { unN :: Foo } 10 | 11 | a = a 12 | 13 | data Baz = Baz 14 | -------------------------------------------------------------------------------- /tests/exports/ExportListMembers.hs.golden: -------------------------------------------------------------------------------- 1 | [ Data 2 | { symbolModule = ModuleName () "ExportListMembers" 3 | , symbolName = Ident () "Foo" 4 | } 5 | , Constructor 6 | { symbolModule = ModuleName () "ExportListMembers" 7 | , symbolName = Ident () "Foo1" 8 | , typeName = Ident () "Foo" 9 | } 10 | , Constructor 11 | { symbolModule = ModuleName () "ExportListMembers" 12 | , symbolName = Ident () "Foo3" 13 | , typeName = Ident () "Foo" 14 | } 15 | , Selector 16 | { symbolModule = ModuleName () "ExportListMembers" 17 | , symbolName = Ident () "c" 18 | , typeName = Ident () "Foo" 19 | , constructors = [ Ident () "Foo2" ] 20 | } 21 | , Class 22 | { symbolModule = ModuleName () "ExportListMembers" 23 | , symbolName = Ident () "Bar" 24 | } 25 | , Method 26 | { symbolModule = ModuleName () "ExportListMembers" 27 | , symbolName = Ident () "x" 28 | , className = Ident () "Bar" 29 | } 30 | , NewType 31 | { symbolModule = ModuleName () "ExportListMembers" 32 | , symbolName = Ident () "N" 33 | } 34 | , Constructor 35 | { symbolModule = ModuleName () "ExportListMembers" 36 | , symbolName = Ident () "N" 37 | , typeName = Ident () "N" 38 | } 39 | ] -------------------------------------------------------------------------------- /tests/exports/ExportListWildcards.hs: -------------------------------------------------------------------------------- 1 | module ExportListWildcards (Foo(..), Bar(..), N(..)) where 2 | 3 | data Foo = Foo1 | Foo2 Int | Foo3 { c :: Bool } 4 | 5 | class Bar a where x :: a -> Foo 6 | 7 | newtype N = N { unN :: Foo } 8 | 9 | a = a 10 | 11 | data Baz = Baz 12 | -------------------------------------------------------------------------------- /tests/exports/ExportListWildcards.hs.golden: -------------------------------------------------------------------------------- 1 | [ Data 2 | { symbolModule = ModuleName () "ExportListWildcards" 3 | , symbolName = Ident () "Foo" 4 | } 5 | , Constructor 6 | { symbolModule = ModuleName () "ExportListWildcards" 7 | , symbolName = Ident () "Foo1" 8 | , typeName = Ident () "Foo" 9 | } 10 | , Constructor 11 | { symbolModule = ModuleName () "ExportListWildcards" 12 | , symbolName = Ident () "Foo2" 13 | , typeName = Ident () "Foo" 14 | } 15 | , Constructor 16 | { symbolModule = ModuleName () "ExportListWildcards" 17 | , symbolName = Ident () "Foo3" 18 | , typeName = Ident () "Foo" 19 | } 20 | , Selector 21 | { symbolModule = ModuleName () "ExportListWildcards" 22 | , symbolName = Ident () "c" 23 | , typeName = Ident () "Foo" 24 | , constructors = [ Ident () "Foo3" ] 25 | } 26 | , Class 27 | { symbolModule = ModuleName () "ExportListWildcards" 28 | , symbolName = Ident () "Bar" 29 | } 30 | , Method 31 | { symbolModule = ModuleName () "ExportListWildcards" 32 | , symbolName = Ident () "x" 33 | , className = Ident () "Bar" 34 | } 35 | , NewType 36 | { symbolModule = ModuleName () "ExportListWildcards" 37 | , symbolName = Ident () "N" 38 | } 39 | , Constructor 40 | { symbolModule = ModuleName () "ExportListWildcards" 41 | , symbolName = Ident () "N" 42 | , typeName = Ident () "N" 43 | } 44 | , Selector 45 | { symbolModule = ModuleName () "ExportListWildcards" 46 | , symbolName = Ident () "unN" 47 | , typeName = Ident () "N" 48 | , constructors = [ Ident () "N" ] 49 | } 50 | ] -------------------------------------------------------------------------------- /tests/exports/ImplicitExportList.hs: -------------------------------------------------------------------------------- 1 | data A = B { c :: A } 2 | 3 | main = main 4 | 5 | foo = foo 6 | -------------------------------------------------------------------------------- /tests/exports/ImplicitExportList.hs.golden: -------------------------------------------------------------------------------- 1 | [ Value 2 | { symbolModule = ModuleName () "Main" 3 | , symbolName = Ident () "main" 4 | } 5 | ] -------------------------------------------------------------------------------- /tests/exports/ModuleReExport.hs: -------------------------------------------------------------------------------- 1 | module ModuleReExport (module Prelude) where 2 | 3 | import Prelude 4 | -------------------------------------------------------------------------------- /tests/exports/ModuleReExport.hs.golden: -------------------------------------------------------------------------------- 1 | [ Value 2 | { symbolModule = ModuleName () "Prelude" 3 | , symbolName = Ident () "function" 4 | } 5 | , Method 6 | { symbolModule = ModuleName () "Prelude" 7 | , symbolName = Ident () "method1" 8 | , className = Ident () "Class" 9 | } 10 | , Method 11 | { symbolModule = ModuleName () "Prelude" 12 | , symbolName = Ident () "method2" 13 | , className = Ident () "Class" 14 | } 15 | , Selector 16 | { symbolModule = ModuleName () "Prelude" 17 | , symbolName = Ident () "selector1" 18 | , typeName = Ident () "DataTypeWithSelectors" 19 | , constructors = [ Ident () "DataTypeWithSelectors" ] 20 | } 21 | , Selector 22 | { symbolModule = ModuleName () "Prelude" 23 | , symbolName = Ident () "selector2" 24 | , typeName = Ident () "DataTypeWithSelectors" 25 | , constructors = [ Ident () "DataTypeWithSelectors" ] 26 | } 27 | , Selector 28 | { symbolModule = ModuleName () "Prelude" 29 | , symbolName = Ident () "unNewtype" 30 | , typeName = Ident () "NewtypeWithSelectors" 31 | , constructors = [ Ident () "NewtypeWithSelectors" ] 32 | } 33 | , Constructor 34 | { symbolModule = ModuleName () "Prelude" 35 | , symbolName = Ident () "Constructor1" 36 | , typeName = Ident () "DataType" 37 | } 38 | , Constructor 39 | { symbolModule = ModuleName () "Prelude" 40 | , symbolName = Ident () "Constructor2" 41 | , typeName = Ident () "DataType" 42 | } 43 | , Constructor 44 | { symbolModule = ModuleName () "Prelude" 45 | , symbolName = Ident () "DataTypeWithSelectors" 46 | , typeName = Ident () "DataTypeWithSelectors" 47 | } 48 | , Constructor 49 | { symbolModule = ModuleName () "Prelude" 50 | , symbolName = Ident () "Newtype" 51 | , typeName = Ident () "Newtype" 52 | } 53 | , Constructor 54 | { symbolModule = ModuleName () "Prelude" 55 | , symbolName = Ident () "NewtypeWithSelectors" 56 | , typeName = Ident () "NewtypeWithSelectors" 57 | } 58 | , Type 59 | { symbolModule = ModuleName () "Prelude" 60 | , symbolName = Ident () "TypeSynonym" 61 | } 62 | , Data 63 | { symbolModule = ModuleName () "Prelude" 64 | , symbolName = Ident () "DataType" 65 | } 66 | , Data 67 | { symbolModule = ModuleName () "Prelude" 68 | , symbolName = Ident () "DataTypeWithSelectors" 69 | } 70 | , NewType 71 | { symbolModule = ModuleName () "Prelude" 72 | , symbolName = Ident () "Newtype" 73 | } 74 | , NewType 75 | { symbolModule = ModuleName () "Prelude" 76 | , symbolName = Ident () "NewtypeWithSelectors" 77 | } 78 | , Class 79 | { symbolModule = ModuleName () "Prelude" 80 | , symbolName = Ident () "Class" 81 | } 82 | ] -------------------------------------------------------------------------------- /tests/exports/Prelude.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE MultiParamTypeClasses #-} 2 | 3 | module Prelude where 4 | 5 | data DataType = Constructor1 | Constructor2 6 | 7 | data DataTypeWithSelectors = DataTypeWithSelectors { selector1 :: DataTypeWithSelectors, selector2 :: DataTypeWithSelectors } 8 | 9 | newtype Newtype = Newtype Newtype 10 | 11 | newtype NewtypeWithSelectors = NewtypeWithSelectors { unNewtype :: NewtypeWithSelectors } 12 | 13 | type TypeSynonym = DataTypeWithSelectors 14 | 15 | class Class where 16 | method1 :: DataTypeWithSelectors 17 | method2 :: DataTypeWithSelectors 18 | 19 | function = function 20 | -------------------------------------------------------------------------------- /tests/exports/Prelude.hs.golden: -------------------------------------------------------------------------------- 1 | [ Data 2 | { symbolModule = ModuleName () "Prelude" 3 | , symbolName = Ident () "DataType" 4 | } 5 | , Constructor 6 | { symbolModule = ModuleName () "Prelude" 7 | , symbolName = Ident () "Constructor1" 8 | , typeName = Ident () "DataType" 9 | } 10 | , Constructor 11 | { symbolModule = ModuleName () "Prelude" 12 | , symbolName = Ident () "Constructor2" 13 | , typeName = Ident () "DataType" 14 | } 15 | , Data 16 | { symbolModule = ModuleName () "Prelude" 17 | , symbolName = Ident () "DataTypeWithSelectors" 18 | } 19 | , Constructor 20 | { symbolModule = ModuleName () "Prelude" 21 | , symbolName = Ident () "DataTypeWithSelectors" 22 | , typeName = Ident () "DataTypeWithSelectors" 23 | } 24 | , Selector 25 | { symbolModule = ModuleName () "Prelude" 26 | , symbolName = Ident () "selector1" 27 | , typeName = Ident () "DataTypeWithSelectors" 28 | , constructors = [ Ident () "DataTypeWithSelectors" ] 29 | } 30 | , Selector 31 | { symbolModule = ModuleName () "Prelude" 32 | , symbolName = Ident () "selector2" 33 | , typeName = Ident () "DataTypeWithSelectors" 34 | , constructors = [ Ident () "DataTypeWithSelectors" ] 35 | } 36 | , NewType 37 | { symbolModule = ModuleName () "Prelude" 38 | , symbolName = Ident () "Newtype" 39 | } 40 | , Constructor 41 | { symbolModule = ModuleName () "Prelude" 42 | , symbolName = Ident () "Newtype" 43 | , typeName = Ident () "Newtype" 44 | } 45 | , NewType 46 | { symbolModule = ModuleName () "Prelude" 47 | , symbolName = Ident () "NewtypeWithSelectors" 48 | } 49 | , Constructor 50 | { symbolModule = ModuleName () "Prelude" 51 | , symbolName = Ident () "NewtypeWithSelectors" 52 | , typeName = Ident () "NewtypeWithSelectors" 53 | } 54 | , Selector 55 | { symbolModule = ModuleName () "Prelude" 56 | , symbolName = Ident () "unNewtype" 57 | , typeName = Ident () "NewtypeWithSelectors" 58 | , constructors = [ Ident () "NewtypeWithSelectors" ] 59 | } 60 | , Type 61 | { symbolModule = ModuleName () "Prelude" 62 | , symbolName = Ident () "TypeSynonym" 63 | } 64 | , Class 65 | { symbolModule = ModuleName () "Prelude" 66 | , symbolName = Ident () "Class" 67 | } 68 | , Method 69 | { symbolModule = ModuleName () "Prelude" 70 | , symbolName = Ident () "method1" 71 | , className = Ident () "Class" 72 | } 73 | , Method 74 | { symbolModule = ModuleName () "Prelude" 75 | , symbolName = Ident () "method2" 76 | , className = Ident () "Class" 77 | } 78 | , Value 79 | { symbolModule = ModuleName () "Prelude" 80 | , symbolName = Ident () "function" 81 | } 82 | ] -------------------------------------------------------------------------------- /tests/exports/Rec1.hs: -------------------------------------------------------------------------------- 1 | module Rec1 (rec1_1, rec1_2, rec2, rec3) where 2 | 3 | import Rec2 4 | import Rec3 5 | 6 | rec1_1 = rec1_1 7 | rec1_2 = rec1_2 8 | -------------------------------------------------------------------------------- /tests/exports/Rec1.hs.golden: -------------------------------------------------------------------------------- 1 | [ Value 2 | { symbolModule = ModuleName () "Rec1" 3 | , symbolName = Ident () "rec1_1" 4 | } 5 | , Value 6 | { symbolModule = ModuleName () "Rec1" 7 | , symbolName = Ident () "rec1_2" 8 | } 9 | , Value 10 | { symbolModule = ModuleName () "Rec2" 11 | , symbolName = Ident () "rec2" 12 | } 13 | , Value 14 | { symbolModule = ModuleName () "Rec3" 15 | , symbolName = Ident () "rec3" 16 | } 17 | ] -------------------------------------------------------------------------------- /tests/exports/Rec2.hs: -------------------------------------------------------------------------------- 1 | module Rec2 (rec2, rec1_1, rec3) where 2 | 3 | import Rec1 4 | import Rec3 5 | 6 | rec2 = rec2 7 | -------------------------------------------------------------------------------- /tests/exports/Rec2.hs.golden: -------------------------------------------------------------------------------- 1 | [ Value 2 | { symbolModule = ModuleName () "Rec2" 3 | , symbolName = Ident () "rec2" 4 | } 5 | , Value 6 | { symbolModule = ModuleName () "Rec1" 7 | , symbolName = Ident () "rec1_1" 8 | } 9 | , Value 10 | { symbolModule = ModuleName () "Rec3" 11 | , symbolName = Ident () "rec3" 12 | } 13 | ] -------------------------------------------------------------------------------- /tests/exports/Rec3.hs: -------------------------------------------------------------------------------- 1 | module Rec3 (rec1_1, rec1_2, rec3) where 2 | 3 | import Rec2 4 | import Rec1 (rec1_2) 5 | 6 | rec3 = rec3 7 | -------------------------------------------------------------------------------- /tests/exports/Rec3.hs.golden: -------------------------------------------------------------------------------- 1 | [ Value 2 | { symbolModule = ModuleName () "Rec1" 3 | , symbolName = Ident () "rec1_1" 4 | } 5 | , Value 6 | { symbolModule = ModuleName () "Rec1" 7 | , symbolName = Ident () "rec1_2" 8 | } 9 | , Value 10 | { symbolModule = ModuleName () "Rec3" 11 | , symbolName = Ident () "rec3" 12 | } 13 | ] -------------------------------------------------------------------------------- /tests/exports/SelfReExport.hs: -------------------------------------------------------------------------------- 1 | module SelfReExport 2 | -- re-exports Prelude and locally defined entities 3 | ( module Prelude 4 | , module SelfReExport 5 | ) 6 | where 7 | 8 | -- After #31 is resolved, we should be able to replace this with an 9 | -- ImplicitPrelude 10 | import Prelude 11 | 12 | data Local 13 | 14 | local = local 15 | -------------------------------------------------------------------------------- /tests/exports/SimpleData.hs: -------------------------------------------------------------------------------- 1 | module SimpleData where 2 | 3 | data A = A A 4 | -------------------------------------------------------------------------------- /tests/exports/SimpleData.hs.golden: -------------------------------------------------------------------------------- 1 | [ Data 2 | { symbolModule = ModuleName () "SimpleData" 3 | , symbolName = Ident () "A" 4 | } 5 | , Constructor 6 | { symbolModule = ModuleName () "SimpleData" 7 | , symbolName = Ident () "A" 8 | , typeName = Ident () "A" 9 | } 10 | ] -------------------------------------------------------------------------------- /tests/exports/SimpleTypes.hs: -------------------------------------------------------------------------------- 1 | module SimpleTypes where 2 | 3 | data A = B { c :: A } 4 | 5 | newtype G = H A 6 | 7 | type L = G 8 | -------------------------------------------------------------------------------- /tests/exports/SimpleTypes.hs.golden: -------------------------------------------------------------------------------- 1 | [ Data 2 | { symbolModule = ModuleName () "SimpleTypes" 3 | , symbolName = Ident () "A" 4 | } 5 | , Constructor 6 | { symbolModule = ModuleName () "SimpleTypes" 7 | , symbolName = Ident () "B" 8 | , typeName = Ident () "A" 9 | } 10 | , Selector 11 | { symbolModule = ModuleName () "SimpleTypes" 12 | , symbolName = Ident () "c" 13 | , typeName = Ident () "A" 14 | , constructors = [ Ident () "B" ] 15 | } 16 | , NewType 17 | { symbolModule = ModuleName () "SimpleTypes" 18 | , symbolName = Ident () "G" 19 | } 20 | , Constructor 21 | { symbolModule = ModuleName () "SimpleTypes" 22 | , symbolName = Ident () "H" 23 | , typeName = Ident () "G" 24 | } 25 | , Type 26 | { symbolModule = ModuleName () "SimpleTypes" 27 | , symbolName = Ident () "L" 28 | } 29 | ] -------------------------------------------------------------------------------- /tests/exports/SimpleValue.hs: -------------------------------------------------------------------------------- 1 | module SimpleValue where 2 | 3 | a = a 4 | -------------------------------------------------------------------------------- /tests/exports/SimpleValue.hs.golden: -------------------------------------------------------------------------------- 1 | [ Value 2 | { symbolModule = ModuleName () "SimpleValue" 3 | , symbolName = Ident () "a" 4 | } 5 | ] -------------------------------------------------------------------------------- /tests/imports/ExplicitPrelude.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE ImplicitPrelude #-} 2 | module ExplicitPrelude where 3 | 4 | -- explicit Prelude import suppresses implicit one 5 | import Prelude as Foo () 6 | -------------------------------------------------------------------------------- /tests/imports/ExplicitPrelude.hs.golden: -------------------------------------------------------------------------------- 1 | fromList [] -------------------------------------------------------------------------------- /tests/imports/ExplicitPreludeQualified.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE ImplicitPrelude #-} 2 | module ExplicitPreludeQualified where 3 | 4 | -- explicit Prelude import suppresses implicit one 5 | import qualified Prelude 6 | -------------------------------------------------------------------------------- /tests/imports/Hiding.hs: -------------------------------------------------------------------------------- 1 | module Hiding where 2 | 3 | import Prelude hiding 4 | ( selector2 5 | , Constructor1 -- should hide the *data* constructor 6 | , Newtype -- should hide both type and data constructor 7 | , NewtypeWithSelectors(..) -- hides the type and selectors 8 | , Class(method1) -- hides the class and the method 9 | ) 10 | -------------------------------------------------------------------------------- /tests/imports/ImplicitPrelude.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE ImplicitPrelude #-} 2 | module ImplicitPrelude where 3 | 4 | -- implicitly import Prelude 5 | -------------------------------------------------------------------------------- /tests/imports/ImportAll.hs: -------------------------------------------------------------------------------- 1 | module ImportAll where 2 | 3 | import Prelude (Newtype(..)) 4 | 5 | f :: () -> Newtype 6 | f x = Newtype (f ()) 7 | -------------------------------------------------------------------------------- /tests/imports/ImportAll.hs.golden: -------------------------------------------------------------------------------- 1 | fromList 2 | [ ( Qual () (ModuleName () "Prelude") (Ident () "Newtype") 3 | , [ NewType 4 | { symbolModule = ModuleName () "Prelude" 5 | , symbolName = Ident () "Newtype" 6 | } 7 | , Constructor 8 | { symbolModule = ModuleName () "Prelude" 9 | , symbolName = Ident () "Newtype" 10 | , typeName = Ident () "Newtype" 11 | } 12 | ] 13 | ) 14 | , ( UnQual () (Ident () "Newtype") 15 | , [ NewType 16 | { symbolModule = ModuleName () "Prelude" 17 | , symbolName = Ident () "Newtype" 18 | } 19 | , Constructor 20 | { symbolModule = ModuleName () "Prelude" 21 | , symbolName = Ident () "Newtype" 22 | , typeName = Ident () "Newtype" 23 | } 24 | ] 25 | ) 26 | ] -------------------------------------------------------------------------------- /tests/imports/ImportList.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE NoImplicitPrelude #-} 2 | -- here Prelude acts as an ordinary input 3 | module ImportList where 4 | 5 | import Prelude (DataType(..), function, Newtype) 6 | -------------------------------------------------------------------------------- /tests/imports/ImportList.hs.golden: -------------------------------------------------------------------------------- 1 | fromList 2 | [ ( Qual () (ModuleName () "Prelude") (Ident () "Constructor1") 3 | , [ Constructor 4 | { symbolModule = ModuleName () "Prelude" 5 | , symbolName = Ident () "Constructor1" 6 | , typeName = Ident () "DataType" 7 | } 8 | ] 9 | ) 10 | , ( Qual () (ModuleName () "Prelude") (Ident () "Constructor2") 11 | , [ Constructor 12 | { symbolModule = ModuleName () "Prelude" 13 | , symbolName = Ident () "Constructor2" 14 | , typeName = Ident () "DataType" 15 | } 16 | ] 17 | ) 18 | , ( Qual () (ModuleName () "Prelude") (Ident () "DataType") 19 | , [ Data 20 | { symbolModule = ModuleName () "Prelude" 21 | , symbolName = Ident () "DataType" 22 | } 23 | ] 24 | ) 25 | , ( Qual () (ModuleName () "Prelude") (Ident () "Newtype") 26 | , [ NewType 27 | { symbolModule = ModuleName () "Prelude" 28 | , symbolName = Ident () "Newtype" 29 | } 30 | ] 31 | ) 32 | , ( Qual () (ModuleName () "Prelude") (Ident () "function") 33 | , [ Value 34 | { symbolModule = ModuleName () "Prelude" 35 | , symbolName = Ident () "function" 36 | } 37 | ] 38 | ) 39 | , ( UnQual () (Ident () "Constructor1") 40 | , [ Constructor 41 | { symbolModule = ModuleName () "Prelude" 42 | , symbolName = Ident () "Constructor1" 43 | , typeName = Ident () "DataType" 44 | } 45 | ] 46 | ) 47 | , ( UnQual () (Ident () "Constructor2") 48 | , [ Constructor 49 | { symbolModule = ModuleName () "Prelude" 50 | , symbolName = Ident () "Constructor2" 51 | , typeName = Ident () "DataType" 52 | } 53 | ] 54 | ) 55 | , ( UnQual () (Ident () "DataType") 56 | , [ Data 57 | { symbolModule = ModuleName () "Prelude" 58 | , symbolName = Ident () "DataType" 59 | } 60 | ] 61 | ) 62 | , ( UnQual () (Ident () "Newtype") 63 | , [ NewType 64 | { symbolModule = ModuleName () "Prelude" 65 | , symbolName = Ident () "Newtype" 66 | } 67 | ] 68 | ) 69 | , ( UnQual () (Ident () "function") 70 | , [ Value 71 | { symbolModule = ModuleName () "Prelude" 72 | , symbolName = Ident () "function" 73 | } 74 | ] 75 | ) 76 | ] -------------------------------------------------------------------------------- /tests/imports/NoImplicitPrelude.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE NoImplicitPrelude #-} 2 | module NoImplicitPrelude where 3 | 4 | -- don't implicitly import Prelude 5 | -------------------------------------------------------------------------------- /tests/imports/NoImplicitPrelude.hs.golden: -------------------------------------------------------------------------------- 1 | fromList [] -------------------------------------------------------------------------------- /tests/imports/SimpleImport.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE NoImplicitPrelude #-} 2 | -- here Prelude acts as an ordinary input 3 | module SimpleImport where 4 | 5 | import Prelude 6 | -------------------------------------------------------------------------------- /utils/install_base.sh: -------------------------------------------------------------------------------- 1 | cabal install --package-db=../packages.db --haskell-suite -w hs-gen-iface --gcc-option=-I/usr/lib/ghc/include --extra-include-dirs=/usr/lib/ghc/include --solver=topdown --force-reinstalls -v3 -f include-ghc-prim --------------------------------------------------------------------------------