Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Functions to move to Ouroboros.Network.AnchoredFragment
Synopsis
- intersectWith ∷ HasHeader b ⇒ AnchoredFragment b → [Point b] → Maybe (Point b)
- slotLength ∷ HasHeader blk ⇒ AnchoredFragment blk → Int
Documentation
intersectWith ∷ HasHeader b ⇒ AnchoredFragment b → [Point b] → Maybe (Point b) Source #
Find the first point in the fragment
slotLength ∷ HasHeader blk ⇒ AnchoredFragment blk → Int Source #
The number of slots the fragment spans. This is different from the
length
which is the number of blocks in the fragment.