Re: [GHC] #3843: Merge plugins into HEAD

2011-06-30 Thread GHC
#3843: Merge plugins into HEAD -+-- Reporter: dreixel |Owner: simonpj Type: task | Status: new Priority: normal|Milestone: 7.2.1

[GHC] #5290: Add UNPACK support to Template Haskell

2011-06-30 Thread GHC
#5290: Add UNPACK support to Template Haskell ---+ Reporter: mikhail.vorozhtsov | Owner: Type: feature request | Status: new Priority: normal |

Re: [GHC] #5288: Less noisy version of -fwarn-name-shadowing

2011-06-30 Thread GHC
#5288: Less noisy version of -fwarn-name-shadowing -+-- Reporter: batterseapower| Owner: Type: feature request | Status: new Priority: normal|

Re: [GHC] #4359: Implement lambda-case/lambda-if

2011-06-30 Thread GHC
#4359: Implement lambda-case/lambda-if -+-- Reporter: batterseapower|Owner: igloo Type: feature request | Status: patch Priority: high |Milestone: 7.4.1

Re: [GHC] #5019: OS X: ld: warning: could not create compact unwind for _ffi_call_unix64

2011-06-30 Thread GHC
#5019: OS X: ld: warning: could not create compact unwind for _ffi_call_unix64 ---+ Reporter: altaic |Owner: igloo Type: bug | Status: new

Re: [GHC] #3843: Merge plugins into HEAD

2011-06-30 Thread GHC
#3843: Merge plugins into HEAD -+-- Reporter: dreixel |Owner: simonpj Type: task | Status: new Priority: normal|Milestone: 7.2.1

Re: [GHC] #4359: Implement lambda-case/lambda-if

2011-06-30 Thread GHC
#4359: Implement lambda-case/lambda-if -+-- Reporter: batterseapower|Owner: igloo Type: feature request | Status: patch Priority: high |Milestone: 7.4.1

Re: [GHC] #4359: Implement lambda-case/lambda-if

2011-06-30 Thread GHC
#4359: Implement lambda-case/lambda-if -+-- Reporter: batterseapower|Owner: igloo Type: feature request | Status: patch Priority: high |Milestone: 7.4.1

Re: [GHC] #3843: Merge plugins into HEAD

2011-06-30 Thread GHC
#3843: Merge plugins into HEAD -+-- Reporter: dreixel |Owner: simonpj Type: task | Status: new Priority: normal|Milestone: 7.2.1

Re: [GHC] #4359: Implement lambda-case/lambda-if

2011-06-30 Thread GHC
#4359: Implement lambda-case/lambda-if -+-- Reporter: batterseapower|Owner: igloo Type: feature request | Status: patch Priority: high |Milestone: 7.4.1

Re: [GHC] #4359: Implement lambda-case/lambda-if

2011-06-30 Thread GHC
#4359: Implement lambda-case/lambda-if -+-- Reporter: batterseapower|Owner: igloo Type: feature request | Status: patch Priority: high |Milestone: 7.4.1

Re: [GHC] #5288: Less noisy version of -fwarn-name-shadowing

2011-06-30 Thread GHC
#5288: Less noisy version of -fwarn-name-shadowing -+-- Reporter: batterseapower|Owner: Type: feature request | Status: new Priority: normal|

Re: [GHC] #5286: panic: getPredTyDescription EqPred [7.0 regression]

2011-06-30 Thread GHC
#5286: panic: getPredTyDescription EqPred [7.0 regression] -+-- Reporter: simonmar |Owner: simonpj Type: bug | Status: new Priority: highest

Re: [GHC] #5287: The 'impossible' happened. solveDerivEqns: probable loop

2011-06-30 Thread GHC
#5287: The 'impossible' happened. solveDerivEqns: probable loop ---+ Reporter: agocorona |Owner: simonpj Type: bug | Status: new Priority: normal

Re: [GHC] #5288: Less noisy version of -fwarn-name-shadowing

2011-06-30 Thread GHC
#5288: Less noisy version of -fwarn-name-shadowing -+-- Reporter: batterseapower|Owner: Type: feature request | Status: new Priority: normal|

Re: [GHC] #5283: Arrow command combinators: addTickHsExpr explodes in GHCi

2011-06-30 Thread GHC
#5283: Arrow command combinators: addTickHsExpr explodes in GHCi --+- Reporter: peteg| Owner: Type: bug | Status: closed

