on master help sign in
2 files changed+5−1
since splitsnapshots
unifiedsplit
Data/Syntax.hs+4 syntax.cabal+1−1
Data/Syntax.hs+4
@@ -166,6 +166,10 @@ instance Syntax syn => Syntax (ReaderCT env syn) where
166166 takeWhile1 = clift . takeWhile1
167167 takeTill = clift . takeTill
168168 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
169173
170174-- | Execute a computation in an isolated context.
171175--
syntax.cabal+1−1
@@ -22,7 +22,7 @@ description:
2222 a reader category transformer that tracks current indentation level. I plan on implementing Haskell layout rule in the
2323 future.
2424 .
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.
2626 I will implement them when i have the time (but these category transformers look so much more interesting for now ;).
2727 .
2828 EXAMPLES! See @syntax-example@ and @syntax-example-json@ for examples.