RE: Haskell jobs (fwd)

2000-07-19 Thread Axel Simon
o complete their libraries in order that it might move into the "industrial" section. Greetings, Axel Simon.

Re: Haskell jobs (fwd)

2000-07-19 Thread Axel Simon
On Wed, 19 Jul 2000, George Russell wrote: What you need for that is SUPPORT, for example, to ensure that things still work when Haskell changes. This is difficult to guarantee in an academic environment. But the success of a language will depend on the quality of the libraries, too. If we

Re: Extensible data types?

2000-09-25 Thread Axel Simon
On Mon, 25 Sep 2000, Jose Romildo Malaquias wrote: Is there any Haskell implementation that supports extensible data types, in which new value constructors can be added to a previously declared data type? I think this is what the TREX (extensible records) in Hugs are about. Take a look at

Re: Extensible data types?

2000-09-25 Thread Axel Simon
Is there any Haskell implementation that supports extensible data types, in which new value constructors can be added to a previously declared data type? I think this is what TREX (extensible records) in Hugs are about. Take a look at

Announce: Gtk2Hs - A Haskell binding for Gtk2

2002-03-24 Thread Axel Simon
Note: This is not gtk+hs. Gtk2Hs is a rewrite of gtk+hs. It is a binding to the recently released version of Gtk2 with a couple of improvements over gtk+hs: - Automatic memory management. - Nearly complete coverage of widget functions and their signals, including the new text and list

Re: Constant space infinite itteration ... solution?

2002-12-13 Thread Axel Simon
On Friday, December 13, 2002, at 05:06 PM, Jan Kort wrote: Also ... I've been using the graphics libs with HUGS, but I can't find the equivalent in GHC ... what is the recomended library for writing GUIs in GHC Haskell? And where do I get it? shameless advert You may as well try Gtk2HS which is

Announce: Gtk2hs version 0.9.2

2002-12-21 Thread Axel Simon
Gtk2hs - A Haskell binding for Gtk+ version 2 Note: This is not gtk+hs. New features in this release: - Tree/List widgets support new features like selections and editing - drawing primitives allow the creation of costom widgets - documentation in DocBook XML automatically created from

Re: Gtk and Object I/O

2003-01-17 Thread Axel Simon
Hi folks, when I first asked Manuel (author of gtk+hs) if it is ok to make my Gtk binding public, he said something along the lines of I can't keep you from making it public and I am not going to stop gtk+hs because of this. So it seems we are all waiting for the critical user mass that makes our

Re: GUI for Windows

2003-03-03 Thread Axel Simon
On Mon, Mar 03, 2003 at 04:21:22PM +0100, [EMAIL PROTECTED] wrote: What User Interface Library would you recommend for use under Windows? I tried FranTk but it crashes as soon as I run the display function (under hugs) and with ghc it won't even compile (I already tinkered with the makefiles,

Re: Reading/Writing Binary Data in Haskell

2003-07-15 Thread Axel Simon
On Thu, Jul 10, 2003 at 09:28:38AM +0200, Martin Sjgren wrote: tor 2003-07-10 klockan 04.56 skrev Glynn Clements: OTOH, existing implementations (at least GHC and Hugs) currently read and write 8-bit binary, i.e. characters 0-255 get read and written as-is and anything else breaks, and

Future of Haskell: GUI development

2003-09-10 Thread Axel Simon
[This is a summary on the GUI discussion at the Haskell workshop/HIM, as announced by Henrik Nilsson] The future development of GUI libraries for Haskell The development of Haskell applications with a graphical user interface has long been complicated by the large number of mostly incomplete

Announce: Gtk2hs version 0.9.4

2003-11-19 Thread Axel Simon
gtk2hs - A Haskell binding for Gtk+ version 2 GUI Toolkit. This binding provides a low-level wrapper around the Gtk GUI Toolkit. It covers nearly all widgets and thus provides a stable development API. Recent additions include the SourceView widget contributed by Duncan Coutts. The library is

Re: GreenCard (How to Marshell Int64)

2003-12-12 Thread Axel Simon
On Thu, Dec 11, 2003 at 08:55:25PM -0500, Liwen Huang wrote: Hello: I am using GreenCard to import some C code into Haskell. The code I want to import uses long in a lot of places. I tried to write my own DIS for it and I also write a very simple test program. However, the DIS does

Re: [Haskell] Making a spreadsheet with Haskell

2004-02-12 Thread Axel Simon
On Thu, Feb 12, 2004 at 03:00:29PM +0100, Miren Cob Isasi de Virgala wrote: Hi, I would like to know how can I make a spreadsheet using Haskell (something like Excel, a very-reduced version, of course) Do I need any kind of special library? How can I make the interface so the user can

Re: [Haskell] GHC 64bit?

