Re: ANNOUNCE: GHC 7.10.1 Release Candidate 3

2015-03-17 Thread Miëtek Bak
As I wrote previously — the bindist name does mention ‘deb7’, so perhaps this 
is all working as intended, and perhaps supporting such ancient distributions 
is not actually needed.

However, the GHC 7.8.4, 7.8.3, and 7.8.2 bindists work fine with glibc 2.11, so 
this is a regression.


-- 
Miëtek




On 2015-03-17, at 08:25, Herbert Valerio Riedel hvrie...@gmail.com wrote:

 On 2015-03-17 at 03:09:23 +0100, Miëtek Bak wrote:
 As with 7.10.1-rc2, installation fails on CentOS 6 (i386), Debian 6, and 
 Ubuntu 10.04 LTS, in one of two following ways —
 
 1. On i386:
 
  utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist copy 
 libraries/ghc-prim dist-install strip '' '/app/ghc' 
 '/app/ghc/lib/ghc-7.10.0.20150316' '/app/ghc/share/doc/ghc/html/libraries' 
 'v p dyn'  
  ghc-cabal/dist-install/build/tmp/ghc-cabal: symbol lookup error: 
 libraries/integer-gmp2/dist-install/build/libHSinteger-gmp-1.0.0.0-6zeGtnFHpaVBJ80QaL9uVu-ghc7.10.0.20150316.so:
  undefined symbol: __gmpn_ior_n
 
 Well, it shouldn't be very surprising that the deb7 (wheezy) ghc bindist
 doesn't work on deb6 (squeeze), as it's been compile-time configured for
 the environment provided by deb7 which has newer libraries with more
 features/symbols.
 
 So what's needed here is probably a 2nd linux bindist build on an
 ancient enough (i.e. the one with the oldest libraries among
 CentOS6/Deb6/Ubuntu10.04) Linux environment.




smime.p7s
Description: S/MIME cryptographic signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


RE: Qualified names in TH?

2015-03-17 Thread Simon Peyton Jones
What Edward says also applies to code quotations.  So, for example:


module M

import IntSet



f :: Q Exp - Q Exp

f blah = [|  fromList $blah |]



module N where

 import M

 h x = $(f [| [x,x] |])

The splice expands to (fromList [x,x]), but the fromList guaranteed to be the 
fromList in scope where f is defined (in M), and NOT whatever other fromList 
might be in scope at the splice site in N.

Moreover, you do not need to import IntSet.

I hope that helps.  Would someone like to add a section to 
https://wiki.haskell.org/Template_Haskell, to explain?  There are several 
tutorials there as well.

Simon

From: Glasgow-haskell-users [mailto:glasgow-haskell-users-boun...@haskell.org] 
On Behalf Of Edward Kmett
Sent: 17 March 2015 05:01
To: J. Garrett Morris
Cc: GHC users
Subject: Re: Qualified names in TH?

Using {-# LANGUAGE TemplateHaskell #-} you can use 'foo and ''Foo to get access 
to the names in scope in the module that is building the splice, rather than 
worrying about what names are in scope in the module the code gets spliced into.

-Edward

On Mon, Mar 16, 2015 at 10:54 PM, J. Garrett Morris 
garrett.mor...@ed.ac.ukmailto:garrett.mor...@ed.ac.uk wrote:
I'm trying to write some Template Haskell code that (among other
things) manipulates IntSets.  So, for example, I'd like a splice to
generate a call to Data.IntSet.fromList.  However, I'm not sure how
IntSet will be imported in the target module.  Is there a way to
resolve the fully qualified name (or similar) to a TH Name, without
having to know how it's imported in the splicing module?  (The obvious
approach---mkName Data.IntSet.fromList---seems not to work in GHC
7.8.)

Thanks!

 /g

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.orgmailto:Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 3

2015-03-17 Thread Páli Gábor János
2015-03-16 21:30 GMT+01:00 Austin Seipp aus...@well-typed.com:
 We are pleased to announce the third release candidate for GHC 7.10.1:
 [..] FreeBSD [..] binary distributions will follow
 soon.

There you can find the FreeBSD tarballs and their checksums:

http://haskell.inf.elte.hu/ghc/ghc-7.10.0.20150316-i386-portbld-freebsd.tar.bz2
http://haskell.inf.elte.hu/ghc/ghc-7.10.0.20150316-i386-portbld-freebsd.tar.xz
http://haskell.inf.elte.hu/ghc/ghc-7.10.0.20150316-x86_64-portbld-freebsd.tar.bz2
http://haskell.inf.elte.hu/ghc/ghc-7.10.0.20150316-x86_64-portbld-freebsd.tar.xz
http://haskell.inf.elte.hu/ghc/SHA256SUMS

A brief install guide is also available, although it says GHC 7.8.4,
it shall work for this version as well:

http://haskell.inf.elte.hu/ghc/README.html
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 3

