AW: [Haskell-cafe] Haskell overview

2004-03-12 Thread Markus . Schnell
and for some days now Markus Schnell -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Gour Gesendet: Freitag, 12. März 2004 14:53 An: [EMAIL PROTECTED] Betreff: Re: [Haskell-cafe] Haskell overview MR K P SCHUPKE ([EMAIL PROTECTED

AW: GHC and Panther (Mac OS X 10.3)

2003-11-20 Thread Markus . Schnell
try using (sudo) gcc-select 2 Cheers, Markus -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Thomas Davie Gesendet: Donnerstag, 20. November 2003 02:07 An: [EMAIL PROTECTED] Betreff: GHC and Panther (Mac OS X 10.3) Hi, I've just

Graphical Programming Environments (was: ANNOUNCE: Release of Vit al, an interactive visual programming environment for Haskell)

2003-11-13 Thread Markus . Schnell
I've sometimes thought that a functional language would be the ideal platform to usher in a purely graphical style of programming; I don't understand why so many people talk about graphical programming, i.e. putting together functions, arguments, definitins etc. with the mouse

AW: Heap profiling in GHC broken?

2003-11-04 Thread Markus . Schnell
I have no idea how to set up cvs under windows to get things from a non-local repository, but anyway, profiling worked on the macintosh. I spent the whole weekend plus monday to find the space leak, but eventually I did. Heap Profiling was very helpful there. Unfortunately, space leaks are

AW: AW: Heap profiling in GHC broken?

2003-11-04 Thread Markus . Schnell
The canonical tutorial paper is in the Advanced Functional Programming Summer Schools series: C. Runciman and N. Rojemo. Heap profiling for space efficiency. In J. Launchbury, E. Meijer, and T. Sheard, editors, 2nd Intl. School on Advanced Functional Programming, pages

Heap profiling in GHC broken?

2003-10-29 Thread Markus . Schnell
the equivalent of statement in '0x0058db43' points to memory in '0xfffc'. Could not read.) Cheers, Markus -- Markus Schnell ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

AW: Using existential types

2003-10-10 Thread Markus . Schnell
Hi Graham, Instead, I replace the class instances by a single algebraic data type, whose members are functions corresponding to OO-style class methods. could you give an example? Thanks, Markus ___ Haskell-Cafe mailing list [EMAIL PROTECTED]

AW: Newbie qustion about monads

2003-10-02 Thread Markus . Schnell
I'm not trying to create useful monads (I'm pretty sure they aren't :), but understanding the concepts. So, the question remains: when the monad laws say that (return x) = f == f x The Monad class is just called Monad because it is intended to cover a monad. But it doesn't ensure the

Re: Debugging

2003-08-28 Thread Markus . Schnell
Me too, of course. But it isn't always easy to test a function in isolation. If it takes complex data structures as input, then the only reasonable way to provide that input may be calling it from another piece of the code. Yes. Therefore the best thing is to codesign program and tests in

AW: Haskell indentation

2003-08-26 Thread Markus . Schnell
. You have to SEE the structure of the code. That depends very much on what your program does. No rules of thumb. Experience and experiments will do. (That was taken *directly* out of my convoluted brain and may be totally dumb.) Markus -- Markus Schnell Infineon Technologies AG, CPR ET Tel +49

AW: Yet Another Monad Tutorial

2003-08-14 Thread Markus . Schnell
and it worked very well (for me). I hope this is a sensible idea. Markus -- Markus Schnell Infineon Technologies AG, CPR ET Tel +49 (89) 234-20875 ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

AW: How to read an initialization file.

2003-03-14 Thread Markus . Schnell
I would recommend reading the variables in the main and pack the rest of your program into a monad. But only if you really need to access the variables from everywhere and don't want to pass them around explicitely. Markus I need to be able to access these values effieiently and from virtually

AW: ffi

2002-12-12 Thread Markus . Schnell
$ cc -c cfile.c $ ghc -o myprog Main.hs cfile.o won't you need -fffi also? Markus ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

AW: Editor Tab Expansion

2002-12-06 Thread Markus . Schnell
When I got somebody else's C-Code, I used gnu indent to bring it into a layout I liked (and could easily grasp). One of the points I like about Haskell is just its use of space: it makes things clearer and doesn't clutter up your screen as it does in C. I definitely had less problems with layout