2004-02-13 Thread Axel Simon
On Fri, Feb 13, 2004 at 10:20:43AM +0100, Ketil Malde wrote: [EMAIL PROTECTED] (Donald Bruce Stewart) writes: SimonM may want to comment, but at the moment I think GHC is limited to 4G, but only due to lack of 64bit machines/demand on the developers. There is an IA64 port somewhere, and

Re: [Haskell] 3d or Nd geometry library?

2004-02-16 Thread Axel Simon
On Fri, Feb 13, 2004 at 11:31:39AM -0800, Abraham Egnor wrote: I was somewhat surprised to see that there's only one geometry library on the haskell libraries page, and further dismayed to find that it for the most part only does 2d. It seems like haskell should be a natural fit for

Re: [Haskell] Announce: wxHaskell 0.6

2004-02-23 Thread Axel Simon
On Mon, Feb 23, 2004 at 01:33:38PM +0100, Daan Leijen wrote: Announcement: wxHaskell version 0.6 -- Tested on: - windowsXP and windows 2000 with ghc 6.2, 6.0.1, and wxMSW 2.4.2 - MacOS X 10.3 (Panther) with ghc 6.2 and wxMAC

Re: [Haskell] GHC EXE Windows

2004-03-08 Thread Axel Simon
At 08:09 04/03/04 +, Stenio wrote: GHC executable file only works in MS-DOS. I would like run the executable file on Windows. Can someone help me Thanks Did you write a GUI program and each time you double click your program gets started out of a DOS window? If that is the case you

Re: [Haskell] COM port IO on a Windows machine?

2004-03-17 Thread Axel Simon
On Wed, Mar 17, 2004 at 05:46:25PM +1030, Peter Pudney wrote: I have a microcontroller connected to the COM2 port on a Windows machine, and want my Haskell program to interact with it. My Haskell program is working nicely on my Mac, with interaction using stdin and stdout, but I am not

Re: [Haskell] for large x, log (x::Integer) :: Double

2004-07-05 Thread Axel Simon
On Sun, Jul 04, 2004 at 12:32:39PM +0200, Dylan Thurston wrote: On Wed, Jun 30, 2004 at 03:07:00PM -0700, Greg Buchholz wrote: -- Inspired from Mr. Howard Oakley. Might not qualify as good, -- but with this function I get log10(x)=849.114419903382 ... For those who aren't aware:

Re: Top Level TWI's again was Re: [Haskell] Re: Parameterized Show

2004-11-22 Thread Axel Simon
On Mon, 2004-11-22 at 23:34, John Velman wrote: In a nutshell: I want to use the old value of a tag to compute the new value, in a callback, I want to access the tag from other callbacks, and I want to the value to a mutable list from within the callback. I'd

Re: [Haskell] Should inet_ntoa Be Pure?

2005-05-07 Thread Axel Simon
On 5/7/05, Dominic Steinitz [EMAIL PROTECTED] wrote: Does anyone know why these are in the IO monad? Aren't they pure functions converting between dotted-decimal strings and a 32-bit network byte ordered binary value? I guess the answer is no for both: The first one can fail and the second

Re: [Haskell] offside rule question

2005-07-15 Thread Axel Simon
Brian, On Thu, 2005-07-14 at 19:58 -0500, Brian Smith wrote: On 7/14/05, Frederik Eaton [EMAIL PROTECTED] wrote: On Thu, Jul 14, 2005 at 03:15:32AM +0200, Lennart Augustsson wrote: The offside rule is patronizing. :) It tries to force you to lay out your program in a certain way. If

Re: [Haskell] Re: ST/STRef vs. IO/IORef

2005-08-04 Thread Axel Simon
On Wed, 2005-08-03 at 12:07 -0500, Srinivas Nedunuri wrote: I was wondering what advice folks had. In particular, what are the disadvantages to doing everything in the IO monad - ie why even bother with the ST monad? The most obvious disadvantage is that the IO monad has no

Re: [Haskell] Re: ST/STRef vs. IO/IORef

2005-08-04 Thread Axel Simon
On Thu, 2005-08-04 at 10:58 +0200, Wolfgang Jeltsch wrote: Am Donnerstag, 4. August 2005 10:21 schrieb Axel Simon: [...] Nowadays, you can use one of the MonadState monad State transformer monads like State and StateT can be implemented without using special language features. So

[Haskell] Gtk2Hs 0.9.9 released

2005-08-15 Thread Axel Simon
Dear all, A new release for Gtk2Hs, namely version 0.9.9 is now available. This is a bug-fix release which is meant to fix various issues in the 0.9.8 release. The tarball is available from at Sourceforge. The md5 checksum is 3276545190248d40c683cd42f51a1b6e. Changes since 0.9.8: * many

Re: [Haskell] Making Haskell more open

