{-# LANGUAGE DataKinds #-}
{-# LANGUAGE ExplicitForAll #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE TypeOperators #-}
module Clash.Magic where
import Clash.NamedTypes ((:::))
import GHC.TypeLits (Symbol)
prefixName
:: forall (name :: Symbol) a . a -> name ::: a
prefixName :: a -> a
prefixName = a -> a
forall a. a -> a
id
{-# NOINLINE prefixName #-}
suffixName
:: forall (name :: Symbol) a . a -> name ::: a
suffixName :: a -> a
suffixName = a -> a
forall a. a -> a
id
{-# NOINLINE suffixName #-}
setName
:: forall (name :: Symbol) a . a -> name ::: a
setName :: a -> a
setName = a -> a
forall a. a -> a
id
{-# NOINLINE setName #-}