Re: [GHC] #4362: error in multithreaded program epollControl: does not exist (No such file or directory)

2010-12-04 Thread GHC
#4362: error in multithreaded program epollControl: does not exist (No such file or directory) --+- Reporter: guest| Owner: Type: bug |

Re: [GHC] #3165: :history throws Irrefutable pattern failed exception

2010-12-04 Thread GHC
#3165: :history throws Irrefutable pattern failed exception ---+ Reporter: greenrd | Owner: Type: bug | Status: patch Priority: normal| Milestone: 7.2.1

Re: [GHC] #4362: error in multithreaded program epollControl: does not exist (No such file or directory)

2010-12-04 Thread GHC
#4362: error in multithreaded program epollControl: does not exist (No such file or directory) --+- Reporter: guest| Owner: Type: bug |

Re: [GHC] #4809: MonoLocalBinds and type classes cause infinite loop

2010-12-04 Thread GHC
#4809: MonoLocalBinds and type classes cause infinite loop -+-- Reporter: JeremyShaw| Owner: Type: bug | Status: new

[GHC] #4816: DeriveFunctor should not require a functor instance for functorial data types used invariantly

2010-12-04 Thread GHC
#4816: DeriveFunctor should not require a functor instance for functorial data types used invariantly -+-- Reporter: batterseapower| Owner: Type: bug | Status: new

Re: [GHC] #4163: Make cross-compilation work

2010-12-04 Thread GHC
#4163: Make cross-compilation work -+-- Reporter: simonmar |Owner: Type: task | Status: new Priority: high |

Re: New codegen failing test-cases

2010-12-04 Thread Edward Z. Yang
I get the same error for the other branch too. Cheers, Edward ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: New codegen failing test-cases

2010-12-04 Thread Edward Z. Yang
When I revert the PArr - ParallelArray changes in those directories, I then get: ghc-stage1: panic! (the 'impossible' happened) (GHC version 7.1.20101126 for i386-unknown-linux): match_co Cheers, Edward ___ Glasgow-haskell-users mailing list

Re: New codegen failing test-cases

2010-12-04 Thread Brent Yorgey
On Sat, Dec 04, 2010 at 03:44:33PM +1100, David Terei wrote: There is also a branch now though at http://darcs.haskell.org/ghc-new-co-17Nov10/ which I'm not sure what it relates to, so check that out as well or wait for someone who knows for sure to respond. This branch contains a

Re: New codegen failing test-cases

2010-12-04 Thread Edward Z. Yang
Oh, that explains the co error! Thanks a bunch. Cheers, Edward ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: [Haskell] haskell.org migration complete

2010-12-04 Thread Ian Lynagh
On Thu, Dec 02, 2010 at 12:58:34PM +0300, kyra wrote: Now we have neither http://haskell.org/ghc/dist/current nor http://haskell.org/ghc/dist/stable. Ta, fixed. Thanks Ian ___ Haskell mailing list Haskell@haskell.org

Re: [Haskell] haskell.org migration complete

2010-12-04 Thread Ian Lynagh
On Fri, Dec 03, 2010 at 12:48:58AM +0100, Claus Reinke wrote: The haskell.org server migration is now complete. Please let us know if you have any problems. Beginning this week, the majority of mails from haskell.org lists seem to end up in my ISP's spam filter. Legitimate list mails, rather

Re: [Haskell] haskell.org migration complete

2010-12-04 Thread Ian Lynagh
On Thu, Dec 02, 2010 at 09:09:20AM +0100, David Virebayre wrote: The gtk2hs homepage isn't accessible now : http://www.haskell.org/gtk2hs These pages will need to be moved to the commnuity server. Please let us know if you'd like us to set up HTTP redirects on www. Thanks Ian

Re: [Haskell-cafe] regex libraries: matching operators (=~) and (=~~) are not methods

