on master help sign in
Data/Syntax.hs+4
since splitsnapshots
unifiedsplit
@@ -166,6 +166,10 @@ instance Syntax syn => Syntax (ReaderCT env syn) where
166 takeWhile1 = clift . takeWhile1
166 takeWhile1 = clift . takeWhile1
167 takeTill = clift . takeTill
167 takeTill = clift . takeTill
168 takeTill1 = clift . takeTill1
168 takeTill1 = clift . takeTill1
169+ vecN n e = ReaderCT $ vecN n . runReaderCT e
170+ ivecN n e = ReaderCT $ ivecN n . runReaderCT e
171+ uvecN n e = ReaderCT $ uvecN n . runReaderCT e
172+ uivecN n e = ReaderCT $ uivecN n . runReaderCT e
169
173
170-- | Execute a computation in an isolated context.
174-- | Execute a computation in an isolated context.
171--
175--
syntax.cabal+1−1
@@ -22,7 +22,7 @@ description:
22 a reader category transformer that tracks current indentation level. I plan on implementing Haskell layout rule in the
22 a reader category transformer that tracks current indentation level. I plan on implementing Haskell layout rule in the
23 future.
23 future.
24 .
24 .
25− Note that the library can work with both text and binary data. Alas, there are no binary combinators implemented yet.
25+ The library can work with both text and binary data. Alas, there are no binary combinators implemented yet.
26 I will implement them when i have the time (but these category transformers look so much more interesting for now ;).
26 I will implement them when i have the time (but these category transformers look so much more interesting for now ;).
27 .
27 .
28 EXAMPLES! See @syntax-example@ and @syntax-example-json@ for examples.
28 EXAMPLES! See @syntax-example@ and @syntax-example-json@ for examples.