Skip to content

Commit

Permalink
Re-export internal TH functions
Browse files Browse the repository at this point in the history
- `unitsTupleInstances`
- `taggedBundleTupleInstances`
  • Loading branch information
lmbollen committed Sep 30, 2024
1 parent ccd296f commit e5a047a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
10 changes: 9 additions & 1 deletion clash-protocols-base/src/Protocols/Plugin/TaggedBundle.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@
-- For debugging TH:
-- {-# OPTIONS_GHC -ddump-splices #-}

module Protocols.Plugin.TaggedBundle where
module Protocols.Plugin.TaggedBundle
(
-- * Typeclasses
TaggedBundle (..),
pattern TaggedBundle,

-- * Template haskell functions
taggedBundleTupleInstances,
) where

import Clash.Explicit.Prelude

Expand Down
9 changes: 8 additions & 1 deletion clash-protocols-base/src/Protocols/Plugin/Units.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
-- For debugging TH:
-- {-# OPTIONS_GHC -ddump-splices #-}

module Protocols.Plugin.Units where
module Protocols.Plugin.Units
( -- * Typeclasses
Units(..)

-- * Template haskell functions
, unitsTupleInstances
)
where

import Clash.Explicit.Prelude

Expand Down

0 comments on commit e5a047a

Please sign in to comment.