On Fri, Jul 31, 2015 at 10:31 PM Erik de Castro Lopo
wrote:
> I maintaing multiple versions of GHC on all the machines I use regularly
> for Haskell development. I have:
>
> * ghc-7.6.3 installed under /usr/lib/ghc-7.6/
> * ghc-7.8.4 installed under /usr/lib/ghc-7.8/
> * ghc-7.10.2 installed unde
Let me clarify a bit exactly how Gustavsson and Sands (I'll refer to them as
GS) handled the issue of the Wadler space leak. It's true that they adopted
an approach similar to Sparud in that they extended their core calculus with
a new language construct which could solve the problem. This is contr
On Tue, Mar 2, 2010 at 12:21 PM, Simon Marlow wrote:
> On 02/03/2010 08:59, Josef Svenningsson wrote:
>>
>> On Mon, Mar 1, 2010 at 11:54 PM, Jeremy Shaw wrote:
>>>
>>> is there, by chance, a file named Prelude.hs in the working directory?
>>> (the
&
tle bit more transparent.
Josef
> On Mon, Mar 1, 2010 at 11:43 AM, Josef Svenningsson
> wrote:
>>
>> Hi,
>>
>> It seems I've been able to mess up my ghc installation pretty badly.
>> Here is what happens if I just try to invoke ghci from the prompt:
>>
&g
Hi,
It seems I've been able to mess up my ghc installation pretty badly.
Here is what happens if I just try to invoke ghci from the prompt:
$ ghci
GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ...
On Mon, Feb 2, 2009 at 8:50 PM, Reid Barton wrote:
> On Mon, Feb 02, 2009 at 06:03:15PM +0100, Josef Svenningsson wrote:
>> Hi Tyson,
>>
>> I also needed something like this a while ago so I knocked up a really
>> simple module and put it on hackage:
>> http://ha
Hi Tyson,
I also needed something like this a while ago so I knocked up a really
simple module and put it on hackage:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/STMonadTrans
If you have any suggestions for improvement they are most welcome.
Patches even more so.
Josef
2009/2/2 T
On Fri, Apr 25, 2008 at 9:17 PM, Duncan Coutts
<[EMAIL PROTECTED]> wrote:
>
> On Fri, 2008-04-25 at 09:08 -0700, Don Stewart wrote:
> > Geraint.Jones:
> > > Are there well-known differences in the implementations of Haskell in
> > > ghci and hugs? I've got some moderately intricate code (simul
r are
> doubly-linked (right?) so wouldn't need to be explicitly reversed.
>
> Tim
>
>
>
>
>
>
>
>
> -Original Message-
> From: Simon Peyton-Jones
> Sent: 29 February 2008 20:06
> To: Josef Svenningsson; glasgow-haskell-users@haskell.org
&
On Fri, Feb 29, 2008 at 4:27 PM, Roberto Zunino <[EMAIL PROTECTED]> wrote:
> Josef Svenningsson wrote:
> > What I want to know boils down to
> > this: what order are processes run which have been woken up from a
> > call to retry?
>
> IIUC, the order of wake
Hi,
I'd like to know a bit about the STM implementation in GHC,
specifically about how it tries to achieve fairness. I've been reading
"Composable Memory Transactions" but it does not contain that much
details on this specific matter. What I want to know boils down to
this: what order are processe
Hi again,
On 10/17/07, Bernd Brassel <[EMAIL PROTECTED]> wrote:
> > May I suggest a third route that has the advantages of both your
> > approaches. The backside is of course that it takes a bit of work. My
> > suggestion is to do an effect analysis of your curry programs to
> > identify the purel
On 10/17/07, Bernd Brassel <[EMAIL PROTECTED]> wrote:
> > why do you want to do this unsafely,
> > instead of just using 'length'? unsafePerformIO is a very slow
> > function, remember)
>
> The big picture is that we generate programs like this example in order
> to compile the functional logic la
On 5/11/07, Simon Peyton-Jones <[EMAIL PROTECTED]> wrote:
| I'm replying to a rather old thread here, about unboxing in functions. Duncan
| had a continuation monad which passed around some data type that would be nice
| to unbox. You discussed strictness annotations in function types as a
poten
I'm replying to a rather old thread here, about unboxing in functions. Duncan
had a continuation monad which passed around some data type that would be nice
to unbox. You discussed strictness annotations in function types as a potential
solution. I have a different tack on the problem which seems
FWIW, Lennart Augustsson's Cayenne compiler can compile to GHC
nowadays. It uses exactly this method of sprinkling coerce all over
the place to make GHC's typechecker happy.
http://www.augustsson.net/Darcs/Cayenne/
Cheers,
Josef
On 10/16/06, Simon Marlow <[EMAIL PROTECTED]> wrote:
Neil Mitche
Hi,
I get the exact same thing with ghc-6.5.20060914.
Weird.
Josef
On 9/20/06, Bulat Ziganshin <[EMAIL PROTECTED]> wrote:
Hello glasgow-haskell-users,
can someone try to compile this one-line module:
import Control.Concurrent.STM.TArray
with a recent 6.5 builds, preferably mingw32 ones?
i
Hi,
Sorry for my late reply.
On 7/22/05, Simon Marlow <[EMAIL PROTECTED]> wrote:
> On 16 April 2005 23:19, Josef Svenningsson wrote:
>
> > OK, I've cooked up this little program to study the behaviour a
> > little closer: \begin{code}
> > module Main where
On 4/14/05, Simon Marlow <[EMAIL PROTECTED]> wrote:
> On 14 April 2005 15:35, Josef Svenningsson wrote:
>
> > I've had some fun chasing around a couple of space leaks lately. One
> > of the graphs that I produced looked like this:
> > www.cs.chalmers.se/~josefs
Hi all,
I've had some fun chasing around a couple of space leaks lately. One
of the graphs that I produced looked like this:
www.cs.chalmers.se/~josefs/coresa.ps
Notice the shape of the graph. It shows a perfect squareroot function.
But my program should be allocating at a constant rate. From pre
Hi,
Compiling 6.4.20050217 on Windows according to the book fails pretty early:
/cygdrive/c/ghc/ghc-6.2.2/bin//ghc -H16m -O -I. -Rghc-timing -I../../../librari
es -fglasgow-exts -no-recomp-c Compat/RawSystem.hs -o Compat/RawSystem.o -o
hi Compat/RawSystem.hi
c:/DOCUME~1/JOSEFS~1/LOKALA~1/Te
Can you perhaps be more precise about what your problem is? You can compile
to code by issuing "ghc --make Analisi -o Analisi".
/Josef
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:glasgow-haskell-
> [EMAIL PROTECTED] On Behalf Of Suzan Bayhan
> Sent: den 19 november 2004
hear from you,
/Josef Svenningsson, PhD student at Chalmers, External core tsar
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Simon Marlow wrote:
On 06 October 2004 00:53, John Meacham wrote:
This seems like it could be nicely generalized such that all
enumeration types unbox to the unboxed integer of their offset. so
data Perhaps = Yes | Maybe | No
can unbox to an Int# with 0# == Yes 1# == Maybe and 2# == No.
Yes
On Fri, 19 Mar 2004, Simon Marlow wrote:
> I did post a hash table version of this program a while back, that I
> claimed was a factor of 3 faster at the time. Unfortunately the
> attachment in the archive is in base64 and I can't read it, and I've
> lost the code :-( If you can decode the attac
On Thu, 18 Mar 2004, Carsten Schultz wrote:
> Hi Sébastien!
>
> On Thu, Mar 18, 2004 at 11:30:26AM +0100, Sébastien Pierre wrote:
> > In fact, I would like to know how Haskell compares in performance to
> > other languages because if I refer to the page I mentioned
> > (http://www.bagley.org/~doug
Hi all,
This mail is a little story about a little guy called Josef and a little
adventure he had this week together with the compiler ghc. Although
exciting, this adventure took him several hours and Josef would have been
happier without it. So he appeals to the implementors to improve on the
sit
On Mon, 23 Feb 2004, MR K P SCHUPKE wrote:
>
> Was just thinking about GHC's implementation of arrays, and their
> poor performance. I know little about GHC's internal workings, but
> I was thinking about how array performance could be improved.
>
> What if when writing an array you instead constr
Hi,
I'm playing around with the type system trying to encode various stuff in
it. I've gotten an error though which it would be useful to understand.
Say I have a type class:
class Foo a
and then I want a datatype like this:
data Bar a = Foo a => C1 | C2 ... | C3
This works fine syntactically
Hi,
Just a small feature request which has an extremely low priority.
When using --show-iface it is potentially useful to be able to print the
contents of more than one interface file. Just now I could have had use
for such a functionality. As in:
ghc --show-iface Foo*.hi
Cheers,
/Josef
Hi again,
Thanks to both Malcolm and Volker. It all works now.
/Josef
On Wed, 29 Oct 2003, Malcolm Wallace wrote:
> Josef Svenningsson <[EMAIL PROTECTED]> writes:
>
> > (This is when invoking ghci -package yahu)
> >
> > Loading package base ... linking
Hi!
Here's a letter from someone who has next to no clue about what he is
doing so have patience and don't assume any knowledge when answering...
I'm trying to create a package for ghc. I've struggled quite a lot and
gotten this far:
(This is when invoking ghci -package yahu)
Loading package ba
On Wed, 18 Jun 2003, Isaac Jones wrote:
> Hello :)
>
> Can anyone enlighten me as to the state of the ghc6 sparc
> distribution? The file on Hal's web page mentioned some time back is
> not the same file as on the GHC web page (I note that the filenames
> are different also).
>
> Are any of them
On Fri, 30 May 2003, Simon Marlow wrote:
>
> > A binary version of GHC6 is available for sparc-solaris2 machines at:
> >
> > http://www.isi.edu/~hdaume/ghc-6.0-sparc-solaris2.tar.bz2
> > 17.5 mb
> >
> > I'd appreciate it if the maintainers could copy it and make
> > it available
> > locally of
[moved over to glasgow-haskell-users]
On Wed, 19 Feb 2003, Simon Peyton-Jones wrote:
> | GHC used to have an optimisation for static argument like this. It
> would
> | turn both of the above programs into a similar form using a local
> | recursive function:
> |
> | interp y xs = interpaux xs
> |
On Wed, 13 Nov 2002, Jan Kort wrote:
>
> Juan Ignacio Garcia Garcia wrote:
> > *P2> (fromRational ((toRational 4) - ( toRational 5.2 )))
> > -1.2002
>
> I can't explain this one, how would fromRational
> know that it has to create a Double ?
>
It's the defaulting mechanism that kicks i
Hi,
Have you tried the following:
{-# NOINLINE refWInt #-}
?
/Josef
On Tue, 19 Mar 2002, Mike Gunter wrote:
>
> I'd like to extend the Ref type for observable sharing of Koen Claessen's
> Ph.D. thesis:
>
> > import IOExts ( IORef, newIORef, readIORef, writeIORef, unsafePerformIO )
On Mon, 25 Feb 2002, Simon Peyton-Jones wrote:
>
> | Suppose I have the following RULES pragma:
> |
> | {-# RULES
> | "foo" forall a . foo a = (\x -> bar x) a
> | #-}
> |
> | Ok, it's stupid but I have examples where this is motivated, trust me.
> |
> | Now, it seems that GHC simplifies the rul
Hi!
A question about the RULES pragma.
Suppose I have the following RULES pragma:
{-# RULES
"foo" forall a . foo a = (\x -> bar x) a
#-}
Ok, it's stupid but I have examples where this is motivated, trust me.
Now, it seems that GHC simplifies the rule because what I get when
compiling it wit
On Mon, 15 Oct 2001, Simon Marlow wrote:
> > With large projects, ghc runs out of heapspace because of too much
> > caching.
>
> I think it's more likely that GHC has some space leaks which cause it to
> hang on to too much memory between compilations. In theory, it only
> caches the contents of
Hi!
I would like to add a request to Thomas list of lacking features of
ghc --make:
When caching information between the compilation of different modules,
use weak pointers.
With large projects, ghc runs out of heapspace because of too much
caching. It's always fine to restart the build pro
On Mon, 6 Aug 2001, Simon Marlow wrote:
> Issue 1: should the maximum heap size be unbounded by default?
> Currently the maximum heap size is bounded at 64M. Arguments for: this
> stops programs with a space leak eating all your swap space. Arguments
> against: it's annoying to have to raise th
On Mon, 25 Jun 2001, Simon Peyton-Jones wrote:
> | * I would like to make GHC generate only the core file and
> | the hi file, nothing more. However, I haven't found a way of
> | making GHC stop after outputting the hi file. Being able to
> | do this is useful in some other cases as well; I som
[This is a reply to Andrew Tolmachs message to the Haskell list about the
-fext-core flag]
Hi!
Some comments on the -fext-core facility. First I just want to say that
it's a really cool feature. It made me a lot keener to use GHC for program
analysis measurements.
First a question which is not
On Mon, 18 Jun 2001, Julian Seward (Intl Vendor) wrote:
>
>The (Interactive) Glasgow Haskell Compiler -- version 5.00.2
> ==
>
[..]
> What's new in 5.00.2
> ==
>
[..]
How about Andrew Tolmach's -fext-core fla
Hi all!
I've been playing around with the rules facility a bit. There is a boring
shortcoming when working with infix operators. It seems that the rule
parser doesn't like them at all. The following example gives syntax error:
{-# RULES
"plus/mult" forall p . p + p = 2 * p
#-}
whereas the f
On Wed, 28 Feb 2001, Simon Marlow wrote:
> > It should be noted that synchronisation is achieved by using
> > slightly different kinds of primitives. But still... six times...
>
> And it's about to get faster still, because CVars can now be implemented
> with a single MVar instead of two. The re
Hi all.
Some days ago someone posted this url:
http://www.bagley.org/~doug/shootout/
which is a page benchmarking a number of different languages and
compilers where ghc is one of them. Some benchmarks lacked a haskell
versions (and some still do) and so I decided to fill in some of the gaps.
O
48 matches
Mail list logo