My
experience with objects comes from Common List, Clean, Hasekell and
Nice. In all these languages, the function behavior is determined by
many objects. I think that this is more powerful and clear than the
Java way. In Nice one can see the superiority of type-driven behavior
over the Java dot
I wonder whether the Haskell community tryed to reproduce the study Lisp as an
alternative to Java, by Ron Garret / Erann Gat. However, since that study was
reproduced in almost every other language (with a fair amount of cheating going
on, I believe :-), I am sure that there is a Haskell versi
, November 13, 2009, 4:04 AM
On Wed, Nov 11, 2009 at 01:26:03PM -0800, Philippos Apolinarius wrote:
> Ops, the paste is wrong, but the bug is real. I mean, if I try to run
> the program with the right input, the program aborts in the same place,
> with the same error message:
>
>
, 2009 at 07:41:54PM -0800, Philippos Apolinarius wrote:
> I discovered a Haskell compiler that generates very small and fast
> code. In fact, it beats Clean. It has the following properties:
Excellent. that was my goal ;)
> 1 --- One can cross-compile programs easily. For instance, here is
Subject: Re: [Haskell-cafe] Problem with JHC
To: "Philippos Apolinarius"
Cc: "Felipe Lessa" , haskell-cafe@haskell.org
Received: Wednesday, November 11, 2009, 9:52 AM
According to the paste you gave for the JHC test run:
Here is what happens when I try to run it:
phi...@desktop:~/
CLUDED
#define rs232_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif
#include
#include
#ifdef __linux__
#include
#include
#include
#include
#include
#include
#include
#else
#include
#endif
int OpenComport(int);
int PollComport(unsigned char *, int);
int SendByte(unsigne
L 2]
T AND [L 1,L 2]
--- On Wed, 11/11/09, Felipe Lessa wrote:
From: Felipe Lessa
Subject: Re: [Haskell-cafe] Problem with JHC
To: haskell-cafe@haskell.org
Received: Wednesday, November 11, 2009, 6:23 AM
On Wed, Nov 11, 2009 at 04:32:05AM -0800, Philippos Apolinarius wrote:
> data Op = AND | OR |
cafe] Opinion about JHC
To: haskell-cafe@haskell.org
Received: Wednesday, November 11, 2009, 1:37 AM
On Tue, Nov 10, 2009 at 07:41:54PM -0800, Philippos Apolinarius wrote:
> I discovered a Haskell compiler that generates very small and fast
> code. In fact, it beats Clean. It has the following pro
I discovered a Haskell compiler that generates very small and fast code. In
fact, it beats Clean. It has the following properties:
1 --- One can cross-compile programs easily. For instance, here is how I
generated code for Windows:
jhc --cross -mwin32 genetic.hs -o genetic
2 -- It seems to be
emper.exe
4
D:\ghc\sensors>temper.exe
4
D:\ghc\sensors>temper.exe
4
D:\ghc\sensors>temper.exe
4
D:\ghc\sensors>temper.exe
4
D:\ghc\sensors>temper.exe
unable to set comport cfg settings
4
--- On Mon, 11/9/09, Jason Dusek wrote:
From: Jason Dusek
Subject: Re: [Haskell-cafe] Help H
Recently, I received as gift medical instruments designed by one of my father
former students. There is a description of these instruments on my web page.
Here is the address:
http://www.discenda.org/med/
By the way, I am not that guy that appears in a picture wearing emg sensors.
That said, t
I made small improvements in the Small Japi Binding, and asked how to make it
available. I received a few private messages advising me to build and package
the library using a tool called cabal. Since I have used installation tools for
PLT, R and LaTeX libraries, I thought cabal was something s
Ketil Malde
Subject: Re: [Haskell-cafe] Small Japi binding for GHC
To: haskell-cafe@haskell.org
Received: Sunday, November 8, 2009, 2:02 AM
Philippos Apolinarius writes:
> So, I searched for JAPI bindings for Haskell. The only library I found
> was something called Small Japi binding for GHC
JAPI is by far my favorite GUI library. Since every machine has Java RE
installed, JAPI offers GUI with a very small footprint. Besides this, it is
very easy to code, and delivers GUI programs that are hardly larger than
console applications. I use Jorlano's version of JAPI, coded for Java 2, w
oltage and current
time series. Even the numbers are in a strange format... So, one needs to parse
the file.
--- On Tue, 11/3/09, Jason Dusek wrote:
From: Jason Dusek
Subject: Re: [Haskell-cafe] Arrays in Clean and Haskell
To: "Philippos Apolinarius"
Cc: haskell-cafe@haskell.org
R
e, and store then directly into the array. This
approach would spare me from writing using a possibly expensive heap hungry
intermediate structure.
--- On Tue, 11/3/09, brian wrote:
From: brian
Subject: Re: [Haskell-cafe] Arrays in Clean and Haskell
To: "Philippos Apolinarius"
Brian wrote:
> Really, arrays in Haskell are the most @#!$! confusing thing in the world.
Hi, Brian.
I am having a great difficulty with arrays in Haskell. In the university where
I study, functional programming is taught in Clean or in Haskell, depending on
the professor who is teaching the s
I am keeping with my project of translating programs from Clean to Haskell. As
far as arrays go, I don't understand well how to use them in Haskell.
Therefore, I will appreciate if somebody can find time to check the program
below, and make suggestions to improve it. My Haskell program is about
I tryed it, and noticed that it is very slow, compared both with Emacs,
TextPad, and Emerald. I tryed also leksah, but it is always complaining about
something missing in Pango, although it works fine. Here is the error message
(leksah.exe:1588): Pango-WARNING **: error opening config file '"C:\
As many people guess, I am trying to port programs from Clean 1.3 to Haskell
(and also to Clean 2.2, which is easier, but not much easier). Late Professor
Wellesley wrote an interesting data base manager in Clean 1.3 that I would like
to see in Haskell and Clean 2.2. However, when I tried to imp
In a private email to Ketil Malde, I said that Ocaml programmers use the
preprocessor to solve the problem of character encoding:
ocamlopt -pp myfilter.exe myprogram.ml -o myoutput.exe
I wonder whether a similar solution could be used with Haskell. I am new to
Haskell, but I suppose that Haskel
sepackage{pictexwd}
\newcommand{\cc}{\c{c}}
\title{Calling Haskell from \LaTeX}
\author{Philippos Apolinarius}
\date{}
\begin{document}
\maketitle
\input haskell.gen
\input hask.ell % load \eval
\eval{ hPutStrLn outh "Hello, fa\\c cade!"
}
\eval{ hPutStrLn outh "Il est l\\`a
ctexwd}
\title{Calling Haskell from \LaTeX}
\author{Philippos Apolinarius}
\date{}
\begin{document}
\maketitle
\input haskell.gen
\input hask.ell % load \eval
\eval{ hPutStrLn outh "Hello, facade!"
}
\eval{ hPutStrLn outh (show (fat 6))
}
\haskell{
fat n | n<1= 1
fat n= n*fat(n-
I have a friend who is an architect. I asked her why she does not use Haskell,
since she is fond of functional programming. She writes her scripts in Clean,
and needs to compile them before using them to generate postscript diagrams. In
Haskell, I told her, she could use runghc, and skip the com
Before anything else, I want to point out that I have no intention to confront
your community, or denigrate Haskell. A few days ago I answered an email from a
Clean programmer on something related to Clean. He was worried that Clean team
could give up its good work, and Clean could disappear; th
25 matches
Mail list logo