]> Git — Sourcephile - haskell/symantic.git/blob - Language/Symantic/Type/Ordering.hs
init
[haskell/symantic.git] / Language / Symantic / Type / Ordering.hs
1 {-# LANGUAGE FlexibleContexts #-}
2 {-# LANGUAGE FlexibleInstances #-}
3 {-# LANGUAGE TypeFamilies #-}
4 {-# OPTIONS_GHC -fno-warn-orphans #-}
5 module Language.Symantic.Type.Ordering where
6
7 import Language.Symantic.Type.Common
8
9 -- * Type 'Type_Ordering'
10 -- | The 'Ordering' type.
11 type Type_Ordering = Type_Type0 Ordering
12
13 instance -- String_from_Type
14 String_from_Type (Type_Ordering root) where
15 string_from_type _ = "Ordering"
16
17 -- | Convenient alias to include a 'Type_Ordering' within a type.
18 type_ordering :: Lift_Type_Root Type_Ordering root => root Ordering
19 type_ordering = type_type0