2010-12-04 Thread José Romildo Malaquias
On Tue, Nov 30, 2010 at 05:50:02PM -0200, José Romildo Malaquias wrote: Hello. When learning how to use the many regular expression libraries for Haskell, I noticed that the interface API from the regex-base package introduces several high level operations that are abstracted from the

Re: [Haskell-cafe] Out of memory if compiled with -O2, why?

2010-12-04 Thread Bulat Ziganshin
Hello Jason, Wednesday, December 1, 2010, 8:54:58 PM, you wrote: I'm using ghc7 here.  If I run your program with -O2, it takes 1943 MB of memory max. If I comment out everything except g then with -O2 it takes 1521 MB. I'm not sure where the extra 400 MB of memory are going. i think,

Re: [Haskell-cafe] Wondering if this could be done.

2010-12-04 Thread Henning Thielemann
On 22 November 2010 07:48, Magicloud Magiclouds magicloud.magiclo...@gmail.com mailto:magicloud.magiclo...@gmail.com wrote: Hi, For example, I have a data A defined. Then I want to add (+) and (-) operators to it, as a sugar (compared to addA/minusA). But * or other stuff

Re: [Haskell-cafe] Reduceron: reduced to numbers.

2010-12-04 Thread Henning Thielemann
Serguey Zefirov schrieb: Of course, Reduceron in ASIC will require some cache memory, some controllers, etc. So it won't be that small, like 230K transistors. But, mzke it 2.3M transistors and it still be 2 orders of magnitude less than Core2 Duo... ;) Cool! Do you have plans how it can be

Re: [Haskell-cafe] Wondering if this could be done.

2010-12-04 Thread Sebastian Fischer
On Mon, 2010-11-22 at 14:48 +0800, Magicloud Magiclouds wrote: (+) :: A - A - A (+) a b = A (elem1 a + elem1 b) (elem2 a + elem2 b) -- I got errors here, for the (+) is ambiguous. That's because (+) is implicitly imported from the Prelude. If you import Prelude hiding ((+)) the error

Re: [Haskell-cafe] Safer common subexpression elimination

