{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeFamilies #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Language.Symantic.Type.Unit where import Language.Symantic.Type.Common -- * Type 'Type_Unit' -- | The @()@ type. type Type_Unit = Type_Type0 () instance -- String_from_Type String_from_Type (Type_Unit root) where string_from_type Type_Type0{} = "()" -- | Convenient alias to include a 'Type_Unit' within a type. type_unit :: Lift_Type_Root Type_Unit root => root () type_unit = type_type0