Safe Haskell | None |
---|---|
Language | Haskell2010 |
Point
index structures are used for left- and right-linear grammars.
Such grammars have at most one syntactic symbol on each r.h.s. of a rule.
The syntactic symbol needs to be in an outermost position.
- newtype PointL t = PointL {
- fromPointL :: Int
- pointLI :: Int -> PointL I
- pointLO :: Int -> PointL O
- pointLC :: Int -> PointL C
- newtype PointR t = PointR {
- fromPointR :: Int
- data SP z = SP !z !Int#
- streamUpMk :: Monad m => Int -> z -> m (SP z)
- streamUpStep :: Monad m => Int -> SP z -> m (Step (SP z) ((:.) z (PointL t)))
- streamDownMk :: Monad m => Int -> z -> m (SP z)
- streamDownStep :: Monad m => Int -> SP z -> m (Step (SP z) ((:.) z (PointL t)))
Documentation
A point in a left-linear grammar. The syntactic symbol is in left-most position.
PointL | |
|
Monad m => Serial m (PointL t) Source # | |
Vector Vector (PointL t0) Source # | |
MVector MVector (PointL t0) Source # | |
Eq (PointL t) Source # | |
Ord (PointL t) Source # | |
Read (PointL t) Source # | |
Show (PointL t) Source # | |
Generic (PointL t) Source # | |
Arbitrary (PointL t) Source # | |
Hashable (PointL t) Source # | |
ToJSON (PointL t) Source # | |
ToJSONKey (PointL t) Source # | |
FromJSON (PointL t) Source # | |
FromJSONKey (PointL t) Source # | |
Binary (PointL t) Source # | |
Serialize (PointL t) Source # | |
NFData (PointL t) Source # | |
Unbox (PointL t0) Source # | |
IndexStream ((:.) Z (PointL t)) => IndexStream (PointL t) Source # | |
Index (PointL t) Source # | |
IndexStream z => IndexStream ((:.) z (PointL C)) Source # | |
IndexStream z => IndexStream ((:.) z (PointL O)) Source # | |
IndexStream z => IndexStream ((:.) z (PointL I)) Source # | |
data MVector s (PointL t0) Source # | |
type Rep (PointL t) Source # | |
data Vector (PointL t0) Source # | |
A point in a right-linear grammars.
PointR | |
|
Vector Vector (PointR t0) Source # | |
MVector MVector (PointR t0) Source # | |
Eq (PointR t) Source # | |
Ord (PointR t) Source # | |
Read (PointR t) Source # | |
Show (PointR t) Source # | |
Generic (PointR t) Source # | |
Hashable (PointR t) Source # | |
ToJSON (PointR t) Source # | |
FromJSON (PointR t) Source # | |
Binary (PointR t) Source # | |
Serialize (PointR t) Source # | |
NFData (PointR t) Source # | |
Unbox (PointR t0) Source # | |
Index (PointR t) Source # | |
data MVector s (PointR t0) Source # | |
type Rep (PointR t) Source # | |
data Vector (PointR t0) Source # | |