| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.BinP.PosP
Synopsis
- newtype PosP (b :: BinP) = PosP {}
- data PosP' (n :: Nat) (b :: BinP) where
- top :: forall (b :: BinP). SBinPI b => PosP b
- pop :: forall (a :: BinP) (b :: BinP). (SBinPI a, Pred b ~ 'BP a, Succ a ~ b) => PosP a -> PosP b
- explicitShow :: forall (b :: BinP). PosP b -> String
- explicitShow' :: forall (n :: Nat) (b :: BinP). PosP' n b -> String
- explicitShowsPrec :: forall (b :: BinP). Int -> PosP b -> ShowS
- explicitShowsPrec' :: forall (n :: Nat) (b :: BinP). Int -> PosP' n b -> ShowS
- toNatural :: forall (b :: BinP). PosP b -> Natural
- toNatural' :: forall (n :: Nat) (b :: BinP). SNatI n => PosP' n b -> Natural
- boring :: PosP 'BE
- weakenRight1 :: forall (b :: BinP). SBinPI b => PosP b -> PosP (Succ b)
- weakenRight1' :: forall (b :: BinP) (n :: Nat). SBinP b -> PosP' n b -> PosP' n (Succ b)
- universe :: forall (b :: BinP). SBinPI b => [PosP b]
- universe' :: forall (b :: BinP) (n :: Nat). (SNatI n, SBinPI b) => [PosP' n b]
Documentation
newtype PosP (b :: BinP) Source #
Instances
| EqP PosP Source # | Since: 0.1.3 |
| GShow PosP Source # | Since: 0.1.3 |
Defined in Data.BinP.PosP | |
| OrdP PosP Source # | Since: 0.1.3 |
| SBinPI b => Arbitrary (PosP b) Source # | |
| CoArbitrary (PosP b) Source # | |
Defined in Data.BinP.PosP Methods coarbitrary :: PosP b -> Gen b0 -> Gen b0 # | |
| SBinPI b => Function (PosP b) Source # | |
| SBinPI b => Bounded (PosP b) Source # | |
| Show (PosP b) Source # | |
| b ~ 'BE => Boring (PosP b) Source # | Since: 0.1.2 |
Defined in Data.BinP.PosP | |
| NFData (PosP b) Source # | Since: 0.1.2 |
Defined in Data.BinP.PosP | |
| Eq (PosP b) Source # | |
| Ord (PosP b) Source # | |
data PosP' (n :: Nat) (b :: BinP) where Source #
Instances
| SNatI n => GShow (PosP' n :: BinP -> Type) Source # | Since: 0.1.3 |
Defined in Data.BinP.PosP | |
| (SNatI n, SBinPI b) => Arbitrary (PosP' n b) Source # | |
| SNatI n => CoArbitrary (PosP' n b) Source # | |
Defined in Data.BinP.PosP Methods coarbitrary :: PosP' n b -> Gen b0 -> Gen b0 # | |
| (SNatI n, SBinPI b) => Function (PosP' n b) Source # | |
| (SNatI n, SBinPI b) => Bounded (PosP' n b) Source # | |
| SNatI n => Show (PosP' n b) Source # | |
| NFData (PosP' n b) Source # | Since: 0.1.2 |
Defined in Data.BinP.PosP | |
| Eq (PosP' n b) Source # | |
| Ord (PosP' n b) Source # | |
Top & Pop
pop :: forall (a :: BinP) (b :: BinP). (SBinPI a, Pred b ~ 'BP a, Succ a ~ b) => PosP a -> PosP b Source #
See top.