Hi Iván,
Try this:
* install GHC and darcs:
sudo apt-get install ghc6
sudo apt-get install darcs
* install WxWidgets 2.6
sudo apt-get install libwxgtk2.6-dev
sudo apt-get install freeglut3-dev
sudo apt-get install g++
* install wxHaskell
darcs get h
Hi,
Im curious about how the Haskell compilers nowadays take care of a simple
function definition like append
append [] l = l
append (h:t) l = h: (append t l)
Do they take a rewriting way like
append [1,2] [3,4] ==> 1: (append [2] [3,4])
==> 1: (
Take a look to HaSlicer
(http://labdotnet.di.uminho.pt/HaSlicer/HaSlicer.aspx).
It can do that.
Best
Miguel Vilaça
-Mensagem original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Em nome de Alfonso Acosta
Enviada: sexta-feira, 18 de Maio de 2007 12:11
Para: Haskell-cafe
Assunto: [Ha
Hi again,
IMHO for what concerns to the language they only differ in syntax. They are
equal up to constructor names.
What could be the case is that some compiler could do some optimizations
that end up with better performance in time and space when using lists.
But for what people gently ask me,
Hi,
Can someone tell me if would be any difference (beside syntax) between the
built-in Haskell list with [] and : and lists given by a inductive datatype
definition like
data List a = Nil | Cons a (List a)
This is, is any of the compilers doing some special optimizations for the
built-
Hi all,
Is there a simple tool or command to remove all comments from a Haskell
file, i.e. something that outputs the input file but without any comments on
it?
Best
Miguel Vilaça
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://ww
Hi
> Some sort of module dependancy graph would also be handy, but I'm not
> sure any program can yet produce that kind of information.
Take a look to HaSlicer
(http://labdotnet.di.uminho.pt/HaSlicer/HaSlicer.aspx )
Currently it is only available online but if you want it to run locally in
your
Dear Haskellers,
I had used some code which worked fine on GHC 6.4 and now it dont compile
on GHC 6.6.
Can anyone please give me some workarounds and/or explanations about these 2
errors?
instance InfoKind a b => InfoKind (Maybe a) b where
blank = Nothing
check n _ Nothing = ["
Sorry. In the previous email I forgot the subject.
Hi
I’m having a small problem with the portability
of my Haskell code. My code uses wxHaskell and the library for which this one
is the Haskell interface (that is called wxWidgets) doesn’t work in the
same away in Windows and Linux.
Hi
I’m having a small problem with the portability
of my Haskell code. My code uses wxHaskell and the library for which this one
is the Haskell interface (that is called wxWidgets) doesn’t work in the
same away in Windows and Linux.
Now I now which code run in Linux and in Windows b
-> (b, d)
f x y = (g x, g y)
-
Simply create a class an give instances for the wanted types.
The code above is also in a file in attachment.
cheers
José Miguel Vilaça
Departamento de Informática - Universidade do Minho
[EMAIL PROTECTED]
-Mensagem original-
De:
11 matches
Mail list logo