Re: [GHC] #5275: Data.Typeable not backwards compatible

2011-06-30 Thread GHC
#5275: Data.Typeable not backwards compatible -+-- Reporter: augustss |Owner: Type: bug | Status: new Priority: normal|Milestone:

Re: [GHC] #5288: Less noisy version of -fwarn-name-shadowing

2011-06-30 Thread GHC
#5288: Less noisy version of -fwarn-name-shadowing -+-- Reporter: batterseapower|Owner: Type: feature request | Status: new Priority: normal|

Quoting a quasi-quote

2011-06-30 Thread Yitzchak Gale
It was pointed out by Ben Millwood on the Cafe that there is an undocumented way to escape the closing oxford bracket of a quasi-quote using a backslash: [s|This quasi-quote contains this, \|], an escaped closing oxford bracket.|] The backslash itself cannot be escaped in this way: [s|Also

Re: [Haskell] ANNOUNCE: string-qq-0.0.2

2011-06-30 Thread Yitzchak Gale
Ben Millwood wrote: I once spent some time and energy making [foo| bar baz |\] quux |] do the right thing for a quasiquoter I implemented, only to discover that GHC already supports [foo| bar baz \|] quux |]. So yes, you can escape it. Wow, that actually works. That is very surprising,

[Haskell] ANNOUNCING: Hac PDX II - A Portland Haskell Hackathon

2011-06-30 Thread Thomas DuBuisson
WHAT: A Haskell Hackathon WHEN: July 22-24 (Friday, Saturday, Sunday) 10:00 AM to 5:30 PM WHERE: Forth Avenue Building (FAB, 1900 SW 4th Ave) Room 10 Portland, Oregon 97201 WHERE, take 2: FAB10 is a small auditorium just inside the west most Harrison Street entrance. URL:

[arch-haskell] AUR Comment for haskell-hdbc

2011-06-30 Thread AUR Feedback
from http://aur.archlinux.org/packages.php?ID=16103 federico_s wrote: Dependencies haskell-bytestring=0.9.1.7, haskell-containers=0.3.0.0, haskell-old-time=1.0.0.5, haskell-time=1.1.4 are obsolete. --- If you no longer wish to receive notifications about this package, please go the the above

[arch-haskell] AUR Comment for haskell-convertible

2011-06-30 Thread AUR Feedback
from http://aur.archlinux.org/packages.php?ID=23553 federico_s wrote: Dependencies haskell-containers=0.3.0.0, haskell-old-time=1.0.0.5, haskell-time=1.1.4 are obosolete. --- If you no longer wish to receive notifications about this package, please go the the above package page and click the

[Haskell-cafe] what if two package contains same module?

2011-06-30 Thread 吴兴博
it seems that cabal install different into different folders. if two package contains same module name, can they all exist? since cabal have no remvoe or uninstall. how can I hide some packages? Cheers! 吴兴博  Wu Xingbo ___

Re: [Haskell-cafe] what if two package contains same module?

2011-06-30 Thread Ivan Lazar Miljenovic
On 30 June 2011 17:40, 吴兴博 wux...@gmail.com wrote: it seems that cabal install different into different folders. if two package contains same module name, can they all exist? since cabal have no remvoe or uninstall. how can I hide some packages? ghc-pkg hide foo-1.2.3 This will work for using

Re: [Haskell-cafe] what if two package contains same module?

2011-06-30 Thread Heinrich Apfelmus
吴兴博 wrote: it seems that cabal install different into different folders. if two package contains same module name, can they all exist? since cabal have no remvoe or uninstall. how can I hide some packages? The ghc-pkg program organizes GHC's package database. You want to run the command

Re: [Haskell-cafe] overloading show function

2011-06-30 Thread Holger Siegel
Am 29.06.2011 um 23:50 schrieb Philipp Schneider: Hi cafe, in my program i use a monad of the following type newtype M a = M (State - (a, State)) i use the monad in two different ways. The type variable a can be a pair as in interp :: Term - Environment - M (Value,Environment)

Re: [Haskell-cafe] overloading show function

2011-06-30 Thread Wolfgang Braun
An environment contains local variable bindings, so no subcomputation will ever need to return its environment. - That is not true. A subcomputation can possible modify an environment except the language forbids such a case. On 06/30/2011 02:36 PM, Holger Siegel wrote: Am 29.06.2011 um