2005-11-13 Thread Axel Simon
On Sun, 2005-11-13 at 18:18 +0100, Wolfgang Jeltsch wrote: Am Freitag, 11. November 2005 20:08 schrieb John Velman: I agree with Gour. I found txt2tags as a result of a discussion on the GTK2HS list. It is simple to use, readable as is, or easily transformable to a variety of targets.

Re: [Haskell] Drawing charts via Haskell

2005-12-20 Thread Axel Simon
On Tue, 2005-12-20 at 15:14 +0100, Gerbrand van Dieijen wrote: Hello, I plan to develop a library in Haskell to draw charts, such as pie charts, bar charts and line charts, to visualize data. Functionality will be similar to gnuplot, or chart libraries that already exist for other

Re: [Haskell] Re: ANN: HDBC (Haskell Database Connectivity)

2006-01-09 Thread Axel Simon
Keean et al, On Sun, 2006-01-08 at 14:51 +, Keean Schupke wrote: My solution to this when developing a database library for my own use was to define the API in a bracket notation style, and only provide safe functions. The idea is that the function obtains the resource, calls a function

Re: [Haskell] Re: ANN: HDBC (Haskell Database Connectivity)

2006-01-09 Thread Axel Simon
On Mon, 2006-01-09 at 11:33 +0100, Benjamin Franksen wrote: On Monday 09 January 2006 10:03, Axel Simon wrote: On Sun, 2006-01-08 at 14:51 +, Keean Schupke wrote: My solution to this when developing a database library for my own use was to define the API in a bracket notation style

RE: [Haskell] IO == ST RealWorld

2006-01-24 Thread Axel Simon
On Tue, 2006-01-24 at 09:17 +, Simon Peyton-Jones wrote: | Is there any reason why IO should not be defined as: |type IO a = ST RealWorld a | in implementations that support ST? | | This way IORef/STRef and IOArray/STArray can be merged. I know under the | hood they already share

Re: [Haskell] I18N, external strings

2006-11-17 Thread Axel Simon
A comment on gettext, On Nov 15, 2006, at 17:35, Stefan Aeschbacher wrote: Hi there is a project for i18n on sourceforge. It contains for example bindings to the gettext library which could be helpful. I'm not sure though how up to date this project is (project page looks very empty).

Re: [Haskell] Haskell fast (?) arrays

2007-05-01 Thread Axel Simon
Frederico, On Tue, 2007-05-01 at 13:59 +0200, Federico Squartini wrote: I was reading an old post where Hal Daume III was analyzing Haskell performance for arrays. He proposed a test program which initializes an array, reverse it a number of times, and sums the contents. So I wrote a c++

[Haskell] reading from stdin

