ligo/tools/lsp/squirrel/src/Lattice.hs
2020-08-11 12:32:00 +04:00

15 lines
252 B
Haskell

module Lattice
( Lattice(..)
)
where
-- | A range should have this property to be used for navigation.
class Lattice l where
(?>) :: l -> l -> Bool
(<?) :: l -> l -> Bool
(?>) = flip (<?)
(<?) = flip (?>)
{-# minimal (?>) | (<?) #-}