[Haskell-cafe] Confused about my IterIO code

2011-06-30 Thread John Ky
Hi Hakell Cafe, I'm struggling to understand my unambitious IterIO code that somehow manages to work. Basically I run an echo server that is supposed to read from a socket line by line and write back to the socket with all the characters in the line reversed: import Control.Exception import

Re: [Haskell-cafe] Confused about my IterIO code

2011-06-30 Thread Brandon Allbery
On Thu, Jun 30, 2011 at 09:53, John Ky newho...@gmail.com wrote: enum |$ inumReverseLines .| iter inumReverseLines = mkInum $ do   line - lineI   return (L.reverse (L.concat [line, C.pack \n])) No attempt was made to reverse more than one line - at least as far as I can see.  What have I

Re: [Haskell-cafe] Confused about my IterIO code

2011-06-30 Thread dm-list-haskell-cafe
At Thu, 30 Jun 2011 23:53:02 +1000, John Ky wrote: But all I've done is: enum |$ inumReverseLines .| iter inumReverseLines = mkInum $ do   line - lineI   return (L.reverse (L.concat [line, C.pack \n])) mkInum repeatedly invokes its iter argument so as to keep

Re: [Haskell-cafe] overloading show function

2011-06-30 Thread Philipp Schneider
On 06/30/2011 02:36 PM, Holger Siegel wrote: Am 29.06.2011 um 23:50 schrieb Philipp Schneider: Hi cafe, in my program i use a monad of the following type newtype M a = M (State - (a, State)) i use the monad in two different ways. The type variable a can be a pair as in interp :: Term -

Re: [Haskell-cafe] what if two package contains same module?

2011-06-30 Thread Ertugrul Soeylemez
吴兴博 wux...@gmail.com wrote: it seems that cabal install different into different folders. if two package contains same module name, can they all exist? since cabal have no remvoe or uninstall. how can I hide some packages? Alternatively for small programs for which you don't use a Cabal

Re: [Haskell-cafe] overloading show function

2011-06-30 Thread Philipp Schneider
On 06/30/2011 08:25 PM, Philipp Schneider wrote: On 06/30/2011 02:36 PM, Holger Siegel wrote: Am 29.06.2011 um 23:50 schrieb Philipp Schneider: Hi cafe, in my program i use a monad of the following type newtype M a = M (State - (a, State)) i use the monad in two different ways. The type

[Haskell-cafe] ANNOUNCE: mime-mail-ses 0.0.0

2011-06-30 Thread Michael Snoyman
Hi all, I'd like to announce the first release of mime-mail-ses[1]. This provides easy integration between the mime-mail package[2] and Amazon's Simple Email Service. This package was written for the Haskellers website[3], purely because I despise setting up mail servers. There aren't many more

Re: [Haskell-cafe] overloading show function

2011-06-30 Thread Holger Siegel
Am 30.06.2011 um 20:23 schrieb Philipp Schneider: On 06/30/2011 02:36 PM, Holger Siegel wrote: Am 29.06.2011 um 23:50 schrieb Philipp Schneider: Hi cafe, in my program i use a monad of the following type newtype M a = M (State - (a, State)) i use the monad in two different ways.

[Haskell-cafe] ANNOUNCING: Hac PDX II - A Portland Haskell Hackathon

2011-06-30 Thread Thomas DuBuisson
WHAT: A Haskell Hackathon WHEN: July 22-24 (Friday, Saturday, Sunday) 10:00 AM to 5:30 PM WHERE: Forth Avenue Building (FAB, 1900 SW 4th Ave) Room 10 Portland, Oregon 97201 WHERE, take 2: FAB10 is a small auditorium just inside the west most Harrison Street entrance. URL:

Re: [Haskell-cafe] ANNOUNCING: Hac PDX II - A Portland Haskell Hackathon

2011-06-30 Thread Alexander Solla
On Thu, Jun 30, 2011 at 12:55 PM, Thomas DuBuisson thomas.dubuis...@gmail.com wrote: WHAT: A Haskell Hackathon WHEN: July 22-24 (Friday, Saturday, Sunday) 10:00 AM to 5:30 PM WHERE: Forth Avenue Building (FAB, 1900 SW 4th Ave) Room 10 Portland, Oregon 97201 ... Registration: Please

Re: [Haskell-cafe] overloading show function

