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
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
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
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
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
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
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]
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
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
.
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
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
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
$ 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
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
14 matches
Mail list logo