mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
Add Record to Domain.
This commit is contained in:
parent
d4190ddb17
commit
e4caca6f19
@ -4,8 +4,9 @@ module Analysis.Domain
|
|||||||
|
|
||||||
import Data.Text (Text)
|
import Data.Text (Text)
|
||||||
|
|
||||||
data Domain
|
data Domain name a
|
||||||
= Unit
|
= Unit
|
||||||
| Bool Bool
|
| Bool Bool
|
||||||
| String Text
|
| String Text
|
||||||
|
| Record [(name, a)]
|
||||||
deriving (Eq, Ord, Show)
|
deriving (Eq, Ord, Show)
|
||||||
|
Loading…
Reference in New Issue
Block a user