mirror of
https://github.com/github/semantic.git
synced 2025-01-03 04:51:57 +03:00
📝 the methods in AbstractValue.
This commit is contained in:
parent
09ed71177c
commit
8e3a14ce4d
@ -83,9 +83,16 @@ class ValueRoots l v | v -> l where
|
|||||||
|
|
||||||
-- | An interface for constructing abstract values.
|
-- | An interface for constructing abstract values.
|
||||||
class AbstractValue v where
|
class AbstractValue v where
|
||||||
|
-- | Construct an abstract unit value.
|
||||||
unit :: v
|
unit :: v
|
||||||
|
|
||||||
|
-- | Construct an abstract integral value.
|
||||||
integer :: Prelude.Integer -> v
|
integer :: Prelude.Integer -> v
|
||||||
|
|
||||||
|
-- | Construct an abstract boolean value.
|
||||||
boolean :: Bool -> v
|
boolean :: Bool -> v
|
||||||
|
|
||||||
|
-- | Construct an abstract string value.
|
||||||
string :: ByteString -> v
|
string :: ByteString -> v
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user