{-# OPTIONS_GHC -Wno-unused-imports #-}
module GHC.TypeLits.KnownNat.TH where
import GHC.TypeLits (Symbol)
import Language.Haskell.TH (Name, TypeQ, litT, strTyLit)
nameToSymbol :: Name -> TypeQ
nameToSymbol :: Name -> TypeQ
nameToSymbol = TyLitQ -> TypeQ
litT (TyLitQ -> TypeQ) -> (Name -> TyLitQ) -> Name -> TypeQ
forall b c a. (b -> c) -> (a -> b) -> a -> c
. String -> TyLitQ
strTyLit (String -> TyLitQ) -> (Name -> String) -> Name -> TyLitQ
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Name -> String
forall a. Show a => a -> String
show