unison-parser-typechecker-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Codebase.Runtime.Profile

Documentation

newtype ProfTrie k a Source #

Constructors

ProfT (Map k (a, ProfTrie k a)) 

Instances

Instances details
Functor (ProfTrie k) Source # 
Instance details

Defined in Unison.Codebase.Runtime.Profile

Methods

fmap :: (a -> b) -> ProfTrie k a -> ProfTrie k b #

(<$) :: a -> ProfTrie k b -> ProfTrie k a #

data Profile k Source #

Constructors

Prof !Int !(ProfTrie k Int) !(Map k Reference) 

data SomeProfile Source #

Constructors

forall k.Ord k => SomeProf (Profile k) 

singlePath :: Ord k => [k] -> (Int, ProfTrie k Int) Source #

addPath :: Ord k => [k] -> ProfTrie k Int -> ProfTrie k Int Source #