Annotations

2013-11-06 Thread Simon Peyton-Jones
I've just noticed that there is no GHC language extension for annotations http://www.haskell.org/ghc/docs/latest/html/users_guide/extending-ghc.html#annotation-pragmas That feels like an oversight. Yes, they are in a pragma, but you may get an error message if you compile with a stage-1 compiler,

Re: Annotations

2013-11-06 Thread Gergely Risko
On Wed, 6 Nov 2013 10:55:09 +, Simon Peyton-Jones simo...@microsoft.com writes: I’m inclined to add a language extension “Annotations”. · Without it {-# ANN … #-} pragmas are ignored as comments · With it, they are treated as annotations Do you agree? I generally agree that this

RE: Annotations

2013-11-06 Thread Simon Peyton-Jones
| My only worry is around the just implemented TH additions regarding | annotations. I don't clearly see what would happen if: | - a TH library exports a function that generates annotations when | spliced. | - and the user uses this function in a .hs file, | - without specifying the

Re: Annotations

2013-11-06 Thread Edward A Kmett
Currently, in all the cases I can think of if the splice generates something that uses an extension then the module must have that flag turned on. Sent from my iPhone On Nov 6, 2013, at 6:57 AM, Gergely Risko gerg...@risko.hu wrote: On Wed, 6 Nov 2013 10:55:09 +, Simon Peyton-Jones

Re: love for hpc?

2013-11-06 Thread Carter Schonwald
Evan, if you want to get involved in working on HPC, go for it! theres many many pieces of ghc that need more proactive ownership. i should probably use HPC a bit as i start getting my numerical libs out, and i'm sure future me will appreciate current you working on making it better -Carter

Re: love for hpc?

2013-11-06 Thread Roman Cheplyaka
So Evan's prediction was accurate ;-) * Carter Schonwald carter.schonw...@gmail.com [2013-11-07 00:29:24-0500] Evan, if you want to get involved in working on HPC, go for it! theres many many pieces of ghc that need more proactive ownership. i should probably use HPC a bit as i start

[Haskell] Haskell Weekly News: Issue 285

2013-11-06 Thread Daniel Santa Cruz
Welcome to issue 285 of the HWN, an issue covering crowd-sourced bits of information about Haskell from around the web. This issue covers the weeks of October 20 to November 02, 2013. Quotes of the Week * roconnor: edwardk: is comonad Haskell 1.4? I liked Haskell 1.4. * Peaker: Don't