RE: GHC 5.02.1 on Mac OS X

2001-12-03 Thread Manuel M. T. Chakravarty
Nicolas Oury [EMAIL PROTECTED] wrote, We may be doing some work on Mac OS X here over summer (that's *southern* hemisphere summer!) More generaly, how hard these kinds of ports are. (How much code must you rewrite?) It's not so much a question of how much code, but how complicated that

Re: GHC 5.02.1 on Mac OS X

2001-12-03 Thread Manuel M. T. Chakravarty
Sébastien Carlier [EMAIL PROTECTED] wrote, Did you already check them into CVS? The harmless and clean ones, yes. I'll take the time to clean up and commit the rest to the repository before the end of the week. I can also mail you my patched in the meantime. We won't start on this

ANN: GHC 5.02.1 RPMs including xlib and HGL packages

2001-12-11 Thread Manuel M. T. Chakravarty
The following might be of special interest to people who are using Paul Hudak's Haskell textbook for teaching and or study and would like to run the SOE graphics examples with GHC - or if you simply want to have an X-based graphics library for an application. GHC's source distribution contains

Re: GHC 5.02 source RPM

2001-12-17 Thread Manuel M. T. Chakravarty
Arjen P. de Vries [EMAIL PROTECTED] wrote, I build the ghc from the source RPM, and everything goes fine up to creating the binary rpms as final result, but then it does not want to install the created binary rpm, due to dependency on error: failed dependencies:

Re: FFI

2002-01-11 Thread Manuel M. T. Chakravarty
Mark Conway Wirt [EMAIL PROTECTED] wrote, I'm looking for opinions as to the best way to do a C (or C++) foreign interface to GHC haskell code. It looks like there are three options. I think, there are five options: * H/Direct (you mentioned that already) * GreenCard (ditto) * C-Haskell

Re: GHC version 5.02.2 is available - RPMs

2002-01-11 Thread Manuel M. T. Chakravarty
Julian Seward (Intl Vendor) [EMAIL PROTECTED] wrote, The (Interactive) Glasgow Haskell Compiler -- version 5.02.2 == We are pleased to announce a new patchlevel release of the Glasgow Haskell Compiler (GHC), version 5.02.2.

Re: FFI

2002-01-13 Thread Manuel M. T. Chakravarty
Dylan Thurston [EMAIL PROTECTED] wrote, On Sat, Jan 12, 2002 at 01:24:54PM +1100, Manuel M. T. Chakravarty wrote: I think, there are five options: * H/Direct (you mentioned that already) * GreenCard (ditto) * C-Haskell http://www.cse.unsw.edu.au/~chak/haskell/c2hs/ * hsc2hs

Re: FFI

2002-01-14 Thread Manuel M. T. Chakravarty
John Meacham [EMAIL PROTECTED] wrote, don't forget one very big pro for hsc2hs, which is that it comes with ghc so you can count on it working. True. I find it tricky to keep c2hs (and hence gtk+hs) working with the latest ghc. no doubt the situation is getting better, but it is still

Re: Compiling the Hugs Graphics Library (HGL) with GHC?

2002-01-21 Thread Manuel M. T. Chakravarty
Hi Christoph, may I ask if anybody had any success using the Hugs Graphics Library with ghc? I did get it to compile and link, but it insists displaying most graphics in black on a black background which somewhat diminishes the viewing enjoyment. I compiled the stuff a while ago (with GHC

GHC on Win32 strangeness

2002-02-10 Thread Manuel M. T. Chakravarty
Hi! Bryn [EMAIL PROTECTED] is trying to compile C-Haskell with GHC on Win32, but ran into some problems. Firstly, configure says, $ ./configure loading cache ./config.cache checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking build system

Re: ANNOUNCE: GHC 5.02.3 released

2002-04-09 Thread Manuel M. T. Chakravarty
Simon Marlow [EMAIL PROTECTED] wrote, The (Interactive) Glasgow Haskell Compiler -- version 5.02.3 == We are pleased to announce a new patchlevel release of the Glasgow Haskell Compiler (GHC), version 5.02.3. The source

Re: GMP from haskell

2002-05-28 Thread Manuel M. T. Chakravarty
Hal Daume III [EMAIL PROTECTED] wrote, The gnu web page (www.gnu.org/manual/gmp-4.0.1/html_node/gmp_70.html) claims that Haskell (GHC) has bindings to GMP. Is this true? How can I access these routines? For example, by Prelude 1 + 2 :: Integer 3 Prelude GHC implements Haskell's

Re: possible readline license problem with ghc and -package util

2002-06-12 Thread Manuel M. T. Chakravarty
Sven Moritz Hallberg [EMAIL PROTECTED] wrote, On Tuesday 11. June 2002 17:18, Simon Marlow wrote: I have a problem with the readline license that applies to ghc, and programs compiled with ghc. The readline library is under the GPL license. This means that any program (including

Re: possible readline license problem with ghc and -package util

2002-06-12 Thread Manuel M. T. Chakravarty
Sven Moritz Hallberg [EMAIL PROTECTED] wrote, On Wednesday 12. June 2002 10:12, Manuel M. T. Chakravarty wrote: Knowing the GHC developers for quite a while (and having had BSD versus GPL discussions with them before), my answer would be that they are perfectly trustworthy, but suffer

Re: Can anyone get at c2hs in cvs?

2002-07-02 Thread Manuel M. T. Chakravarty
Adrian Hey [EMAIL PROTECTED] wrote, Sorry if this is slightly off topic, but I don't seem to be able to get at c2hs and I wonder if anyone here has had the same problem or knows of a fix. [..] When I do this all I get back is.. cvs [login aborted]: connect to ceres.cse.unsw.edu.au:2401

Re: CATALOG RH 7.3

2002-07-11 Thread Manuel M T Chakravarty
[EMAIL PROTECTED] (Donald Bruce Stewart) wrote, On Fri, Jul 12, 2002 at 12:34:39AM +1000, Manuel M T Chakravarty wrote: Since I updated to RedHat 7.3, configure doesn't seem to be able to determine a valid DocBook catalog anymore. Anybody else seen this problem or is there something

Re: ANNOUNCE: GHC version 5.04 released

2002-07-12 Thread Manuel M T Chakravarty
Simon Marlow [EMAIL PROTECTED] wrote, The (Interactive) Glasgow Haskell Compiler -- version 5.04 We are pleased to announce a new major release of the Glasgow

Re: comparison of execution speed of array types

2002-07-22 Thread Manuel M T Chakravarty
Hal Daume III [EMAIL PROTECTED] wrote, clearly IOMutArray is the best, even outperforming the UnboxedArray. Unfortunately, writing code in the IOMutArray format is much uglier than writing it in the UnboxedArray or NormalArray formats, even though I know that I'm never going to refer to an

Re: Foreign.destructArray

2002-07-23 Thread Manuel M T Chakravarty
Hal Daume III [EMAIL PROTECTED] wrote, what happened to Foreign.destructArray? I can't seem to find it anywhere... Was removed. The rational should be in the archive of [EMAIL PROTECTED] Cheers, Manuel ___ Glasgow-haskell-users mailing list

Re: Array faster than UArray Double, Was: ...speed of array types

2002-07-24 Thread Manuel M T Chakravarty
Jan Kybic [EMAIL PROTECTED] wrote, I have recently coded in Haskell a little program which evaluates a function given as a series of matrix products. Matrices and vectors are represented as type X. Surprisingly, compiled with 'ghc -O2' (vers 5.02.2) the program runs faster with X=Array than

Re: Foreign.destructArray

2002-07-24 Thread Manuel M T Chakravarty
Hal Daume III [EMAIL PROTECTED] wrote, Doesn't look like it. I looked around the full archive and the only mention of destructArray is from Marcin's post from March 2001: If not, I'm going to add also destructArray and destructArray0 to MarshalArray, and lengthArray0 while I am at it

Re: ANN: C-Haskell 0.10.16 Altocumulus Stratiformis Perlucidus Undulatus

2002-09-17 Thread Manuel M T Chakravarty
Manuel M T Chakravarty [EMAIL PROTECTED] wrote, I am pleased to announce version 0.10.16 Altocumulus Stratiformis Perlucidus Undulatus of the C interface generator C-Haskell. The web site http://www.cse.unsw.edu.au/~chak/haskell/c2hs/ now also has a binary rpm that is compiled

Re: ANNOUNCE: GHC version 5.04.2 released

2002-12-05 Thread Manuel M T Chakravarty
== The (Interactive) Glasgow Haskell Compiler -- version 5.04.2 == We are pleased to announce a new patchlevel release of the Glasgow Haskell Compiler (GHC),

Re: Effect of large binaries on garbage collection

2003-03-11 Thread Manuel M T Chakravarty
Simon Peyton-Jones [EMAIL PROTECTED] wrote, | In the current CVS GHC, undoubtedly the right thing to use is | Foreign.mallocForeignPtr. Internally these are implemented as | MutableByteArray#, so you get fast allocation and GC, but from the | programmer's point of view it's a normal

Re: ANNOUNCE: GHC vesrion 5.04.3 released

2003-03-13 Thread Manuel M T Chakravarty
== The (Interactive) Glasgow Haskell Compiler -- version 5.04.3 == We are pleased to announce a new patchlevel release of the Glasgow Haskell Compiler (GHC),

Re: @-bindings broken in 6.0?

2003-06-24 Thread Manuel M T Chakravarty
Simon Peyton-Jones [EMAIL PROTECTED] wrote, There's support for more fine-grained distinctions now. We hav -fffi -fglasgow-exts -farrows -fparr (Manuel's parallel array stuff) We could add -fth (or -fTH?) if that seemed better I think, -fth

Re: GHCi 6.0 buglet - segfault on input

2003-08-06 Thread Manuel M T Chakravarty
Simon Marlow [EMAIL PROTECTED] wrote, Yet another unimportant bug that you may or may not want to know about. In GHCi 6.0 on Red Hat 9, when I (accidentally) hit a function key, GHCi segfaults. Apparently, the function keys insert 'ESC O x', with varying x's, perhaps it's the ESC

Re: GHC with MS .Net 2003 C compiler

2003-10-15 Thread Manuel M T Chakravarty
[EMAIL PROTECTED] wrote, Generally, did you look at http://haskell.org/ghc/docs/latest/html/users_guide/faster.html module AIBD(aibd, rechneZins, rechneRate, rechneKapital) where import Foreign(unsafePerformIO) type Funktion = Double - Double data Genauigkeit = Absolut {wert,

Re: GHC with MS .Net 2003 C compiler

2003-10-16 Thread Manuel M T Chakravarty
[EMAIL PROTECTED] wrote, thanks for the help. Yes, i read the user docs for earlier, faster, thriftier, smaller ... or a permutation of this, but i do not _really_ remember from my university time what strict functions are. Is by strict meant as in Formal OO that a function is trict iff its

Re: F#

2004-05-26 Thread Manuel M T Chakravarty
On Fri, 2004-05-21 at 10:07, John Sharley wrote: I note this remark on the Microsoft Research site (http://research.microsoft.com/projects/ilx/fsharp.aspx) quote Purely functional languages like Haskell are excellent within certain niches, but unfortunately some simple programming exercises

Re: F#

2004-06-01 Thread Manuel M T Chakravarty
On Tue, 2004-06-01 at 19:31, Ashley Yakeley wrote: In article [EMAIL PROTECTED], Manuel M T Chakravarty [EMAIL PROTECTED] wrote: On Fri, 2004-05-21 at 10:07, John Sharley wrote: I note this remark on the Microsoft Research site (http://research.microsoft.com/projects/ilx/fsharp.aspx

Re: F#

2004-06-21 Thread Manuel M T Chakravarty
On Tue, 2004-06-01 at 21:20, MR K P SCHUPKE wrote: The other area (again MS specific) that F# has better interoperability, is .NET . F# (notice similarity to C#) is a funtional language within the .NET framework - hence supports the 'COM' style interface within the language primitives, just

Re: Two Proposals

2011-10-06 Thread Manuel M T Chakravarty
Roman Leshchinskiy: Simon Peyton-Jones wrote: I'm not sure if this plan would support [(fred,45), (bill,22)] :: Map String Int. Probably not. Maybe that's a shortcoming... but such Maps are a rather surprising use of list literals. What data structures other than lists do we want to

Re: Two Proposals

2011-10-06 Thread Manuel M T Chakravarty
Roman Leshchinskiy: Manuel M T Chakravarty wrote: Roman Leshchinskiy: What data structures other than lists do we want to construct using list literals? I'm not really sure what the use cases are. Parallel arrays! (I want to get rid of our custom syntax.) Why? Don't you think

Re: GHC, Clang XCode 4.2

2011-10-12 Thread Manuel M T Chakravarty
Just FYI, Xcode 4.2 is live in the Mac App Store now, and it has some nice goodies (i.e., many who develop for iOS and probably also OS X will probably adopt it soon). Manuel PS: Sorry for not having participated in the discussion on how to solve this, but I have too many loose ends right

Fwd: GHC, Clang XCode 4.2

2011-10-17 Thread Manuel M T Chakravarty
I think, you meant to reply to the list and not just to me. Von: B. Scott Michel scooter@gmail.com Betreff: Re: GHC, Clang XCode 4.2 Datum: 15 October 2011 12:32:36 An: Manuel M T Chakravarty c...@cse.unsw.edu.au Antwort an: scooter@gmail.com Simon: What are the performance

[ANN] Accelerate version 0.12: GPU computing with Haskell

2012-05-14 Thread Manuel M T Chakravarty
We just released version 0.12 of Data.Array.Accelerate, the GPGPU[1] library for Haskell: http://justtesting.org/gpu-accelerated-array-computations-in-haskell This is a beta release. The library is not perfect, but it is definitely usable, and we are looking for early adopters. Manuel [1]

Re: parallel garbage collection performance

2012-06-18 Thread Manuel M T Chakravarty
I wonder, do we have a Repa FAQ (or similar) that explain such issues? (And is easily discoverable?) Manuel Ben Lippmeier b...@ouroborus.net: On 19/06/2012, at 24:48 , Tyson Whitehead wrote: On June 18, 2012 04:20:51 John Lato wrote: Given this, can anyone suggest any likely causes of

Re: parallel garbage collection performance

2012-06-18 Thread Manuel M T Chakravarty
Bryan O'Sullivan b...@serpentine.com: On Mon, Jun 18, 2012 at 9:32 PM, John Lato jwl...@gmail.com wrote: I had thought the last core parallel slowdown problem was fixed a while ago, but apparently not? Simon Marlow has thought so in the not too distant past (since he did the work), if my

Re: GADTs in the wild

2012-08-14 Thread Manuel M T Chakravarty
Most academic papers do use the eval example, but it is a practical example. This use of GADTs is nice for embedded languages. For example, Accelerate uses a supercharged version of it to catch as many errors as possible during Haskell host program compile-time (as opposed to Accelerate compile

Re: Comparing StableNames of different type

2012-08-26 Thread Manuel M T Chakravarty
Emil Axelsson e...@chalmers.se: 2012-08-24 11:08, Simon Marlow skrev: On 24/08/2012 07:39, Emil Axelsson wrote: Hi! Are there any dangers in comparing two StableNames of different type? stEq :: StableName a - StableName b - Bool stEq a b = a == (unsafeCoerce b) I could guard the

Re: Comparing StableNames of different type

2012-08-28 Thread Manuel M T Chakravarty
Emil Axelsson e...@chalmers.se: 2012-08-26 08:03, Manuel M T Chakravarty skrev: Emil Axelsson e...@chalmers.se: 2012-08-24 11:08, Simon Marlow skrev: On 24/08/2012 07:39, Emil Axelsson wrote: Hi! Are there any dangers in comparing two StableNames of different type? stEq :: StableName

Re: Dynamic libraries by default and GHC 7.8

2012-12-04 Thread Manuel M T Chakravarty
Simon Marlow marlo...@gmail.com: This has some advantages and some disadvantages, so we need to make a decision about what we want to do in GHC 7.8. There are also some policy questions we need to answer about how Cabal will work with a GHC that uses dynamic libraries by default. We would like

Re: Mailing list reorganisation

2012-12-11 Thread Manuel M T Chakravarty
Good plan! Ian Lynagh i...@well-typed.com: Hi all, Following a recent discussion, we propose to reorganise the GHC-related mailing lists so that we end up with: glasgow-haskell-users For user discussions ghc-devs For developer discussions ghc-commits

Re: GHC 7.8 release?

2013-02-08 Thread Manuel M T Chakravarty
I completely agree with Johan. The problem is to change core APIs too fast. Adding, say, SIMD instructions or having a new type extension (that needs to be explicitly activated with a -X option) shouldn't break packages. I'm all for restricting major API changes to once a year, but why can't we

Re: GHC 7.8 release?

2013-02-10 Thread Manuel M T Chakravarty
Simon Peyton-Jones simo...@microsoft.com: If there's a path to having a release strategy as Manuel suggests, and having an intermediate release with the new vector primops, type extensions and such goodness, then I'm all for it. A lot of these bits are things ill start using almost

Re: GHC 7.8 release?

2013-02-10 Thread Manuel M T Chakravarty
a fork doesn't require any special privileges in GHC repos. Finally, we can use GitHub pull requests to track contributions that are pending integration. This is IMHO also much nicer than attaching patches at Trac tickets. Manuel On 09/02/13 02:04, Manuel M T Chakravarty wrote: I completely

Re: GHC 7.8 release?

2013-02-11 Thread Manuel M T Chakravarty
Simon Peyton-Jones simo...@microsoft.com: | You may ask what use is a GHC release that doesn't cause a wave of updates? | And hence that doesn't work with at least some libraries. Well, it's a very useful | forcing function to get new features actually out and tested. | | But the

Re: GHC 7.8.3 release

2014-05-27 Thread Manuel M T Chakravarty
I believe #9078 affects all EDSLs that use Andy Gill’s stable name method to implement observable sharing. It certainly crashes Accelerate. I would very much appreciate if 7.8.3 would be released in time to make it into the upcoming Haskell Platform. (If the platform would ship with 7.8.2.,

Re: Associated type instances

2014-06-24 Thread Manuel M T Chakravarty
Simon, I’m not sure when this ”feature” was added, but I’m pretty sure that my original implementation of associated types was exactly what you describe in the solution. Or did I miss anything? Manuel Simon Peyton Jones simo...@microsoft.com: Friends I want to make withdraw (or, rather,

Re: Reconsidering -Wall and -Wcompat

2016-02-14 Thread Manuel M T Chakravarty
Just as one data point, the Swift compiler is by default showing warnings about upcoming changes. Just like deprecation warnings, I do find that helpful. Based on that experience, including -Wcompat in -Wall seems like a good plan to me. Manuel > Ben Gamari : > > tl;dr.

<    1   2   3