ghc-mod-5.8.0.0: Happy Haskell Hacking

Safe HaskellNone
LanguageHaskell2010

GhcMod.Exe.Find

Contents

Synopsis

Documentation

type Symbol = ByteString Source #

Type of function and operation names.

data SymbolDb Source #

Database from Symbol to \['ModuleString'\].

Instances

Generic SymbolDb Source # 

Associated Types

type Rep SymbolDb :: * -> * #

Methods

from :: SymbolDb -> Rep SymbolDb x #

to :: Rep SymbolDb x -> SymbolDb #

Binary SymbolDb Source # 

Methods

put :: SymbolDb -> Put #

get :: Get SymbolDb #

putList :: [SymbolDb] -> Put #

NFData SymbolDb Source # 

Methods

rnf :: SymbolDb -> () #

type Rep SymbolDb Source # 

loadSymbolDb :: IOish m => GhcModT m SymbolDb Source #

Loading a file and creates SymbolDb.

lookupSymbol :: IOish m => String -> SymbolDb -> GhcModT m String Source #

Looking up SymbolDb with Symbol to \['ModuleString'\] which will be concatenated.

dumpSymbol :: IOish m => GhcModT m () Source #

Dumps a Binary representation of SymbolDb to stdout

findSymbol :: IOish m => String -> GhcModT m String Source #

Looking up SymbolDb with Symbol to \['ModuleString'\] which will be concatenated. loadSymbolDb is called internally.

Load SymbolDb asynchronously