Haskell-src-exts has had a monadic wrapper over HughesPJ for a long
time. It is just a Reader (not a transformer) so it can handle user
supplied spacing widths, etc.
On 13 April 2012 06:02, Warren Harris wrote:
>
> Thanks for the suggestions. No sooner did I send my message than I came to
> the
Antoine,
Thanks for the suggestions. No sooner did I send my message than I came to the
same conclusion of creating a monadic version of the combinators to simplify
the migration. It actually worked out fairly well -- most of the code ported
over to the monadic version unaltered. The only excep
On Thu, Apr 12, 2012 at 6:22 PM, Antoine Latter wrote:
> Hi Warren,
>
> On Thu, Apr 12, 2012 at 6:31 PM, Warren Harris
> wrote:
>> I wrote a parsec parser that does symbols lookups during the parsing process
>> (ParsecT String Store IO a). Now I'd like to write a pretty printer that
>> does th
Hi Warren,
On Thu, Apr 12, 2012 at 6:31 PM, Warren Harris wrote:
> I wrote a parsec parser that does symbols lookups during the parsing process
> (ParsecT String Store IO a). Now I'd like to write a pretty printer that does
> the reverse. Unfortunately there doesn't appear to be a transformer v
I wrote a parsec parser that does symbols lookups during the parsing process
(ParsecT String Store IO a). Now I'd like to write a pretty printer that does
the reverse. Unfortunately there doesn't appear to be a transformer version of
Text.PrettyPrint.HughesPJ. Can anyone suggest a way to do this