aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz/Circuit/Base.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/VeriFuzz/Circuit/Base.hs')
-rw-r--r--src/VeriFuzz/Circuit/Base.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/VeriFuzz/Circuit/Base.hs b/src/VeriFuzz/Circuit/Base.hs
index 6b9f725..ed63105 100644
--- a/src/VeriFuzz/Circuit/Base.hs
+++ b/src/VeriFuzz/Circuit/Base.hs
@@ -30,8 +30,10 @@ data Gate = And
-- | Newtype for the Circuit which implements a Graph from fgl.
newtype Circuit = Circuit { getCircuit :: Gr Gate () }
+-- | Newtype for a node in the circuit, which is an 'LNode Gate'.
newtype CNode = CNode { getCNode :: LNode Gate }
+-- | Newtype for a named edge which is empty, as it does not need a label.
newtype CEdge = CEdge { getCEdge :: LEdge () }
instance Random Gate where