I've been trying to build ghc head from the darcs repo using these
instructions:
http://hackage.haskell.org/trac/ghc/wiki/Building/GettingTheSources
Unfortunately, when I do
./darcs-all --extra get
as described under Getting more packages it fails because the
darcs-all script doesn't
Hi,
I'm finding that some data types which use Applicative to
instantiate the Num class, give responses I wasn't expecting
at the ghci prompt. A simple example is list:
import Control.Applicative
instance (Num a) = Num [a] where
as + bs = (+) $ as * bs
(*) = undefined;abs = undefined
:set -XNoMonomorphismRestriction
or eta-expand:
let op x y = x+y
The problem is that op looks like a value to the user, but it's a
function (based on the dictionary passed in), which means that any
evaluation it does isn't shared between instances.
Consider:
f1 = let v = fib 1 in \x - x +
Hi,
I was trying to write a FFI wrapper for my Haskell program which manipulates
ByteString. But I am unable to compile/link it.
Here is the toy program.
{-# LANGUAGE ForeignFunctionInterface #-}
module B where
import Foreign.C.Types
import Foreign.C.String
import qualified Data.ByteString
kenny lu wrote:
Hi,
I was trying to write a FFI wrapper for my Haskell program which manipulates
ByteString. But I am unable to compile/link it.
Here is the toy program.
{-# LANGUAGE ForeignFunctionInterface #-}
module B where
import Foreign.C.Types
import Foreign.C.String
It works indeed. Thanks.
-Kenny
On Fri, Jun 12, 2009 at 3:50 PM, Jochem Berndsen joc...@functor.nl wrote:
kenny lu wrote:
Hi,
I was trying to write a FFI wrapper for my Haskell program which
manipulates
ByteString. But I am unable to compile/link it.
Here is the toy program.
2009/6/11 Thomas Davie tom.da...@gmail.com:
Here's the logo, continuing on the batteries included theme:
http://www.cs.kent.ac.uk/people/rpg/tatd2/HaskellBatteries.png
I'd sugest a thinner and smaller lambda, or bigger (maybe longer)
batteries. The + tip of the batteries should also be colored
On 12/06/2009 08:00, Michael Vanier wrote:
I've been trying to build ghc head from the darcs repo using these
instructions:
http://hackage.haskell.org/trac/ghc/wiki/Building/GettingTheSources
Unfortunately, when I do
./darcs-all --extra get
as described under Getting more packages it fails
On 12 Jun 2009, at 10:27, Loup Vaillant wrote:
2009/6/11 Thomas Davie tom.da...@gmail.com:
Here's the logo, continuing on the batteries included theme:
http://www.cs.kent.ac.uk/people/rpg/tatd2/HaskellBatteries.png
I'd sugest a thinner and smaller lambda, or bigger (maybe longer)
batteries.
There's a SVG version of the logo on the wiki:
http://haskell.org/haskellwiki/Thompson-Wheeler_logo
On Fri, Jun 12, 2009 at 10:39 AM, Thomas Davietom.da...@gmail.com wrote:
On 12 Jun 2009, at 10:27, Loup Vaillant wrote:
2009/6/11 Thomas Davie tom.da...@gmail.com:
Here's the logo, continuing
2009/6/12 Tom Lokhorst t...@lokhorst.eu:
There's a SVG version of the logo on the wiki:
http://haskell.org/haskellwiki/Thompson-Wheeler_logo
I think the biggest problem making the batteries not look like
batteries is that they don't look round. For that we need some
careful gradenting of them,
2009/6/12 Deniz Dogan deniz.a.m.do...@gmail.com:
2009/6/12 Tom Lokhorst t...@lokhorst.eu:
There's a SVG version of the logo on the wiki:
http://haskell.org/haskellwiki/Thompson-Wheeler_logo
I think the biggest problem making the batteries not look like
batteries is that they don't look
2009/6/12 Deniz Dogan deniz.a.m.do...@gmail.com:
2009/6/12 Deniz Dogan deniz.a.m.do...@gmail.com:
2009/6/12 Tom Lokhorst t...@lokhorst.eu:
There's a SVG version of the logo on the wiki:
http://haskell.org/haskellwiki/Thompson-Wheeler_logo
I think the biggest problem making the batteries not
On 12 Jun 2009, at 11:15, Deniz Dogan wrote:
2009/6/12 Deniz Dogan deniz.a.m.do...@gmail.com:
2009/6/12 Tom Lokhorst t...@lokhorst.eu:
There's a SVG version of the logo on the wiki:
http://haskell.org/haskellwiki/Thompson-Wheeler_logo
I think the biggest problem making the batteries not
2009/6/12 Thomas Davie tom.da...@gmail.com:
On 12 Jun 2009, at 11:15, Deniz Dogan wrote:
2009/6/12 Deniz Dogan deniz.a.m.do...@gmail.com:
2009/6/12 Tom Lokhorst t...@lokhorst.eu:
There's a SVG version of the logo on the wiki:
http://haskell.org/haskellwiki/Thompson-Wheeler_logo
I think
On Fri, Jun 12, 2009 at 11:25, Thomas Davietom.da...@gmail.com wrote:
With various people's ideas taken into account, I've created a new version
of my attempt:
http://www.cs.kent.ac.uk/people/rpg/tatd2/logo-1.png
http://www.cs.kent.ac.uk/people/rpg/tatd2/logo-1.svg
I think the yellow/black
Hi all,
This module[1] implements common sub-expression elimination for graphs
generated by the Data.Reify package. (Which is a really neat tool!)
The algorithm performs a simple fixed point iteration and is not
(consciously) optimized for speed.
This package might especially be useful
On Thursday 11 June 2009, Ketil Malde wrote:
Hi,
Browsing LWN, I ran across this comment:
http://lwn.net/Articles/336039/
The author makes a bunch of unsubstantiated claims about STM, namely
that all implementations use locking under the hood, and that STM can
live- and deadlock. I've
Thanks Ryan, I'm slowly becoming aware of the effects of Monomorphism. I'll look
again at Neil Mitchell's blog post.
I guess it's the same thing when I try:
let a = 1
a + 1.0
I'm taking the mono as a clue that the type inferencing will complete after
each ghci carriage return; once only. In
On Fri, 2009-06-12 at 15:00 +0100, Paul Keir wrote:
Thanks Ryan, I'm slowly becoming aware of the effects of Monomorphism.
I'll look
again at Neil Mitchell's blog post.
I guess it's the same thing when I try:
let a = 1
a + 1.0
I'm taking the mono as a clue that the type inferencing
Greetings,
I have an idea for a project. The eventual aim is rather eccentric, but
the specifications I have sketched out are roughly as follows (best
viewed with fixed-width font due to diagrams):
0. the graphical user interface is entirely mouse driven, mouse
position/clicks/releases
On 08/06/2009 22:10, Maurício wrote:
This comes from an issue in haskell-beginner, (...)
For better or worse, this is something that people should not be
trying in the first place, (...)
Sure! That's what I sugested in the original question. I'm actually
just curious on why timer_create is
On 11/06/2009 05:40, Evan Klitzke wrote:
I've written a multi-threaded Haskell program that I'm trying to
debug. Basically what's happening is the program runs for a while, and
then at some point one of the threads goes crazy and spins the CPU
while allocating memory; this proceeds until the
I'm hearing reports of people having difficulty obtaining accounts on
the Haskell wiki, without which it is impossible to make edits.
Currently, account creation is disabled as an anti-spam measure, and the
idea is for people to mail the admin and request an account. If this is
to work, accounts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On Fri, Jun 12, 2009 at 11:58 AM, Philippa Cowderoy wrote:
I'm hearing reports of people having difficulty obtaining accounts on
the Haskell wiki, without which it is impossible to make edits.
Currently, account creation is disabled as an
This runs on MediaWiki, right? How about adding a CAPTCHA for account
registrations?
http://www.mediawiki.org/wiki/Extension:ConfirmEdit
And, more generally:
http://www.mediawiki.org/wiki/Manual:Combating_spam
Cheers,
Thomas
On Fri, Jun 12, 2009 at 18:46, Gwern Branwengwe...@gmail.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On Fri, Jun 12, 2009 at 1:53 PM, Thomas ten Cate wrote:
This runs on MediaWiki, right? How about adding a CAPTCHA for account
registrations?
http://www.mediawiki.org/wiki/Extension:ConfirmEdit
See http://haskell.org/haskellwiki/Special:Version
Am Freitag 12 Juni 2009 18:46:41 schrieb Gwern Branwen:
There are only 3 bureaucrats/admins; one is a dummy account, one is
Ashley, and one is John Peterson (who hasn't edited for a year).
One solution would be to have Ashley re-enable user registrations.
This has been suggested before, but
Daniel Fischer wrote:
Am Freitag 12 Juni 2009 18:46:41 schrieb Gwern Branwen:
There are only 3 bureaucrats/admins; one is a dummy account, one is
Ashley, and one is John Peterson (who hasn't edited for a year).
One solution would be to have Ashley re-enable user registrations.
This has been
On Fri, Jun 12, 2009 at 07:53:41PM +0200, Thomas ten Cate wrote:
This runs on MediaWiki, right? How about adding a CAPTCHA for account
registrations?
What do we avoid at all costs?
___
|___|
--
Felipe.
On Fri, Jun 12, 2009 at 03:00:12PM +0100, Paul Keir wrote:
Thanks Ryan, I'm slowly becoming aware of the effects of Monomorphism. I'll
look
again at Neil Mitchell's blog post.
I guess it's the same thing when I try:
let a = 1
a + 1.0
I'm taking the mono as a clue that the type
On Fri, Jun 12, 2009 at 08:22:25PM +0200, Daniel Fischer wrote:
Am Freitag 12 Juni 2009 18:46:41 schrieb Gwern Branwen:
There are only 3 bureaucrats/admins; one is a dummy account, one is
Ashley, and one is John Peterson (who hasn't edited for a year).
One solution would be to have Ashley
Nice work, I love this one. :-)
On Fri, Jun 12, 2009 at 3:25 AM, Thomas Davie tom.da...@gmail.com wrote:
On 12 Jun 2009, at 11:15, Deniz Dogan wrote:
2009/6/12 Deniz Dogan deniz.a.m.do...@gmail.com:
2009/6/12 Tom Lokhorst t...@lokhorst.eu:
There's a SVG version of the logo on the wiki:
You can have a description file named Nemesis, with content
nemesis = do
clean
[ **/*.hi
, **/*.o
, manifest
]
task dist $ do
sh cabal clean
sh cabal configure
sh cabal sdist
task i (sh ghci -isrc
John all,
I use HSH in my project where several external programs and Haskell
functions need to be piped together: HSH is of great help here.
I however came across the situation when one of pipe-connected
functions has signature IO (), yet it reads from stdin* and writes to
stdout.
The
Do any Haskell Meetup groups exist in or around Glasgow, an informal
get-to-gether in a pub,cafe or wherever ?
I'm in Edinburgh, and on my own have been desperately trying to rewire my
brain from Perl to Haskell without much success for most of this year. I
posted the meetup group question a few
Dimitry Golubovsky wrote:
John all,
I use HSH in my project where several external programs and Haskell
functions need to be piped together: HSH is of great help here.
I however came across the situation when one of pipe-connected
functions has signature IO (), yet it reads from stdin*
37 matches
Mail list logo