singletons-2.3: tests/compile-and-dump/Singletons/T172.hs
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
module T172 where
import Data.Singletons.Prelude
import Data.Singletons.TH
import Data.Singletons.TypeLits
$(singletonsOnly [d|
($>) :: Nat -> Nat -> Nat
($>) = (+)
|])