packages feed

tilia-0.2.0.0: corpora/vendored/haddock/placement/haddock-on-an-infix-constructor.hs

module Circuit.Wire where

data Wire
  = Cable Int
  | -- | Two wires in series.
    Wire :-> Wire
  | -- | Two wires side by side.
    Wire :|| Wire

data Edge = Int :-: Int -- ^ A wire between two pins.

data Reading
  = Double -- ^ The voltage.
    :@ -- ^ A voltage read at a time.
    Int -- ^ The time, in milliseconds.