| the automated ones, seemed to handle the case of passing numerical
| arrays to C, and having them get updated and passed back. That is
my
| primary interest in the FFI and yet no obvious solution or example
| could be found after days of internet searching and pouring over
| tutorials etc.
On Thu, May 11, 2006 at 01:46:43PM +0100, Ben Rudiak-Gould wrote:
Otakar Smrz wrote:
data ... = ... | forall b . FMap (b - a) (Mapper s b)
... where FMap qf qc = stripFMap f q
the GHC compiler as well as GHCi (6.4.2 and earlier) issue an error
My brain just exploded.
I
Hello Donald,
Saturday, May 13, 2006, 11:47:34 AM, you wrote:
* Visit haskell.org
* Click on Books and tutorials
* Scroll to Using Monads
* First entry in the list is this paper.
but novices don't know what monads is a Haskell way to do I/O and
interface with C!
It was certainly
Hello mvanier,
Monday, May 15, 2006, 7:04:11 AM, you wrote:
I've been reading Phil Wadler's monad papers from the early '90s, and it's
been
interesting to see how the monad concept evolved over the course of those
years.
But I haven't been able to track down the first use of the do
I've been reading Phil Wadler's monad papers from the early '90s,
and it's been interesting to see how the monad concept evolved over
the course of those years.
But I haven't been able to track down the first use of the do notation for
monads. Can anyone tell me where that came from? I'd
I have been working with a Haskell text for the past couple of months or so
and I have some general problem solving questions.
1. Is there a way to output intermediate values of a calculation? As an
imperative programmer I have become used to using System.out's or 'cout's
to check that my
Hi Deech,
1. Is there a way to output intermediate values of a calculation?
Debug.Trace.trace is what you want, its not quite as convenient (or
safe) as cout, but its usually good enough. If you want to see more
detail then Hat (http://www.haskell.org/hat) is probably what you
want.
From a