2015-03-17 Thread Björn Peemöller
Am 16.03.2015 um 21:30 schrieb Austin Seipp:
 We are pleased to announce the third release candidate for GHC 7.10.1:
 
 https://downloads.haskell.org/~ghc/7.10.1-rc3
 https://downloads.haskell.org/~ghc/7.10.1-rc3/docs/html/

The current version of cabal-install located at Hackage can not be
installed for the RC because of the following dependency error:

Setup: At least the following dependencies are missing:
filepath =1.0  1.4

The problem is that cabal-install require filepath  1.4, while the RC
ships with filepath-1.4. This issue [1] has already been solved in
cabal-install, so a new release available at Hackage would be desirable.

Regards,
Björn

[1]: https://github.com/haskell/cabal/issues/2461
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 3

2015-03-17 Thread Jan Stolarek
 The current version of cabal-install located at Hackage can not be
 installed for the RC because of the following dependency error:

 Setup: At least the following dependencies are missing:
 filepath =1.0  1.4

 The problem is that cabal-install require filepath  1.4, while the RC
 ships with filepath-1.4. This issue [1] has already been solved in
 cabal-install, so a new release available at Hackage would be desirable.
I've hit the same issue just moments ago. The solution was to install 
cabal-install from 1.22 
branch of Cabal repo:

cabal get -s cabal ; cd Cabal ; git checkout 1.22 ; cd cabal-install; 
./bootstrap.sh

Janek

---
Politechnika �ódzka
Lodz University of Technology

Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata.
Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez 
pomyłkę
prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.

This email contains information intended solely for the use of the individual 
to whom it is addressed.
If you are not the intended recipient or if you have received this message in 
error,
please notify the sender and delete it from your system.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 3

2015-03-17 Thread Neil Mitchell
All of the mingw links give me 403 forbidden errors. Do they have
permission issues?

Thanks, Neil


On Mon, Mar 16, 2015 at 8:30 PM, Austin Seipp aus...@well-typed.com wrote:
 We are pleased to announce the third release candidate for GHC 7.10.1:

 https://downloads.haskell.org/~ghc/7.10.1-rc3
 https://downloads.haskell.org/~ghc/7.10.1-rc3/docs/html/

 This includes the source tarball and bindists for Windows and Debian
 Linux. FreeBSD, CentOS and Mac OS X binary distributions will follow
 soon. These binaries and tarballs have an accompanying
 SHA256SUMS file signed by my GPG key id (0x3B58D86F).

 We plan to make the 7.10.1 final release at the end of this week - so
 please test as much as possible; bugs are much cheaper if we find them
 before the release!

 The list of issues we plan on fixing can always be found in an
 up-to-date form here:
 https://ghc.haskell.org/trac/ghc/wiki/Status/GHC-7.10.1

 --
 Regards,

 Austin Seipp, Haskell Consultant
 Well-Typed LLP, http://www.well-typed.com/
 ___
 ghc-devs mailing list
 ghc-d...@haskell.org
 http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 3

2015-03-17 Thread Austin Seipp
Neil, this has been fixed.

On Tue, Mar 17, 2015 at 7:52 AM, Neil Mitchell ndmitch...@gmail.com wrote:
 All of the mingw links give me 403 forbidden errors. Do they have
 permission issues?

 Thanks, Neil


 On Mon, Mar 16, 2015 at 8:30 PM, Austin Seipp aus...@well-typed.com wrote:
 We are pleased to announce the third release candidate for GHC 7.10.1:

 https://downloads.haskell.org/~ghc/7.10.1-rc3
 https://downloads.haskell.org/~ghc/7.10.1-rc3/docs/html/

 This includes the source tarball and bindists for Windows and Debian
 Linux. FreeBSD, CentOS and Mac OS X binary distributions will follow
 soon. These binaries and tarballs have an accompanying
 SHA256SUMS file signed by my GPG key id (0x3B58D86F).

 We plan to make the 7.10.1 final release at the end of this week - so
 please test as much as possible; bugs are much cheaper if we find them
 before the release!

 The list of issues we plan on fixing can always be found in an
 up-to-date form here:
 https://ghc.haskell.org/trac/ghc/wiki/Status/GHC-7.10.1

 --
 Regards,

 Austin Seipp, Haskell Consultant
 Well-Typed LLP, http://www.well-typed.com/
 ___
 ghc-devs mailing list
 ghc-d...@haskell.org
 http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs




-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 3

2015-03-17 Thread Karel Gardas


BTW, *-testsuite tarball contains bits left from the amd64/linux build 
so  gmake test is not working due to missing /lib64/ld-linux* library 
for ghc-config.


Solaris 11 builds are uploading now...

Karel

On 03/16/15 09:30 PM, Austin Seipp wrote:

We are pleased to announce the third release candidate for GHC 7.10.1:

 https://downloads.haskell.org/~ghc/7.10.1-rc3
 https://downloads.haskell.org/~ghc/7.10.1-rc3/docs/html/

This includes the source tarball and bindists for Windows and Debian
Linux. FreeBSD, CentOS and Mac OS X binary distributions will follow
soon. These binaries and tarballs have an accompanying
SHA256SUMS file signed by my GPG key id (0x3B58D86F).

