1
1
mirror of https://github.com/github/semantic.git synced 2025-01-01 19:55:34 +03:00

Define a binary tree datatype.

This commit is contained in:
Rob Rix 2018-10-23 16:46:06 -04:00
parent 88a116cedc
commit 448c6e03ec

View File

@ -147,6 +147,9 @@ caching
. raiseHandler (runReader lowerBound)
. raiseHandler runNonDet
data B a = B (B a) (B a) | L a | E
deriving (Foldable, Functor, Traversable)
-- | A map of 'Configuration's to 'Set's of resulting values & 'Heap's.
newtype Cache term address = Cache { unCache :: Monoidal.Map (Configuration term address) (Set (ValueRef address)) }