1 {-# LANGUAGE FlexibleContexts #-}
2 {-# LANGUAGE FlexibleInstances #-}
3 {-# LANGUAGE ScopedTypeVariables #-}
4 {-# LANGUAGE TypeFamilies #-}
5 {-# OPTIONS_GHC -fno-warn-orphans #-}
6 module Language.Symantic.Type.Int where
8 import Language.Symantic.Type.Common
12 type Type_Int = Type_Type0 Int
14 instance -- String_from_Type
15 String_from_Type (Type_Int root) where
16 string_from_type _ = "Int"
18 -- | Convenient alias to include a 'Type_Int' within a type.
19 type_int :: Lift_Type_Root Type_Int root => root Int