Hi Adrian,
| If I have defined a function like this..
| f =
| it could be re-written..
| f =
|
| I had always assumed the internal representation of
| these 2 definitions would be identical (and should
| yield identical code), but it appears that isn't so
| (with ghc at least). S
-C option cure it... (that was hugs, wasn't it? I added
-Fcpp_hugs to HUGSFLAGS, where cpp_hugs is script which
wraps cpp. See the attachment.)
Haskell (with "syntactic sugar" rules) is quiet good itself.
Cpp is mostly used for "#if" portability triggers, and it's
good for the purpose. C-specific
Dear Haskell Hackers,
It is my pleasure to announce Release Candidate 1 of the
Foreign Function Interface (FFI) Addendum to Haskell 98:
http://www.cse.unsw.edu.au/~chak/haskell/ffi/
I like to invite comments on the specification, which is the
outcome of a rather long development effort (inclu
The only semantic difference is in the type checker - the first form
is not subject to monomorphism while the latter is unless a type
signature is present. There should be no difference at all in the
generated code.
John
___
Haskell mailing list
[EM
Hello,
Here's something I've always wanted to know but
have never dared ask until now (it seems so basic).
If I have defined a function like this..
f =
it could be re-written..
f =
I had always assumed the internal representation of
these 2 definitions would be identical (an
I faintly remember that there was once work on a Haskell specific
preprocessor. Why was the work abandoned?
cpp just annoyed me again. I wrote
(/*) = something
and cpp complained
Test.hs:4: unterminated comment
Ciao,
Olaf
--
OLAF CHITIL,
Dept. of Computer Science, The University of York
[ Apologies for multiple copies ]
**
*
* --- CALL FOR PAPERS ---
*
* 7th International Workshop on Formal Methods for Industrial Critical Systems
* (FMICS 02)
*
The (Interactive) Glasgow Haskell Compiler -- version 5.02.2
==
We are pleased to announce a new patchlevel release of the Glasgow
Haskell Compiler (GHC), version 5.02.2. The source distribution is
freely available via the World-W
Dear all,
We are currently advertising three new lectureships in Nottingham.
There are no particular research areas specified for these positions,
but applications in the area of the Foundations of Programming research
group (http://www.cs.nott.ac.uk/Research/fop/) would be most welcome.
Further