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