2011-06-30 Thread Philipp Schneider
On 06/30/2011 09:49 PM, Holger Siegel wrote: Am 30.06.2011 um 20:23 schrieb Philipp Schneider: On 06/30/2011 02:36 PM, Holger Siegel wrote: Am 29.06.2011 um 23:50 schrieb Philipp Schneider: Hi cafe, in my program i use a monad of the following type newtype M a = M (State - (a, State))

Re: [Haskell-cafe] overloading show function

2011-06-30 Thread Holger Siegel
Am 30.06.2011 um 22:57 schrieb Philipp Schneider: On 06/30/2011 09:49 PM, Holger Siegel wrote: (...) But that won't work: After you have evaluated an entry of the environment, you store the resulting value but you throw away its updated environment. That means, you lose the results of all

[Haskell-cafe] Printing the empty list.

2011-06-30 Thread Joshua Ball
GHCi seems to be clever about some things: If I try to print the empty list in ghci, I encounter no problems: Prelude [] [] Prelude show [] [] Prelude print [] [] Even though the type of the list is clearly unknown, it must be picking SOME type. (why does it print [] instead of )? If I write a

Re: [Haskell-cafe] Printing the empty list.

2011-06-30 Thread Brandon Allbery
On Thu, Jun 30, 2011 at 18:58, Joshua Ball joshbb...@gmail.com wrote: GHCi seems to be clever about some things: GHCi uses extended defaulting rules unless told otherwise, so in the absence of anything else it uses () as the type. You can enable this in GHC as well, with -XExtendedDefaultRules.

Re: [Haskell-cafe] Printing the empty list.

2011-06-30 Thread Ivan Lazar Miljenovic
On 1 July 2011 08:58, Joshua Ball joshbb...@gmail.com wrote: GHCi seems to be clever about some things: If I try to print the empty list in ghci, I encounter no problems: Prelude [] [] Prelude show [] [] Prelude print [] [] Even though the type of the list is clearly unknown, it must

Re: [Haskell-cafe] overloading show function

2011-06-30 Thread Philipp Schneider
On 06/30/2011 11:46 PM, Holger Siegel wrote: Am 30.06.2011 um 22:57 schrieb Philipp Schneider: On 06/30/2011 09:49 PM, Holger Siegel wrote: (...) But that won't work: After you have evaluated an entry of the environment, you store the resulting value but you throw away its updated

Re: [Haskell-cafe] Printing the empty list.

2011-06-30 Thread Brent Yorgey
On Fri, Jul 01, 2011 at 09:05:05AM +1000, Ivan Lazar Miljenovic wrote: On 1 July 2011 08:58, Joshua Ball joshbb...@gmail.com wrote: GHCi seems to be clever about some things: If I try to print the empty list in ghci, I encounter no problems: Prelude [] [] Prelude show [] []

Re: [Haskell-cafe] Printing the empty list.

2011-06-30 Thread Ivan Lazar Miljenovic
On 1 July 2011 11:35, Brent Yorgey byor...@seas.upenn.edu wrote: On Fri, Jul 01, 2011 at 09:05:05AM +1000, Ivan Lazar Miljenovic wrote: On 1 July 2011 08:58, Joshua Ball joshbb...@gmail.com wrote: GHCi seems to be clever about some things: If I try to print the empty list in ghci, I

[Haskell-cafe] Patterns for processing large but finite streams

2011-06-30 Thread Eugene Kirpichov
Hi, I'm rewriting timeplot to avoid holding the whole input in memory, and naturally a problem arises: How to represent large but finite streams and functions that process them, returning other streams or some kinds of aggregate values? Examples: * Adjacent differences of a stream of numbers *

[Haskell-cafe] How to implement the mean function

2011-06-30 Thread Ruohao Li
Hi guys, I just started learning some Haskell. I want to implement a mean function to compute the mean of a list. The signature of the function is: mean :: (Num a, Fractional b) = [a] - b But when I implement this simple function, the compiler keep whining at me on type errors. I know this is

[arch-haskell] AUR Out-of-date Notification for haskell-ghc-syb-utils

2011-06-30 Thread AUR Feedback
Your package haskell-ghc-syb-utils has been flagged out of date by federico_s [1]. You may view your package at: http://aur.archlinux.org/packages.php?ID=37650 [1] - http://aur.archlinux.org/account.php?Action=AccountInfoID=29078 ___ arch-haskell