2010-12-04 Thread Henning Thielemann
Joachim Breitner schrieb: Hi, although semantically it could, ghc does not do common subexpression elimination (CSE), at least not in every case. The canonical example where it would be bad is the function (with div to avoid numerical casting): avg :: [Int] - Int avg n = (sum [0..n]

Re: [Haskell-cafe] Safer common subexpression elimination

2010-12-04 Thread Joachim Breitner
Hello Henning, Am Samstag, den 04.12.2010, 12:41 +0100 schrieb Henning Thielemann: Joachim Breitner schrieb: Now consider the program: avg' :: [Int] - (Int, Int) avg' n = (sum [0..n] `div` length [0..n], length [0..n]) It think this is not typecorrect, since 'n' denotes a list and

Re: [Haskell-cafe] Reduceron: reduced to numbers.

2010-12-04 Thread Serguey Zefirov
2010/12/4 Henning Thielemann schlepp...@henning-thielemann.de: Serguey Zefirov schrieb: Of course, Reduceron in ASIC will require some cache memory, some controllers, etc. So it won't be that small, like 230K transistors. But, mzke it 2.3M transistors and it still be 2 orders of magnitude

[Haskell-cafe] OverloadedStrings mixed with type classes leads to boilerplate type signatures

2010-12-04 Thread Johan Tibell
Hi, I'm trying to generalize my string substitution library (http://hackage.haskell.org/package/template) to allow users to provide different kinds of key/value mappings (e.g. functions and association lists) for filling in the placeholders in a template. Here are two examples I'd like to work:

[Haskell-cafe] Hackage down?

2010-12-04 Thread Ozgur Akgun
http://downforeveryoneorjustme.com/http://hackage.haskell.org -- Ozgur Akgun ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Hackage down?

2010-12-04 Thread Ross Paterson
On Sat, Dec 04, 2010 at 02:01:44PM +, Ozgur Akgun wrote: http://downforeveryoneorjustme.com/http://hackage.haskell.org Apparently {darcs,hackage}.haskell.org is out for the day -- announced on Reddit but not here. ___ Haskell-Cafe mailing list

[Haskell-cafe] Offer to mirror Hackage

2010-12-04 Thread Dan Knapp
With Hackage down, now seemed like a good time to push this issue again. It's such an important site to us that it's really rather a shame there are no mirrors of it. I have a personal-and-business server in a data center in Newark, with a fair chunk of bandwidth, which I'd like to offer for a

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-04 Thread Jake McArthur
I am no decision maker regarding Hackage, but I would like to echo my support for this offer. Hackage is a vital part of my workflow, and I'm sure I'm not the only one. Its importance to the Haskell community has grown quickly and is continuing to do so. Each time it goes down, the impact is

Re: [Haskell-cafe] getErrorStatus in HXT

2010-12-04 Thread Uwe Schmidt
Hi Tobias, I have some problems with the error processing in HXT. Here is a trivial example: e - runX (transformDoc [] someRules src dst) transformDoc cfg rules src dst = configSysVars cfg readDocument [] src rules -- some transformations writeDocument [] dst

Re: [Haskell-cafe] Hackage down?

2010-12-04 Thread Antoine Latter
Thanks, Ross. Here's a Reddit post: http://www.reddit.com/r/haskell/comments/efw38/reminder_hackagehaskellorg_outage_tomorrow_due_to/ Antoine On Sat, Dec 4, 2010 at 8:20 AM, Ross Paterson r...@soi.city.ac.uk wrote: On Sat, Dec 04, 2010 at 02:01:44PM +, Ozgur Akgun wrote:

Re: [Haskell-cafe] getErrorStatus in HXT

2010-12-04 Thread Tobias Schoofs
Hi Uwe, thanks a lot for the clarification! Indeed, I was a bit confused since all other concepts in HXT are straight forward and easy to grasp. When is the release of hxt-9.1 on hackage expected? On 12/04/2010 05:49 PM, Uwe Schmidt wrote: Hi Tobias, I have some problems with the

Re: [Haskell-cafe] Hackage down?

2010-12-04 Thread aditya siram
What the heck does a full torque of the electrical bus riser mean? Don't get me wrong, it sounds badass. -deech On Sat, Dec 4, 2010 at 12:03 PM, Antoine Latter aslat...@gmail.com wrote: Thanks, Ross. Here's a Reddit post:

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-04 Thread Ozgur Akgun
This is a very generous offer. However, I must say I like the following idea more: http://www.reddit.com/r/haskell/comments/efw38/reminder_hackagehaskellorg_outage_tomorrow_due_to/c17u7nk On 4 December 2010 16:31, Dan Knapp dan...@gmail.com wrote: With Hackage down, now seemed like a good time

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-04 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/24/10 20:59 , John D. Ramsdell wrote: Due to a security concern, GHC 7.0.1 disables all runtime flags unless a new flag is provided during linking. Since limiting memory usage is so important, many developers will modify their cabal files to

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-04 Thread Edward Z. Yang
Excerpts from Brandon S Allbery KF8NH's message of Sat Dec 04 13:42:48 -0500 2010: We went over this some time back; the GHC runtime is wrong here, it should only disable flags when running with geteuid() == 0. Also, the current mechanism for specifying runtime flags at compile time is

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-04 Thread Riad S. Wahby
Ozgur Akgun ozgurak...@gmail.com wrote: This is a very generous offer. However, I must say I like the following idea more: http://www.reddit.com/r/haskell/comments/efw38/ reminder_hackagehaskellorg_outage_tomorrow_due_to/c17u7nk I'd support this, but I'm strongly in favor of the use of

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-04 Thread Riad S. Wahby
Edward Z. Yang ezy...@mit.edu wrote: There are many setuid binaries to non-root users, so getuid() != geteuid() would probably make more sense, though I'm not 100% it has all the correct security properties. Might as well throw in getegid() != getgid() for good measure. Another issue with

Re: [Haskell-cafe] Safer common subexpression elimination

2010-12-04 Thread Henning Thielemann
Joachim Breitner schrieb: Am Samstag, den 04.12.2010, 12:41 +0100 schrieb Henning Thielemann: Joachim Breitner schrieb: Now consider the program: avg' :: [Int] - (Int, Int) avg' n = (sum [0..n] `div` length [0..n], length [0..n]) It think this is not typecorrect, since 'n' denotes a list

[Haskell-cafe] Data.Typeable TypeRep Ord instance.

2010-12-04 Thread Serguey Zefirov
Why TypeRep does have equality and doesn't have ordering? It would be good to have that. Right now when I have to order two type representations I convert them to string and then compare. This is somewhat inefficient and not quite straightforward. ___

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-04 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/4/10 14:35 , Riad S. Wahby wrote: Edward Z. Yang ezy...@mit.edu wrote: There are many setuid binaries to non-root users, so getuid() != geteuid() would probably make more sense, though I'm not 100% it has all the correct security properties.

Re: [Haskell-cafe] Data.Typeable TypeRep Ord instance.

2010-12-04 Thread Tianyi Cui
Why should they? You can compare them in whatever way you like. And there isn't a natural/inherent sense of total order between types. On Sun, Dec 5, 2010 at 6:08 AM, Serguey Zefirov sergu...@gmail.com wrote: Why TypeRep does have equality and doesn't have ordering? It would be good to have

[Haskell-cafe] the beginning of the end (was: Hackage down?)

2010-12-04 Thread Albert Y. C. Lai
On 10-12-04 01:03 PM, Antoine Latter wrote: Here's a Reddit post: http://www.reddit.com/r/haskell/comments/efw38/reminder_hackagehaskellorg_outage_tomorrow_due_to/ This is the second consecutive time a planned downtime is not announced on either mailing lists. This seems to me planned

Re: [Haskell-cafe] Data.Typeable TypeRep Ord instance.

2010-12-04 Thread Serguey Zefirov
2010/12/5 Tianyi Cui tianyi...@gmail.com: Why should they? You can compare them in whatever way you like. And there isn't a natural/inherent sense of total order between types. I cannot compare then the way I'd like. ;) Consider the following: data BiMap a = BiMap { values :: Map Int a

Re: [Haskell-cafe] the beginning of the end (was: Hackage down?)

2010-12-04 Thread Don Stewart
trebla: On 10-12-04 01:03 PM, Antoine Latter wrote: Here's a Reddit post: http://www.reddit.com/r/haskell/comments/efw38/reminder_hackagehaskellorg_outage_tomorrow_due_to/ This is the second consecutive time a planned downtime is not announced on either mailing lists. This seems to me

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-04 Thread wren ng thornton
On 12/4/10 11:31 AM, Dan Knapp wrote: With Hackage down, now seemed like a good time to push this issue again. It's such an important site to us that it's really rather a shame there are no mirrors of it. I have a personal-and-business server in a data center in Newark, with a fair chunk of

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-04 Thread wren ng thornton
On 12/4/10 2:21 PM, Riad S. Wahby wrote: Ozgur Akgunozgurak...@gmail.com wrote: This is a very generous offer. However, I must say I like the following idea more: http://www.reddit.com/r/haskell/comments/efw38/ reminder_hackagehaskellorg_outage_tomorrow_due_to/c17u7nk That sounds like a

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-04 Thread Riad S. Wahby
wren ng thornton w...@freegeek.org wrote: Semantic Parse Fail: did you mean the latter or strongly opposed to? s/former/latter/ :) -=rsw ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-04 Thread Florian Lengyel
Why is there even any consideration of some committee if someone wants to mirror the Hackage site? Why not mirror the site? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe