1 {-# LANGUAGE FlexibleContexts #-}
2 {-# LANGUAGE FlexibleInstances #-}
3 {-# LANGUAGE PatternSynonyms #-}
4 {-# LANGUAGE ScopedTypeVariables #-}
5 {-# LANGUAGE TypeFamilies #-}
6 {-# OPTIONS_GHC -fno-warn-orphans #-}
7 module Language.Symantic.Type.Bool where
10 import Language.Symantic.Type.Root
11 import Language.Symantic.Type.Type0
15 type Type_Bool = Type_Type0 (Proxy Bool)
17 pattern Type_Bool :: Type_Bool root Bool
18 pattern Type_Bool = Type_Type0 Proxy
20 instance -- String_from_Type
21 String_from_Type (Type_Bool root) where
22 string_from_type _ = "Bool"
24 -- | Inject 'Type_Bool' within a root type.
25 type_bool :: Lift_Type_Root Type_Bool root => root Bool
26 type_bool = type_type0