1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00

Add Record to Domain.

This commit is contained in:
Rob Rix 2019-11-04 14:27:12 -05:00
parent d4190ddb17
commit e4caca6f19
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -4,8 +4,9 @@ module Analysis.Domain
import Data.Text (Text)
data Domain
data Domain name a
= Unit
| Bool Bool
| String Text
| Record [(name, a)]
deriving (Eq, Ord, Show)