mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +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.
|
||||
class AbstractValue v where
|
||||
-- | Construct an abstract unit value.
|
||||
unit :: v
|
||||
|
||||
-- | Construct an abstract integral value.
|
||||
integer :: Prelude.Integer -> v
|
||||
|
||||
-- | Construct an abstract boolean value.
|
||||
boolean :: Bool -> v
|
||||
|
||||
-- | Construct an abstract string value.
|
||||
string :: ByteString -> v
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user