1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

📝 the methods in AbstractValue.

This commit is contained in:
Rob Rix 2017-12-21 09:49:01 -05:00
parent 09ed71177c
commit 8e3a14ce4d

View File

@ -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