Re: PSA: `cabal update` command needs manual unsticking

2018-01-02 Thread Michael Snoyman
On Tue, Jan 2, 2018 at 11:47 AM, Sven Panne wrote: > 2018-01-02 2:24 GMT+01:00 Gershom B : > >> A recent update to hackage, which fixed up the 01-index.tar.gz file, >> revealed a bug in existing versions of cabal-install, when index files >> are cleaned

Re: How to uninstall all cabal packages?

2017-12-03 Thread Michael Snoyman
You'll need to delete your ~/.ghc directory as well. On Sun, Dec 3, 2017 at 8:24 PM, Volker Wysk wrote: > Hi! > > I want to remove eveything which cabal has installed, and begin again with > a clean installation. How is this accomplished? I've deleted ~/.cabal, but > it

Re: Rewrite rules

2017-01-12 Thread Michael Snoyman
Could be I'm misunderstanding, but are you looking for -ddump-rule-firings? On Thu, Jan 12, 2017 at 10:46 AM, Erik de Castro Lopo wrote: > HI all, > > I'm having an look at rewrite rules, but something bugs me a little. > How do I tell if my rewrite rules are firing or

Re: Optimization of IORefs and STRefs - comparison to g++

2015-12-11 Thread Michael Snoyman
My mutable-containers package has unboxed and storable references actually. On Fri, Dec 11, 2015, 12:26 PM Akio Takano wrote: > Hi Mateusz, > > IORef and STRef are boxed references. That is, they are a mutable cell > that contains a pointer to some immutable Haskell value.

Re: ANNOUNCE: GHC 7.8.4 Release Candidate 1

2014-11-26 Thread Michael Snoyman
On Tue Nov 25 2014 at 9:46:46 PM Austin Seipp aus...@well-typed.com wrote: We are pleased to announce the first release candidate for GHC 7.8.4: https://downloads.haskell.org/~ghc/7.8.4-rc1/ This includes the source tarball and bindists for 64bit Linux. Binary builds for other platforms

Re: Document for review: evaluation order and state tokens

2014-08-26 Thread Michael Snoyman
On Mon, Aug 25, 2014 at 9:37 PM, Bertram Felgenhauer bertram.felgenha...@googlemail.com wrote: Dear Michael, Michael Snoyman wrote: As part of trac ticket 9390[1], Simon PJ recommended that we try to get a document written that clarifies some of the issues regarding evaluation order

Document for review: evaluation order and state tokens

2014-08-25 Thread Michael Snoyman
As part of trac ticket 9390[1], Simon PJ recommended that we try to get a document written that clarifies some of the issues regarding evaluation order, and get it included in the GHC wiki. After a few iterations with review from Simon, I've got a first publicly consumable version available at:

Re: hmatrix-0.16.0.4 installation problem

2014-08-21 Thread Michael Snoyman
On Thu, Aug 21, 2014 at 3:26 PM, Adrian Victor Crisciu acris...@gmail.com wrote: Hi, I tried to upgrade from hmatrix 0.15.2.1 to hmatrix-0.16.0.4 and both cabal install and cabal configure complained about missing blas and lapack libraries. However, I do have those libraries installed, and I

Re: GHC 7.8.3 release

2014-05-27 Thread Michael Snoyman
I'm building the GHC-7.8 branch now, and will then kick off a Stackage build. That should give a good indication if there are regressions. On Tue, May 27, 2014 at 11:06 AM, Austin Seipp aus...@well-typed.comwrote: Hello all, After a long week, I've finally gotten a little time to reply to

Re: 7.8.1 cabal install of vector package (dependent on primitive package) fails

2014-04-10 Thread Michael Snoyman
On Thu, Apr 10, 2014 at 6:42 AM, Carter Schonwald carter.schonw...@gmail.com wrote: i bet you have cabal --version reply with 1.16 :) 1) cabal update 2) cabal install cabal-install 3) rm ~/.cabal/config # old pre 1.18 config should go! This was news to me. Is there a list of the

Re: [Haskell-cafe] New GHC Features for 7.10.1 and Beyond

2014-03-31 Thread Michael Snoyman
On Tue, Apr 1, 2014 at 8:07 AM, Kazu Yamamoto k...@iij.ad.jp wrote: Hi Gershom, We've also seen a lot of interest in distribution and cloud computing. From the articles I've read, efficient concurrent programming involves using node.js, so I think we should put some work into writing a

Re: 7.8.1, template haskell, and dynamic libraries

2014-02-09 Thread Michael Snoyman
On Sun, Feb 9, 2014 at 10:30 AM, harry volderm...@hotmail.com wrote: Carter Schonwald wrote Yes. (And thence ghc itself is then invoked with dynamic or dynamic-too) The docs for 7.8.1 say Template Haskell must now load dynamic object files, not static ones. Does this mean that, if I'm

Re: GHC 7.8 release?

2013-02-08 Thread Michael Snoyman
On Fri, Feb 8, 2013 at 3:55 PM, Ian Lynagh i...@well-typed.com wrote: On Thu, Feb 07, 2013 at 09:42:39AM -0800, Mark Lentczner wrote: I wish GHC would radically change it's release process. Things like 7.8 shouldn't be release as 7.8. That sounds major and stable. The web site will have

Re: GADTs in the wild

2012-08-14 Thread Michael Snoyman
On Tue, Aug 14, 2012 at 2:32 PM, Simon Peyton-Jones simo...@microsoft.comwrote: Friends I’m giving a series of five lectures at the Laser Summer Schoolhttp://laser.inf.ethz.ch/2012/(2-8 Sept), on “Adventures with types in Haskell”. My plan is: **1. **Type classes

Re: default instance for IsString

2012-04-24 Thread Michael Snoyman
On Tue, Apr 24, 2012 at 9:26 AM, Yitzchak Gale g...@sefer.org wrote: Greg Weber wrote: I very much agree with you. However, when we complain about something essentially we are asking others to prioritize it ahead of other things. I don't think any more visibility of this issue is going to

Re: default instance for IsString

2012-04-24 Thread Michael Snoyman
On Tue, Apr 24, 2012 at 11:36 AM, Erik Hesselink hessel...@gmail.com wrote: On Tue, Apr 24, 2012 at 08:32, Michael Snoyman mich...@snoyman.com wrote: Here's a theoretically simple solution to the problem. How about adding a new method to the IsString typeclass:    isValidString :: String

Re: default instance for IsString

2012-04-24 Thread Michael Snoyman
On Tue, Apr 24, 2012 at 12:35 PM, Yitzchak Gale g...@sefer.org wrote: Markus Läll wrote: You do know, that you already *can* have safe Text and ByteString from an overloaded string literal. Yes, the IsString instances for Text and ByteString are safe (I hope). But in order to use them, I

Re: default instance for IsString

2012-04-24 Thread Michael Snoyman
On Tue, Apr 24, 2012 at 1:08 PM, Erik Hesselink hessel...@gmail.com wrote: On Tue, Apr 24, 2012 at 10:55, Michael Snoyman mich...@snoyman.com wrote: On Tue, Apr 24, 2012 at 11:36 AM, Erik Hesselink hessel...@gmail.com wrote: On Tue, Apr 24, 2012 at 08:32, Michael Snoyman mich...@snoyman.com