2007-10-04 Thread Axel Simon
Hi, I'm trying to continuously output data to a file handle while reading single characters from the user to adjust the speed at which things are output. I'm interested to get this to work in Hugs on Windows. I successfully used the following function ghci under Mac OS: {{{ getUserInput :: IO

Re: [Haskell] C++ bindings

2007-10-12 Thread Axel Simon
Hi Wolfgang, On Oct 12, 2007, at 15:22, Wolfgang Jeltsch wrote: Hello, what are good approaches for creating Haskell bindings to C++ libraries? The most promising so far seems to create C wrappers around the C++ libraries and then bind to them. Is it feasible to bind directly to C++

[Haskell] release manager needed for Gtk2Hs

2008-05-17 Thread Axel Simon
Good morning all, the Gtk2Hs library, one of the two major GUI libraries for Haskell, is in need of a release manager. With the upcoming HACR, I have realised that we haven't released in a long time despite the fact that there are many new developments in the darcs repository (the

Re: [Haskell] Re: Help : A problem with IO

2008-11-26 Thread Axel Simon
Hi Abdullah, On Wed, 2008-11-26 at 21:48 +0530, abdullah abdul Khadir wrote: Hi, The function getMyLine written by me is intended for getting a complete string from the standard input. import IO getMyLine :: IO [Char] getMyLine = do c - getChar

[Haskell] two PhD positions in static analysis, Technical University Munich, Germany

2009-11-02 Thread Axel Simon
are part of the Emmy Noether Programme Verifying Legacy C Programs using Numeric Domains which is headed by Axel Simon. This project, in turn, is located within the chair of Helmut Seidl. The PhD students will be supervised by Axel Simon. What you should provide: - Master (or equivalent) degree

[Haskell] Gtk2Hs version 0.11.0 released

2010-05-25 Thread Axel Simon
Dear all, the Gtk2Hs team is very happy to announce the release of version 0.11.0, the first release that comes in Cabal packages! Gtk2Hs is a collection of wrappers around the Gtk+ graphical user interface suite. However, it is more than just user interfaces! Using a subset of packages,

Re: [Haskell] Gtk2Hs version 0.11.0 released

2010-05-27 Thread Axel Simon
Hi Bulat, On 27.05.2010, at 19:14, Bulat Ziganshin wrote: Hello Axel, Tuesday, May 25, 2010, 4:02:21 PM, you wrote: the Gtk2Hs team is very happy to announce the release of version 0.11.0, the first release that comes in Cabal packages! can be built with GHC 6.10 and 6.12 and Cabal 1.6

Re: Re[2]: [Haskell] Gtk2Hs version 0.11.0 released

2010-05-27 Thread Axel Simon
Hi Bulat, On 27.05.2010, at 20:04, Bulat Ziganshin wrote: Hello Axel, Thursday, May 27, 2010, 9:50:57 PM, you wrote: does it mean that i can just issue cabal install gtk with any 6.10.* or 6.12.* version and it will be compiled automatically? overall, can Maybe I'm missing the point

Re: Re[4]: [Haskell] Gtk2Hs version 0.11.0 released

2010-05-27 Thread Axel Simon
Hi Bulat, On 27.05.2010, at 20:21, Bulat Ziganshin wrote: Hello Axel, Thursday, May 27, 2010, 10:13:45 PM, you wrote: http://code.haskell.org/gtk2hs/INSTALL thank you. and what if i deploy my gtk2hs application via hackage? is it enough for user to run cabal install myapp to install my

Re: Re[2]: [Haskell] Gtk2Hs version 0.11.0 released

2010-05-28 Thread Axel Simon
Ups, some chronological hick-up here. But I think your question is answered now :-) Note: On 27.05.2010, at 20:13, Axel Simon wrote: for example, i can't use previous gtk2hs version with ghc 6.10.4 on windows because there is no prebuilt library and i'm not brave enough to compile it myself

[Haskell] Gtk2Hs 0.11.1 released

2010-08-14 Thread Axel Simon
Dear all, after a few months of shaking out bugs, we've released a new patch- level version of Gtk2Hs, the binding to the Gtk+ GUI library suite. Notable changes: - several bug fixes with respect to concurrency on a variety of platforms - linking problems in ghci have been resolved -

[Haskell] Gtk2Hs 0.12.0 released

2010-11-10 Thread Axel Simon
Dear all, the Gtk2Hs team is happy to announce a new release of the core packages glib, gio, pango, cairo, and gtk all in version 0.12.0. Andy Steward has put in a lot of effort to add many new functions to gtk, thereby getting close to covering the full Gtk+ API. John Obbele has kindly

Re: [Haskell] Please help me to reconstruct the Yarrow website! Re: New haskell.org server

2010-12-13 Thread Axel Simon
Hi Paul, On Dec 13, 2010, at 17:01, Hudak, Paul wrote: Dear All: My research group is paying $200/month to maintain the old haskell.org at Yale, and we cannot continue doing this indefinitely -- indeed, I had hoped that we could have turned off the machine by now. I propose that we

Re: [Haskell] More work to be done re: haskell.org move?

2010-12-14 Thread Axel Simon
Hi Brent, On 14.12.2010, at 16:02, Brent Yorgey wrote: On Mon, Dec 13, 2010 at 10:35:22AM -0800, Don Stewart wrote: Hi Paul, The move is complete. There are no haskell.org services running there now. You could shut down the machine in December if you wish. Everyone keeps saying the move is

Installation Problem on NT

1998-06-19 Thread Axel Simon
exited with non-zero status 1 What went wrong? Perl and Cygwin obviously work and my PATH should be ok as well. Thank you for your help, Axel Simon.

hsc crashes when compiling GHC 4.06 sources

2000-03-15 Thread Axel Simon
Hi, I downloaded the sources from GHC 4.06, made the shallow tree, added a build.mk in mk/ with -H80, later with -H80 -O2, made ./configure in ghc/ and ./configure in the main tree, (copied both .y files because happy doesn't work on links done with lndir -- it's only NT), said make boot and

No crash anymore.

2000-03-15 Thread Axel Simon
Hi again, please forget that about the crashing hsc. I've reinstalled ghc-4.045 (it still calls itself 4.05) and it works as good as before. Now I've deleted everthing else, checked out the current cvs tree, made the shallow tree current/, did autoconf and ./configure in /current/ghc and the

underscore does not start a varid

2000-05-24 Thread Axel Simon
Hi, my program uses (data-) variables beginning with _. This is legal Haskell 98 and Hugs accepts it. GHC 4.06 thinks these are constructors. Cheers, Axel.

Re: The simplest program

2003-02-14 Thread Axel Simon
On Thu, Feb 13, 2003 at 03:41:13PM +0100, Wolfgang Thaller wrote: The current HEAD is not able to compile the simplest of all Haskell programs... but I don't think the bug affects anyone. Compiling module Main where main = return () yields Main.hs:1: Ambiguous type variable

bugs in happy

2003-11-12 Thread Axel Simon
Hi Simon, I tried to write a monadic lexer and parser just to find that: - omitting %name defaults to happyParse. However this name is used internally in a different function at a different location, leading to a Multiply declarations of `Parser.happyParse' error form GHC. It doesn't change

Re: Text.ParserCombinators.Parsec requires -package text.

2004-09-09 Thread Axel Simon
On Wed, Sep 08, 2004 at 10:35:35AM +0100, Simon Marlow wrote: Following up to my own message: On 08 September 2004 10:26, Simon Marlow wrote: [..] Not to mention incompatible C libraries: suppose I have two packages implementing Haskll layers over gtk 1.2 and 2.0 - I can't try to link

ghci of RPM package of ghc 6.2.2 segfaults

2004-11-02 Thread Axel Simon
I installed the ghc 6.2.2 RPM package on a system that didn't have anything Haskell like installed on it before. When I run ghci I get: ~/current/sources/analyzer:$ ghci ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.2.2, for Haskell 98. / /_\\/

Re: ghc-6.2.2: unknown package name: Main (again)

2004-12-01 Thread Axel Simon
Hi, On Wed, 2004-12-01 at 17:36, Gregory Wright wrote: I cleaned out all of the *.o and *.hi files and rebuilt. Everything was OK. No doubt there was something stale in one of the *.hi files, although the error message is perplexing to those of us who don't channel Simonness ;--) I came

Re: ghc-pkg -g fails on Solaris

2005-01-19 Thread Axel Simon
On 18 Jan 2005, at 15:12, Duncan Coutts wrote: Hi, On all Unix platforms except Darwin, ghc-pkg calls: ld -r -x -o HSfoo.o --whole-archive libHSfoo.a See: ghc/utils/ghc-pkg/Main.hs, function autoBuildGHCiLib This works for the GNU linker. For the Solaris linker (which takes the name ld, GNU ld

Bad eta expand during building

2005-03-16 Thread Axel Simon
Hi, I'm just trying to compile ghc 6.4. I was a bit put off by ton's of Bad eta expand messages scrolling off my screen. It looks like this: Bad eta expand 1 __coerce GHCziBase.Z0T{(w) tc 40} (CmmParse.zgzg{v rej3} @ GHCziBase.Z0T{(w) tc 40} @ GHCziBase.Z0T{(w) tc 40}

Building ghc-6.4-branch on Solaris

2005-06-09 Thread Axel Simon
Hi, after faking my way around the not-enough-register in libraries/OpenGL recently reported on the HOpenGL list, I ran into the following: ==fptools== gmake all - --no-print-directory -r; in

Re: Building ghc-6.4-branch on Solaris

2005-06-10 Thread Axel Simon
On Thu, 2005-06-09 at 15:24 +0200, Christian Maeder wrote: Axel Simon wrote: gcc -O -Wall -I../../../ghc/includes -I../../../ghc/rts -I/core/include-c env.c -o env.p_o cc1: /core/include: Not a directory My gcc does not complain about that missing directory. I was able to create

Compiling ghc 6.4 with ghc 5.04.3

2005-07-06 Thread Axel Simon
Hi, I'm trying to bootstrap 6.4 with a binary 5.04.3 on Debian Linux. I get the following during linking: stage1/nativeGen/AsmCodeGen.o: In function `slZu_dflt': stage1/nativeGen/AsmCodeGen.o(.text+0x7ebe): undefined reference to `GHCziPrim_zdwZ2H_entry' stage1/nativeGen/AsmCodeGen.o: In

RE: Compiling ghc 6.4 with ghc 5.04.3

2005-07-06 Thread Axel Simon
] [mailto:glasgow-haskell-bugs- | [EMAIL PROTECTED] On Behalf Of Axel Simon | Sent: 06 July 2005 09:14 | To: glasgow-haskell-bugs@haskell.org | Subject: Compiling ghc 6.4 with ghc 5.04.3 | | Hi, | | I'm trying to bootstrap 6.4 with a binary 5.04.3 on Debian Linux. | | I get

RE: Compiling ghc 6.4 with ghc 5.04.3

2005-07-07 Thread Axel Simon
On Wed, 2005-07-06 at 10:06 +0100, Simon Peyton-Jones wrote: That's weird. We compile 6.4 with 5.04.3 every night. Maybe you are using different flags than we are? - can you send your build.mk I haven't changed anything, i.e. no build.mk. - plus a full transcript so we can see what

RE: [HOpenGL] FW: ghc-6.4.1 on solaris

2005-07-12 Thread Axel Simon
On Tue, 2005-07-12 at 12:54 +0100, Simon Marlow wrote: On 12 July 2005 11:52, Christian Maeder wrote: Sven Panne wrote: FYI: I've just committed a fix to CVS HEAD for GHC on SPARC to reduce the register pressure on gcc, which will probably make its way into GHC 6.4.1. The OpenGL/GLUT

RE: [HOpenGL] FW: ghc-6.4.1 on solaris

2005-07-12 Thread Axel Simon
On Tue, 2005-07-12 at 13:27 +0100, Simon Marlow wrote: On 12 July 2005 13:14, Axel Simon wrote: On Tue, 2005-07-12 at 12:54 +0100, Simon Marlow wrote: On 12 July 2005 11:52, Christian Maeder wrote: Sven Panne wrote: FYI: I've just committed a fix to CVS HEAD for GHC on SPARC

RE: ghci-6.4.1 on solaris

2005-09-16 Thread Axel Simon
On Fri, 2005-09-16 at 15:03 +0100, Simon Marlow wrote: I've checked it in. Please let me know if it enhances your life... I'm trying. But I'm too stupid to use CVS. The repository moved so I tried: [EMAIL PROTECTED]:~/source/ghc-6.4-branch:505$ cvs -d :pserver:[EMAIL PROTECTED]:/cvs

RE: quoting in error messages

2006-04-07 Thread Axel Simon
awkward unless run through latex. Axel. Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:glasgow-haskell-bugs- | [EMAIL PROTECTED] On Behalf Of Frederik Eaton | Sent: 07 April 2006 13:40 | To: glasgow-haskell-bugs@haskell.org | Subject: quoting in error messages

haddock's image markup doesn't work for me

2006-12-07 Thread Axel Simon
Hi, I tried to put images into my comments as follows: -- | images/stock-icons/stock_about_24.png but it produces TD CLASS=doc A HREF=images/stock-icons/stock_about_24.png lt;images/stock-icons/stock_about_24.pnggt;/A i.e. there shouldn't be any around the url of the image. Am I missing

Re: haddock's image markup doesn't work for me

2006-12-07 Thread Axel Simon
On Thu, 2006-12-07 at 14:07 +, Neil Mitchell wrote: Hi -- | images/stock-icons/stock_about_24.png Why not: -- | images/stock-icons/stock_about_24.png I thought that was the syntax. I don't want to link to the image, I want to see it on the web-page. The announcement of haddock

Re: [grapefruit] can't run Grapefruit

2009-05-25 Thread Axel Simon
On May 25, 2009, at 19:26, Dean Herington wrote: I decided to try on Max OS X (10.5). It seemed to get a bit further, but still no joy. Anyone have a suggestion? bash-3.2$ ghci GHCi, version 6.10.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done.

Re: Problem with profiling

2009-06-02 Thread Axel Simon
On May 31, 2009, at 21:20, Marco Túlio Gontijo e Silva wrote: Hello, recently there was a thread about a problem in profiling in gtk2hs-users, and it was menitoned that this could be a GHC6 bug. The problem is described in http://sourceforge.net/mailarchive/forum.php?

Re: Proposed ghc-pkg and cabal feature - right list?

2010-03-16 Thread Axel Simon
I'm replying to Simon M. and myself, as should have sent my first reply to the ghc users list, I guess. On 14.03.2010, at 10:54, Axel Simon wrote: Hi Dan, I reply to libraries, I think that's the right list for Cabal. On 13.03.2010, at 21:39, Dan Knapp wrote: There doesn't seem

segmentation fault in Gtk2Hs callbacks

2010-05-06 Thread Axel Simon
Good morning, I'm looking at ticket http://hackage.haskell.org/trac/ghc/ticket/4038 and wonder who is to blame: - this segmentation fault occurs in Gtk2Hs' callbacks (i.e. a Haskell function pointer is being passed to C land) and in a signal (where a general machinery is used to invoke a

Re: ANNOUNCE: GHC 6.12.3 Release Candidate 1

2010-05-24 Thread Axel Simon
Hi Ian, I can build this version on Mac OS X 10.5 and compile Gtk2Hs against it. All concurrency demos work and the more complicated demos work that trigger several levels of callbacks (to C and back to Haskell). Cheers, Axel On May 23, 2010, at 20:42, Ian Lynagh wrote: Hi all, We are

Re: ANNOUNCE: GHC 6.12.3 Release Candidate 1

2010-05-27 Thread Axel Simon
On 27.05.2010, at 16:28, Christian Maeder wrote: Axel Simon schrieb: Hi Ian, I can build this version on Mac OS X 10.5 and compile Gtk2Hs against it. All concurrency demos work and the more complicated demos work that trigger several levels of callbacks (to C and back to Haskell). 1. I

Re: Re[2]: [Gtk2hs-users] ANNOUNCE: GHC 6.12.3 Release Candidate 1

2010-05-27 Thread Axel Simon
On 27.05.2010, at 19:50, Bulat Ziganshin wrote: Hello Axel, Thursday, May 27, 2010, 8:42:08 PM, you wrote: - you use -threaded to compile your program - you only use postGUISync and postGUIAsync from threads different to the Gtk2Hs thread Is this true? If yes, I'll give you an

hsc2hs on Mac OS 10.6 unreliable?

2010-06-08 Thread Axel Simon
Hi all, we're facing serious problems (the seg'faulting kind) with Gtk2Hs on Mac OS 10.6. Chris has tracked this down to incorrect structure offsets that hsc2hs calculates. The offsets that hsc2hs calculates are too large, so it is probably in x86_64 mode. The offsets with which Gtk+ was

Re: hsc2hs on Mac OS 10.6 unreliable?

2010-06-09 Thread Axel Simon
Hi Christian, On 09.06.2010, at 10:30, Christian Maeder wrote: Chris Kuklewicz schrieb: hsc2hs: On OS 10.6 ghc is calling hsc2hs without any special -arch option, and hsc2hs is calculating offsets in x86_64 mode. This is breaking the interface between ghc and c-structures for various

Re: mallocForeignPtr vs. C

2010-07-13 Thread Axel Simon
Hi Evan, Ed, On Jul 12, 2010, at 22:53, Edward Z. Yang wrote: Excerpts from Evan Laforge's message of Mon Jul 12 16:43:45 -0400 2010: Yeah, that's definitely the safest and simplest. But the copying defeats the purpose of passing a pointer in the first place, which was to not have to

Re: mallocForeignPtr vs. C

2010-07-13 Thread Axel Simon
On Jul 13, 2010, at 22:17, Edward Z. Yang wrote: Excerpts from Axel Simon's message of Tue Jul 13 16:03:01 -0400 2010: If your C code has a way to properly unref a pointer then you could wrap your ForeignPtr in a StablePtr and pass that to C land. Once C has freed the StablePtr the ForeignPtr

behaviour of ghci on .c modules that are part of a library

2010-07-14 Thread Axel Simon
Hi all, I'm trying to debug a segfault relating to the memory management in Gtk2Hs. Rather than make you read the ticket http://hackage.haskell.org/trac/gtk2hs/ticket/1183 , I'll describe the problem: - compiler 6.12.1 or 6.12.3 - darcs head of Gtk2Hs with #define DEBUG instead of #undef

Re: behaviour of ghci on .c modules that are part of a library

2010-07-16 Thread Axel Simon
hit: http://hackage.haskell.org/trac/ghc/ticket/781 I was able to work around this problem by compiling the C modules with -fPIC. This bug is pretty bad, I'd say. I've added myself to its CC list. Cheers, Axel On 14.07.2010, at 16:51, Axel Simon wrote: Hi all, I'm trying to debug

Re: [Gtk2hs-devel] behaviour of ghci on .c modules that are part of a library

2010-07-16 Thread Axel Simon
Hi Simon, On 16.07.2010, at 14:29, Simon Marlow wrote: On 16/07/2010 12:36, Axel Simon wrote: Dear Haskell maintainers, I've progressed a little and found that the problem is down to accessing global variables that are declared in dynamic libraries. In a nutshell, this doesn't

Re: backward compatibility

2011-01-20 Thread Axel Simon
Hi Simon, On Jan 20, 2011, at 17:54, Simon Marlow wrote: The layout fix is this change: http://hackage.haskell.org/trac/ghc/changeset/9a82b1ffa35fa4c3927c66a1037a37d436cf6aac Another case where GHC was not strictly standards-compliant, and it was fixed by adding a flag for the extension.

Re: backward compatibility

2011-01-20 Thread Axel Simon
On 21.01.2011, at 03:12, Ian Lynagh wrote: On Thu, Jan 20, 2011 at 09:22:37PM +0100, Axel Simon wrote: In the case of the layout bug, I think it might be worth considering going the other way: adjusting the standard with what ghc has always done. Anyone can propose language changes

Re: backward compatibility

2011-01-21 Thread Axel Simon
be is if someone proposed it. That's the process we have in place for changing the base language. I have proposed to incorporate this extension into the Haskell standard. Axel Simon | -Original Message- | From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell- | users

Re: GHCi+Cairo, Windows

2011-02-03 Thread Axel Simon
Hi Alexey, On 01.02.2011, at 16:47, Alexey Shumitsky wrote: Hi, I have problem with ghci+cairo on windows. When I try to load, for example like this ghci -package cairo it fails with the following error: Loading package random-1.0.0.2 ... linking ... done. Loading package haskell98 ...

Re: [Gtk2hs-users] cairo error: ghc.exe: unable to load package `cairo-0.12.0'

2011-04-04 Thread Axel Simon
Hi Daniel, On 04.04.2011, at 16:01, Daniel wrote: Hi list, I've built gtk2hs successfully for ghc-7.0.2, but if I try to load the example Drawing.hs from the cairo packages demo folder I get: *Main :load Drawing.hs [1 of 1] Compiling Main ( Drawing.hs, interpreted ) Ok,

ghc sensitive to struct layout

2005-02-10 Thread Axel Simon
Good morning, gcc uses a different convention from the Microsoft environment when it comes to laying out fields in C structs, in particular bit fields. Can I pass the -optc--mms-bitfields to ghc when it compiles via C without negative effect? This flag is not implicit at the moment which I

Programming Win32

1999-11-25 Thread Axel Simon
Hi all, I tried to write a Win32 program in with GHC 4.05 but I am stumbeling over the definition type WNDCLASS = (ClassStyle, -- style HINSTANCE, -- hInstance MbHICON, -- hIcon MbHCURSOR, -- hCursor MbHBRUSH,-- hbrBackground MbLPCSTR,-- lpszMenuName ClassName)

Re: types from ghc - got them!

2000-11-21 Thread Axel Simon
On Tue, 21 Nov 2000, Bernard James POPE wrote: Obviously there are issues with type variables which are quantified outside the local definition, but careful naming of things should be able to fix this. Hi, For my master thesis I wrote a tool called Typeview (presented at IFL'00) that can

Weird symbol prevents GHCi from loading my package.

2002-02-13 Thread Axel Simon
Hi, I built quite a big library and turned it into a package. It works fine if use ghc -package gtk2 Blah.hs to compile things. But when I convert all the libraries to object files as described in the documentation, GHCi refuses to load the whole machinery: ~/source/mogul/fpDemo:$ ghci -package

hsc2hs does not fail

2002-04-16 Thread Axel Simon
Hi, for some reason hsc2hs does not fail if the automatically generated program fails to execute. This only happends if I forget to set LD_LIBRARY_PATH before saying make. But it leads to a confusing error messages when an empty .hs file is left and ghc complaints with file name does not match

Re: renamed GMP symbols in GHC

2012-01-04 Thread Axel Simon
Hi all, On 04.01.2012, at 17:50, Joachim Breitner wrote: BTW, Is there a way to get the linker to create two independent copies of a library in one program space? Maybe if it is compiled as PIC (random name dropping here)? That would seem to be an elegant solution, as it makes the distro

Fwd: [Gtk2hs-users] GHC 7.4+ rts_evalIO

2012-01-28 Thread Axel Simon
Dear ghc developers, there seems to be a change in the C functions of ghc. How do we fix this? Is there some guide as to what has changed? Thanks, Axel Begin forwarded message: From: Andriy Polishchuk andriy.s.polishc...@gmail.com Date: 27. Januar 2012 03:36:50 MEZ To:

Re: [Gtk2hs-users] GHC 7.4+ rts_evalIO

2012-01-28 Thread Axel Simon
Oh, ok, sorry, I didn't realize this was the same issue. Please ignore this email then. Axel On 28.01.2012, at 14:40, Eugene Kirpichov wrote: Axel, See my recent email to gtk2hs-users, I already proposed a fix for this. 28.01.2012, в 17:36, Axel Simon axel.si...@in.tum.de написал(а

Re: Proposal: EPHEMERAL pragma

2012-10-25 Thread Axel Simon
On 25.10.2012, at 16:45, Johan Tibell wrote: Interesting idea. On Thu, Oct 25, 2012 at 6:56 AM, José Pedro Magalhães j...@cs.uu.nl wrote: 3. Emit a warning if the generated core code still contains uses of Rep. I think this part will be really annoying, as GHC might end up generating

Re: How to use C-land variable from Cmm-land?

2012-12-09 Thread Axel Simon
On 09.12.2012, at 00:12, Yuras Shumovich shumovi...@gmail.com wrote: It looks wrong for me: the highest part of %rax remains uninitialized. When 32 bits are assigned to any of the standard registers, the upper 32 bits are implicitly set to zero. Intel is weird. Axel

FilePath as ADT

2006-02-03 Thread Axel Simon
I think this is not yet discussed on the wiki: From the recent post to the Haskell list: Forwarded Message From: Krasimir Angelov [EMAIL PROTECTED] To: haskell haskell@haskell.org Subject: [Haskell] System.FilePath survey [..] * Will you be happy with a library that

RelaxedLayout language extensions should be default for Haskell

2011-01-21 Thread Axel Simon
Hi, following the discussion on the ghc mailing list, I propose that the new RelaxedLayout extension that is proposed for ghc 7.1 should be incorporated into the language standard. The motivation is that ghc 7.1 have silently implemented the RelaxedLayout by default and that removing

  1   2   >