We plan to make the 7.10.1 final release at the end of this week - so
please test as much as possible; bugs are much cheaper if we find them
before the release!

The list of issues we plan on fixing can always be found in an
up-to-date form here:
https://ghc.haskell.org/trac/ghc/wiki/Status/GHC-7.10.1



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 3

2015-03-17 Thread Neil Mitchell
Confirmed, thanks a lot!

On Tue, Mar 17, 2015 at 1:47 PM, Austin Seipp aus...@well-typed.com wrote:
 Neil, this has been fixed.

 On Tue, Mar 17, 2015 at 7:52 AM, Neil Mitchell ndmitch...@gmail.com wrote:
 All of the mingw links give me 403 forbidden errors. Do they have
 permission issues?

 Thanks, Neil


 On Mon, Mar 16, 2015 at 8:30 PM, Austin Seipp aus...@well-typed.com wrote:
 We are pleased to announce the third release candidate for GHC 7.10.1:

 https://downloads.haskell.org/~ghc/7.10.1-rc3
 https://downloads.haskell.org/~ghc/7.10.1-rc3/docs/html/

 This includes the source tarball and bindists for Windows and Debian
 Linux. FreeBSD, CentOS and Mac OS X binary distributions will follow
 soon. These binaries and tarballs have an accompanying
 SHA256SUMS file signed by my GPG key id (0x3B58D86F).

 We plan to make the 7.10.1 final release at the end of this week - so
 please test as much as possible; bugs are much cheaper if we find them
 before the release!

 The list of issues we plan on fixing can always be found in an
 up-to-date form here:
 https://ghc.haskell.org/trac/ghc/wiki/Status/GHC-7.10.1

 --
 Regards,

 Austin Seipp, Haskell Consultant
 Well-Typed LLP, http://www.well-typed.com/
 ___
 ghc-devs mailing list
 ghc-d...@haskell.org
 http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs




 --
 Regards,

 Austin Seipp, Haskell Consultant
 Well-Typed LLP, http://www.well-typed.com/
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 3

2015-03-17 Thread Austin Seipp
The only reason they work on glibc 2.11 is, AFAIK, because we built
separate CentOS 6.5 binaries for them. :)

FWIW, the source should build fine on these platforms, so once we add
the bindists for those systems, it should work Out Of The Box. But the
Debian 7 bindist isn't going to work on them, that's true.

We should probably rename the tarballs however... it's clear deb7
and centos65 aren't very enlightening names; something like
-glibc211-gmp4 vs glibc212-gmp5 would be better, even if slightly
longer.

On Tue, Mar 17, 2015 at 3:33 AM, Miëtek Bak mie...@bak.io wrote:
 As I wrote previously — the bindist name does mention ‘deb7’, so perhaps this 
 is all working as intended, and perhaps supporting such ancient distributions 
 is not actually needed.

 However, the GHC 7.8.4, 7.8.3, and 7.8.2 bindists work fine with glibc 2.11, 
 so this is a regression.


 --
 Miëtek




 On 2015-03-17, at 08:25, Herbert Valerio Riedel hvrie...@gmail.com wrote:

 On 2015-03-17 at 03:09:23 +0100, Miëtek Bak wrote:
 As with 7.10.1-rc2, installation fails on CentOS 6 (i386), Debian 6, and 
 Ubuntu 10.04 LTS, in one of two following ways —

 1. On i386:

  utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist copy 
 libraries/ghc-prim dist-install strip '' '/app/ghc' 
 '/app/ghc/lib/ghc-7.10.0.20150316' '/app/ghc/share/doc/ghc/html/libraries' 
 'v p dyn'
  ghc-cabal/dist-install/build/tmp/ghc-cabal: symbol lookup error: 
 libraries/integer-gmp2/dist-install/build/libHSinteger-gmp-1.0.0.0-6zeGtnFHpaVBJ80QaL9uVu-ghc7.10.0.20150316.so:
  undefined symbol: __gmpn_ior_n

 Well, it shouldn't be very surprising that the deb7 (wheezy) ghc bindist
 doesn't work on deb6 (squeeze), as it's been compile-time configured for
 the environment provided by deb7 which has newer libraries with more
 features/symbols.

 So what's needed here is probably a 2nd linux bindist build on an
 ancient enough (i.e. the one with the oldest libraries among
 CentOS6/Deb6/Ubuntu10.04) Linux environment.





-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.10.1 Release Candidate 3

2015-03-17 Thread Bas van Dijk
On 16 March 2015 at 21:30, Austin Seipp aus...@well-typed.com wrote:
 We are pleased to announce the third release candidate for GHC 7.10.1:

 https://downloads.haskell.org/~ghc/7.10.1-rc3
 https://downloads.haskell.org/~ghc/7.10.1-rc3/docs/html/

I noticed that the Haddock docs return 404s:

https://downloads.haskell.org/~ghc/7.10.1-rc3/docs/html/libraries/Prelude.html
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users