Re: Proposal: Num instance for tuples

2012-10-24 Thread Conal Elliott
I use these instances and similar ones from NumInstances [1] quite a bit. I also frequently use another pattern for applicative functors, via applicative-numbers [2]. I don't mind pulling these instances from a package, though they are orphans. It does trouble me a bit that the two patterns overla

Re: Proposal: alpha-rename the type signatures of foldl, foldl', and scanl to be consistent with foldr and scanr

2012-10-15 Thread Conal Elliott
Amen! (+1). I often have to rewrite the signature of foldl to the suggested version as a sanity check. I thought it just was my personal mental deficiency. I prefer "b" to "r". -- Conall On Sun, Oct 14, 2012 at 7:28 AM, Gábor Lehel wrote: > Currently we have: > > foldl :: (a -> b -> a) ->

Re: [Hackage] #791: Large libraries not installable on OS X

2011-03-26 Thread Conal Elliott
I see that this this trac item has no milestone and an "unknown" duration. Has this problem (incompatibility of large libraries and ghci on the Mac) slipped through the cracks? Is it thought to be unimportant? For me, not being able to count on ghci is a huge detriment. Thanks, - Conal On Sun,

plans for haddock 2.0 & ghc 6.8?

2007-09-12 Thread Conal Elliott
Are there plans for running the new base libs (and perhaps extras) through haddock 2.0? The new & old .haddock files are incompatible, so running haddock 2.0 isn't resolving base lib links. - Conal ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://ww

Re: link-time error: unrecognized escape sequence

2007-09-10 Thread Conal Elliott
ing interpreted as a backspace, thus becoming "disuild", while the "\e" was considered an error. - Conal On 9/10/07, Ian Lynagh <[EMAIL PROTECTED]> wrote: > > On Fri, Sep 07, 2007 at 08:47:43AM -0700, Conal Elliott wrote: > > > > I don't know what wa

Re: link-time error: unrecognized escape sequence

2007-09-10 Thread Conal Elliott
I get this very same error on a clean build with STABLE ghc-6.8.20070909 (on Windows). Any ideas on what's going wrong here and how to fix it? - Conal On 9/7/07, Conal Elliott <[EMAIL PROTECTED]> wrote: > > I get the following error while linking haddock.ghc using t

windows build for ghc HEAD ?

2007-09-08 Thread Conal Elliott
I don't know if the build gods are looking for who-cares-about-what input, but if so, i'd love to have a recent build of ghc HEAD that works on windows. i haven't found one yet, and i'd really like to so i can compile & run haddock 2.0 and then release several packages. The 20070824 was so close,

link-time error: unrecognized escape sequence

2007-09-07 Thread Conal Elliott
I get the following error while linking haddock.ghc using the snapshot ghc-6.7.20070824-i386-unknown-mingw32.exe . ... [17 of 17] Compiling Main ( src/Main.hs, dist\build\haddock\haddock-tmp/Main.o ) Linking dist\build\haddock\haddock.exe ... c:/tmp/ghc2268_0/ghc2268_0.r

Re: change to deriving in 6.7 ??

2007-09-05 Thread Conal Elliott
ou Simon! - Conal On 9/5/07, Simon Peyton-Jones <[EMAIL PROTECTED]> wrote: > > I have heard your cry. GHC 6.8 will accept this after all. I have also > documented the rules > > > > Simon > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On >

Re: ghc 6.7 and GADT pattern-matching

2007-08-22 Thread Conal Elliott
; b) = a > > Now in this case the RHS is strict in 'a' so it's probably ok but it's not > in general. Nothing to do with rigidity. The error message is bad though > > > > S > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On > Beh

Re: ghc 6.7 and GADT pattern-matching

2007-08-22 Thread Conal Elliott
, the solution is always "add a type signature", though in this > case you could also escape with "omit a $". > > > > Simon > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Conal Elliott > *Sent:* 22 August 2007 06:15 >

Re: ghc 6.7 and GADT pattern-matching

2007-08-21 Thread Conal Elliott
No big deal after all. Replacing the ($) uses with regular parenthesized application allows compilation to go through. - Conal On 8/21/07, Conal Elliott <[EMAIL PROTECTED]> wrote: > > In going from ghc-6.6 to ghc-6.7, I've lost some GADT pattern matching > that I'd real

ghc 6.7 and GADT pattern-matching

2007-08-21 Thread Conal Elliott
In going from ghc-6.6 to ghc-6.7, I've lost some GADT pattern matching that I'd really like to have back. The message: c:/conal/Haskell/Eros/src/gadt-example.hs:23:32: GADT pattern match in non-rigid context for `:*' Tell GHC HQ if you'd like this to unify the context In the patt

Re: change to deriving in 6.7 ??

2007-08-21 Thread Conal Elliott
Dupree <[EMAIL PROTECTED]> wrote: > > Conal Elliott wrote: > > Thanks, Simon. The manual deriving is easier than I expected, by > > boilerplate delegation of constraints & methods, as below. You may want > to > > give such an example when you document the chan

Re: change to deriving in 6.7 ??

2007-08-21 Thread Conal Elliott
rkaround - -you just have to write the instance yourself. > > > > I should document this > > > > Simon > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Conal Elliott > *Sent:* 15 August 2007 23:37 > *To:* cvs-ghc@has

Re: change to deriving in 6.7 ??

2007-08-15 Thread Conal Elliott
by the way, i don't think i'm on the cvs-ghc list. so please cc me in any replies. thanks, - conal On 8/15/07, Conal Elliott <[EMAIL PROTECTED]> wrote: > > I'm running ghc-6.7.20070802 and getting a new error message that didn't > show up with ghc-6.6. Code:

Fwd: how to get packages for HEAD snapshot ?

2007-08-15 Thread Conal Elliott
oops -- meant to cc cvs-ghc btw, 20070802 does run and does have libs included. -- Forwarded message -- From: Conal Elliott <[EMAIL PROTECTED]> Date: Aug 15, 2007 2:56 PM Subject: Re: how to get packages for HEAD snapshot ? To: Stefan O'Rear <[EMAIL PROTECTED]&

change to deriving in 6.7 ??

2007-08-15 Thread Conal Elliott
I'm running ghc-6.7.20070802 and getting a new error message that didn't show up with ghc-6.6. Code: -- | Pairing for unary type constructors. newtype Pair1 f g a = Pair1 {unPair1 :: (f a, g a)} deriving (Eq, Ord, Show) Error message: src/Data/Tupler.hs:26:0: No instances

how to get packages for HEAD snapshot ?

2007-08-15 Thread Conal Elliott
I installed ghc-6.7.20070810-i386-unknown-mingw32.exe. Though it runs, I don't know how to get other packages installed, including Cabal. "ghc-pkg list" tells me that I have only {ghc-6.7.20070810}, rts-1.0. Any suggestions? Thanks, - Conal ___ Cvs-g