Op 11-sep-2007, om 18:43 heeft Greg Meredith het volgende geschreven:
Thanks for these comments. i wouldn't judge Haskell solely on the
basis of whether it embraced reflection as an organizing
computational principle or as a toolbox for programmers. Clearly,
you can get very far without
Axel Simon wrote:
a) is the behaviour I want, but unfortunately for platform d)
b) must be due to ghci and Hugs having different opinions on whether
stdin should be line buffered or unbuffered
c) this is weird
d) this is broken
You can probably unify the behaviors of platforms a, b and c by
Paulo J. Matos wrote:
So the slowness of Haskell (compared to Clean) is consequence of
its type system. OK, I'll stop, I did not write Clean nor Haskell
optimizers or stuff like that :-D
type system? Why is that? Shouldn't type system in fact speed up the
generated code, since it will
Peter Verswyvelen wrote:
I would like to load 32-bit images (RGB+alpha) for use with GLUT/OpenGL.
I know GTK2HS has support for loading images, but does a standalone
Haskell (wrapper) module exists for loading images?
See the message PNG files by Tim Newsham, sent to haskell-cafe on the
Chris Eidhof wrote:
On 26 nov 2007, at 19:48, Henning Thielemann wrote:
I wonder whether it is a typical mistake of beginners
to write 'return' within a do-block (that is, not at the end)
and if it is possible to avoid this mistake by clever typing.
In a proper monad 'return' can be fused
Bulat Ziganshin wrote:
Hello Andrew,
Thursday, November 29, 2007, 1:11:38 AM, you wrote:
IMHO, someone should make a full proposal by implementing an alternative
System.IO library that deals with all these encoding issues and
implements H98 IO in terms of that.
We need two
Thomas Hartman wrote:
A translation of
http://www.ahinea.com/en/tech/perl-unicode-struggle.html
from perl to haskell would be a very useful piece of documentation, I
think.
Perl encodes both Unicode and binary data as the same (dynamic) data
type. Haskell - at least in theory - has two
ChrisK wrote:
For GHC 6.6 I created
foreign import ccall unsafe memcpy
memcpy :: MutableByteArray# RealWorld - MutableByteArray# RealWorld - Int#
- IO ()
{-# INLINE copySTU #-}
copySTU :: (Show i,Ix i,MArray (STUArray s) e (ST s)) = STUArray s i e -
STUArray s i e - ST s ()
Bernd Brassel wrote:
Is it already a known problem that the preprocessor cannot cope with the
whole set of possible string declarations?
Yes, it is:
http://hackage.haskell.org/trac/hackage/ticket/146
I ran into it lately. I was totally unaware of what caused GHC's parse
error on a valid
Mattias Bengtsson wrote:
I found myself writing this for an Euler-problem:
digits :: Int - [Int]
digits i | i 10= [i]
| otherwise = i `mod` 10 : digits ( i `div` 10 )
And i realised it was quite some time ago (before this function) i had
actually written any explicitly
Andrew Coppin wrote:
Yeah, we should probably set up a seperate list for this stuff...
Perhaps you can use
http://haskell.org/haskellwiki/?title=Talk:FrontpageDraftaction=edit ?
That page is also a better place to fight your edit wars than the front
page is.
Reinier
Cristian Baboi wrote:
Haskell strengts as I see them:
- it is lazy with class
- it is strongly typed
- it has automatic memory management
- it has a standard library
- it has a compiler
- it is available on several platforms
- it has a community
- it is free
Is there anything you would like to
also report bugs by email to b...@darcs.net.
Kind Regards,
the darcs release manager,
Reinier Lamers
[1]: You can download the Haskell platform from
http://hackage.haskell.org/platform/
signature.asc
Description: This is a digitally signed message part
Regards,
the darcs release manager,
Reinier Lamers
signature.asc
Description: This is a digitally signed message part.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi,
Op zondag 11 juli 2010 18:02 schreef Jason Dagit:
On Sun, Jul 11, 2010 at 5:51 AM, Reinier Lamers
tux_roc...@reinier.dewrote:
If you have installed the Haskell Platform or cabal-install, you can
install
this beta release by doing:
$ cabal update
$ cabal install darcs-beta
this beta release by doing:
$ cabal update
$ cabal install darcs-beta
Alternatively, you can download the tarball from
http://darcs.net/releases/darcs-2.4.98.2.tar.gz and build it by hand as
explained in the README file.
Kind Regards,
the darcs release manager,
Reinier Lamers
signature.asc
Op 17-jan-2008, om 1:21 heeft Joachim Breitner het volgende geschreven:
They explicitly write that they want haskell support, and the oldest
open bug report on their page is about this:
http://labs.ohloh.net/ohcount/ticket/205
So if anyone feels like programming some ruby (I guess they want
Ian Lynagh wrote:
On Tue, Jan 22, 2008 at 03:16:15PM +, Magnus Therning wrote:
On 1/22/08, Duncan Coutts [EMAIL PROTECTED] wrote:
On Tue, 2008-01-22 at 09:29 +, Magnus Therning wrote:
I vaguely remember that in GHC 6.6 code like this
length $ map ord a string
being
Johan Tibell wrote:
What *does* matter to the programmer is what encodings putStr and
getLine use. AFAIK, they use lower 8 bits of unicode code point which
is almost functionally equivalent to latin-1.
Which is terrible! You should have to be explicit about what encoding
you expect.
Timo B. Hübel wrote:
On Wednesday 30 January 2008 13:03:27 you wrote:
Just don't use hGetContents in any serious code, or any program longer
than 4 lines.
What else do you suggest? I just want to read something out of the socket
without knowing it's length beforehand (my example here
Bayley, Alistair wrote:
More than one person has posted previously about the flaws and traps of lazy IO. A common
position seems to be don't do lazy IO.
Still, when I was browsing the Haskell' wiki a few days ago, I couldn't
find any proposal to remove lazy I/O or move it into some special
Op 7-feb-2008, om 13:53 heeft Dave Bayer het volgende geschreven:
Under this extreme hypothesis, how do I embed a compressed tar file
into a single file command line tool written in Haskell and
compiled by GHC?
Hack up a shell script or a small Haskell program to automatically
generate a
Op 22-feb-2008, om 1:54 heeft Conal Elliott het volgende geschreven:
The goal redesigning for composability is that we get more for
less. Haddock can focus on its speciality, namely hyperlinked
Haskell code documentation, and pandoc on its, namely human-
writable and -readable prose with
Op 17-mrt-2008, om 5:39 heeft Emir Pasalic het volgende geschreven:
And is the plural 'gatte'? :)
Not in Dutch, then it's 'gaten' (which is irregular, and the
Afrikaners don't like irregularities, so they regularized it).
Reinier
___
Haskell-Cafe
Op Thursday 08 May 2008 21:10:08 schreef Wei Yuan Cai:
shift is defined as a - Int - a
It's not. It's defined as (Bits a) = a - Int - a or something along those
lines. So there is a restriction that the type a must be a member of the Bits
typeclass.
Because test is essentially just shift, its
Op Tuesday 20 May 2008 23:23:57 schreef Marc Weber:
On Tue, May 20, 2008 at 12:38:14PM -0700, Kirk Peterson wrote:
I had a difficult time getting wxhaskell installed and working on a
mac running os x 10.5. I did a quick write up of the process I got
working here:
Hi all,
Op Thursday 10 July 2008 12:16:25 schreef Grzegorz Chrupala:
Is there a less ugly way of avoiding laziness in the code pasted below then
the use of seq in the last line?
You could replace the list dfs' with a strict list type, like:
data StrictList a = Cons !a !(StrictList a) | Nil
package exclusively for compression (Petr)
Kind Regards,
the darcs release manager,
Reinier Lamers
signature.asc
Description: This is a digitally signed message part.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman
* 1712: correctly report number of patches to pull
* 1720: fix cabal haddock problem
* 1731: fix performance regression in check and repair
Kind Regards,
the darcs release manager,
Reinier Lamers
[1]: You can download the Haskell platform from
http://hackage.haskell.org/platform
: correctly report number of patches to pull
* 1720: fix cabal haddock problem
* 1731: fix performance regression in check and repair
Kind Regards,
the darcs release manager,
Reinier Lamers
[1]: You can download the Haskell platform from
http://hackage.haskell.org/platform/
signature.asc
: fix short version of progress reporting
* 1712: correctly report number of patches to pull
* 1720: fix cabal haddock problem
* 1731: fix performance regression in check and repair
* 1741: fix --list-options when option has multiple names
Kind Regards,
the darcs release manager,
Reinier
as
explained in the README file. (You may notice that the Unix permissions in
this tarball are weird - all files are 0600. That is because of Cabal bug
#627: http://hackage.haskell.org/trac/hackage/ticket/627. It will be fixed in
the final release.)
Kind Regards,
the darcs release manager,
Reinier Lamers
$ cabal install darcs-beta
Alternatively, you can download the tarball from
http://darcs.net/releases/darcs-2.4.98.4.tar.gz and build it by hand as
explained in the README file.
Kind Regards,
the darcs release manager,
Reinier Lamers
signature.asc
Description: This is a digitally signed
release by doing:
$ cabal update
$ cabal install darcs-beta
Alternatively, you can download the tarball from
http://darcs.net/releases/darcs-2.4.98.5.tar.gz and build it by hand as
explained in the README file.
Kind Regards,
the darcs release manager,
Reinier Lamers
signature.asc
.
Kind Regards,
the darcs release manager,
Reinier Lamers
signature.asc
Description: This is a digitally signed message part.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
the web on
http://bugs.darcs.net/ . You can also report bugs by email to b...@darcs.net.
Kind Regards,
the darcs release manager,
Reinier Lamers
[1]: You can download the Haskell platform from
http://hackage.haskell.org/platform/
signature.asc
Description: This is a digitally signed message
2008/11/11 Dave Tapley [EMAIL PROTECTED]:
So I should clarify I'm not a troll and do see the Haskell light. But
one thing I can never answer when preaching to others is what does
Haskell not do well?
Let's say something controversial: I think that Haskell's type system
gets in your way when
37 matches
Mail list logo