Hi,
I am trying to write some Haskell application using COM.
One application is controling the LEGO robot.
The robot works fine when I code my program using VB.
However, when I use Haskell, there is an error: "invoke fail", "invalid
number of parameters".
Because my Haskell program can be comp
Chapter "IO" of the Haskell 98 Library Report contains this example:
import IO
import System
main = do
[f1,f2] <- getArgs
h1 <- openFile f1 ReadMode
h2 <- openFile f2 WriteMode
copyFile h1 h2
hClose h1
hClose h2
Hi,
Is there a way to let hugs show the intermediate
expressions in a reduction sequence?
There's a module that comes with hugs called "EvalRed.hs"
which has functions that do something like this, but it only works for
expressions of the type "Term", where
Term = Square Term | Plus Term
On 23-Jul-2000, Julian Assange <[EMAIL PROTECTED]> wrote:
> Jon Fairbairn <[EMAIL PROTECTED]> writes:
> > [George Russell wrote:]
> > > Surely this is obvious to Haskell programmers?
> > to me, anyway. If two runs (with different flags) of the
> > compiler produce programmes that give different r
Julian Assange <[EMAIL PROTECTED]> writes:
> complex-tecture pov-ray picture distributed to a 56 bit IEEE machine
> and a 64 bit one. The when the picture elements are stitched back
Is this really due to color differences of the order of 10^-17, or
rather due to different libc-inherited random n
Fri, 21 Jul 2000 09:29:11 -0700, Simon Peyton-Jones <[EMAIL PROTECTED]> pisze:
> http://research.microsoft.com/~simonpj/#derive
Ahhh! Looks like it covers the case of deriving for newtypes!
Does every currently derivable class fit into this?
I wonder if it's able to derive Dynamic, which
There was earlier some discussion on the Basic algebra proposal
(basAlgPropos), in particular, about the Sample argument approach
(SA).
This SA is somehow opposed by the Haskell community.
On the other hand, it may occur that the dependent types, Cayenne
provide some alternative approach