Re: breakage with Cabal-1.6

2008-10-09 Thread Alfonso Acosta
On Thu, Oct 9, 2008 at 8:55 PM, Duncan Coutts <[EMAIL PROTECTED]> wrote: > * ForSyDe-3.0 > > Uses the copyDest field from CopyFlags. These record types now use an > equivalent of Maybe so they can be empty rather than always containing a > default value. It's useful, but also kind of annoying

Re: GADTs and functional dependencies

2008-09-23 Thread Alfonso Acosta
On Tue, Sep 23, 2008 at 6:36 PM, Wolfgang Jeltsch <[EMAIL PROTECTED]> wrote: > Pattern matching against the data constructor GADT specializes a to (). Since > Class uses a functional dependency, it is clear that b has to be (). True, but it wont work if you provide () as the result and b in the e

Re: GADTs and functional dependencies

2008-09-23 Thread Alfonso Acosta
On Tue, Sep 23, 2008 at 6:07 PM, Wolfgang Jeltsch <[EMAIL PROTECTED]> wrote: > Hello, > > please consider the following code: > >> {-# LANGUAGE GADTs, MultiParamTypeClasses, FunctionalDependencies #-} >> >> data GADT a where >> >> GADT :: GADT () >> >> class Class a b | a -> b >> >> instance Cl

Re: Success report: Leopard powerpc

2008-03-17 Thread Alfonso Acosta
On 3/17/08, Chris Kuklewicz <[EMAIL PROTECTED]> wrote: > I used both ghc-6.6.1 and macports to create a working ghc-6.8.2 on OS X > 10.5.2 > on a powerpc G4 laptop. Great! It would be awsome if a PPC/Lepoard installation package was made available from GHC's page. ___

Re: [Haskell-cafe] Dynamic typing of polymorphic functions

2007-12-19 Thread Alfonso Acosta
On Dec 19, 2007 9:13 PM, Neil Mitchell <[EMAIL PROTECTED]> wrote: > > OK, If you managed to read until this point, you might have noticed > > that, due to the monomorphism restriction implied by Data.Typeable, it > > is impossible to build polymorphic processes. > > Tom Shackell had similar issues

Re: ANNOUNCE: GHC 6.8.2 Release Candidate

2007-12-07 Thread Alfonso Acosta
I know there are some problems with Leopard (OSX 10.5) but, before bothering compile the release, should it be expected to work on Leopard/PPC or Leopard/Intel? On Dec 7, 2007 1:58 PM, Ian Lynagh <[EMAIL PROTECTED]> wrote: > > We are pleased to announce the Release Candidate phase for GHC 6.8.2. >

Re: You can now register a trac user for yourself

2007-11-22 Thread Alfonso Acosta
That's good news. It also means you can set your own preferences (if you did so with the guest account you ended up receiving mails related to ticket you didn't create) ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.ha

Re: GHC 6.8.1 on Mac OS X 10.5 (Leopard)

2007-11-19 Thread Alfonso Acosta
better to rely on an extended convention rather than hardcoding paths. On Nov 19, 2007 11:40 AM, Simon Marlow <[EMAIL PROTECTED]> wrote: > > Christian Maeder wrote: > > Alfonso Acosta wrote: > >> On Nov 19, 2007 10:51 AM, Alfonso Acosta <[EMAIL PROTECTED]> wrote: > &g

Re: GHC 6.8.1 on Mac OS X 10.5 (Leopard)

2007-11-19 Thread Alfonso Acosta
On Nov 19, 2007 10:51 AM, Alfonso Acosta <[EMAIL PROTECTED]> wrote: > Well, you can always combine the first argument of the script ($0) for > absolute paths and combine it with with pwd for relative ones. I meant _use_ the first argument of the script ($0) for absolute paths and com

Re: GHC 6.8.1 on Mac OS X 10.5 (Leopard)

2007-11-19 Thread Alfonso Acosta
On Nov 19, 2007 10:35 AM, Simon Marlow <[EMAIL PROTECTED]> wrote: > pwd gives you the directory that the script was invoked *from*, not the > directory in which the script resides. This is a common problem on Unix: > there's no general way to find out the location of a binary. Well, you can alway

Re: missing Control.Monad.State

2007-11-11 Thread Alfonso Acosta
It seems you haven't the mtl package installed. You can either get a custom package for your OS distribution or grab it from hackage. On Nov 11, 2007 2:29 PM, Hal Daume III <[EMAIL PROTECTED]> wrote: > Hi all -- > > Something weird just happened and I feel bad asking on the list for help > (bec

Re: Template Haskell documentation

2007-11-07 Thread Alfonso Acosta
Hi Richard, > I'm trying to learn how to use Template Haskell and I'm finding that the > documentation is sparse. In particular, the constructors for Dec, Exp, > Con, etc. in Language.Haskell.TH.Syntax aren't explained. Yes, absolutely true. I myself had to look at the sources when I first used

Re: Release plans

2007-04-16 Thread Alfonso Acosta
On 4/16/07, Simon Marlow <[EMAIL PROTECTED]> wrote: Are there features/bug-fixes that you really want to see in 6.8? How about dynamic libraries? (there are a few 6.8 tickets for that I think) ___ Glasgow-haskell-users mailing list Glasgow-haskell-use

Re: Duplicate instance declarations of a methodless class

2007-03-06 Thread Alfonso Acosta
Did you try to compile with -fallow-overlapping-instances On 3/6/07, mm <[EMAIL PROTECTED]> wrote: Hello, I was thinking that it could maybe be useful to allow duplicate instance declarations, if the class has no methods. From my naive point of view, i can not see problems, scince there are no

Re: Creating Loadable Dynamic Libraries in OSX

2006-11-21 Thread Alfonso Acosta
? A way to fix the error would be using the -dynamic flag, but for some reason my OSX build doesn't have doesn't seem to have the dynamic libraries. The concrete error is "ld: can't locate file for: -lHShaskell98_dyn" On 11/22/06, Alfonso Acosta <[EMAIL PROTECTED]

Creating Loadable Dynamic Libraries in OSX

2006-11-21 Thread Alfonso Acosta
uot; error. I think that is becase under OSX, GHC calls gcc with -mdynamic-no-pic preventing my FFI stub object files to be linked. Does anyone know why is -mdynamic-no-pic used or a workaround? Thanks in advance, Alfonso Acosta ___ Glasgow-haskel