Re: [Haskell-cafe] GHC API question: Getting access to cpp processed source

2013-09-11 Thread AlanKim Zimmerman
Thanks for the reference, but GHC already invokes the CPP. I think I am going to have to invoke a load of the module with ghc flags set to keep the output of the CPP phase, and then re-invoke it on that output to get the tokens. My question is more whether this CPP output can be kept in the GHC

[Haskell-cafe] Readable GHC 7.6.3 docs (Bootstrapped)

2013-09-11 Thread Obscaenvs
At [1] you can find links to the GHC documentation that I use myself, since the official version is a bit too TimesNewRoman-y for my ...developed taste. It available in a downloadable Bzipped TAR aswell as being browsable online. [1] http://bugthunk.net/ /fredrik

Re: [Haskell-cafe] Readable GHC 7.6.3 docs (Bootstrapped)

2013-09-11 Thread Niklas Hambüchen
Looks pleasing! I have one feature request: Could you make headings links, or add anchors next to them (github readme style), such that I can directly share what I'm reading with people? On Wed 11 Sep 2013 20:31:30 JST, Obscaenvs wrote: At [1] you can find links to the GHC documentation that

Re: [Haskell-cafe] GHC API + Cabal API + Cabal version checks: is there a way out?

2013-09-11 Thread Yuri de Wit
That is a good point. I am usually there in #ghc with nickname lemao. Niklas is nh2 afaik. On Sat, Sep 7, 2013 at 7:17 AM, Niklas Hambüchen m...@nh2.me wrote: Would you mind hanging around in #ghc when working on it? A few people found this interesting, so this might be useful to avoid

Re: [Haskell-cafe] Readable GHC 7.6.3 docs (Bootstrapped)

2013-09-11 Thread Twan van Laarhoven
Why does every section have a title=1.2.3 foo on the outer div? In Firefox this shows up as a useless tooltip when moving the mouse over the text. On 11/09/13 13:31, Obscaenvs wrote: At [1] you can find links to the GHC documentation that I use myself, since the official version is a bit too

Re: [Haskell-cafe] Readable GHC 7.6.3 docs (Bootstrapped)

2013-09-11 Thread Oliver Charles
On 09/11/2013 03:45 PM, Twan van Laarhoven wrote: Why does every section have a title=1.2.3 foo on the outer div? In Firefox this shows up as a useless tooltip when moving the mouse over the text. That's the same with the official document. I think it's a feature of whatever tool is used to

[Haskell-cafe] Monomorphic containers, Functor/Foldable/Traversable WAS: mapM_ for bytestring

2013-09-11 Thread Michael Snoyman
That's really funny timing. I started work on a very similar project just this week: https://github.com/snoyberg/mono-traversable It's not refined yet, which is why I haven't discussed it too publicly, but it's probably at the point where some review would make sense. There's been a bit of a

Re: [Haskell-cafe] Readable GHC 7.6.3 docs (Bootstrapped)

2013-09-11 Thread Albert Y. C. Lai
On 13-09-11 07:31 AM, Obscaenvs wrote: since the official version is a bit too TimesNewRoman-y for my ...developed taste. I question that. Is it the official CSS, or is it your own browser setting? I see no TimesNewRoman-y here. The official version in my Firefox (Ubuntu 13.04 Desktop):

Re: [Haskell-cafe] Monomorphic containers, Functor/Foldable/Traversable WAS: mapM_ for bytestring

2013-09-11 Thread John Lato
I didn't see this message and replied privately to Michael earlier, so I'm replicating my comments here. 1. Sooner or later I expect you'll want something like this: class LooseMap c el el' where lMap :: (el - el') - c el - c el' It covers the case of things like hashmaps/unboxed vectors

[Haskell-cafe] Haskell Weekly News: Issue 279

2013-09-11 Thread Daniel Santa Cruz
Welcome to issue 279 of the HWN, an issue covering crowd-sourced bits of information about Haskell from around the web. This issue covers the week of August 25 to September 7, 2013. Quotes of the Week * dmwit: I typically figure a parse error on line 500 means I have 500 lines to

[Haskell-cafe] ANNOUNCE: HDBI-1.1.1 and friends

2013-09-11 Thread Alexey Uimanov
Hello, haskellers! I am glad to announce new tested version of HDBI-1.1.1 (Haskell Database Independent interface). Now it becomes much more databae-independent than before because of SQlite3 driver in addition to PostrgreSQL driver. What changed from version 1.0.0: 1. removed `affectedRows`