On Fri, 28 Dec 2012, xuan bach wrote:
Hi Scott,
Thanks for your kind comment.
By the way, is it possible to use ghc --make for my
project including some external libraries and tools
such as happy, Parsec and haskell stub calling C
library?
I'm not sure about happy and foreign interfaces - as
Hi Scott,
Thanks for your kind comment.
By the way, is it possible to use ghc --make for my
project including some external libraries and tools
such as happy, Parsec and haskell stub calling C
library?
I also tried out cabal to build my project but it seems
quite complicated to use.
Best Regard
On Fri, 28 Dec 2012, xuan bach wrote:
Hi everyone,
I'm a newbie in Haskell.
I'm wondering that if there is any tool support
creating Makefile for Haskell project like Ocamlbuild
for Ocaml project?
Since ghc handles dependencies automatically, I usually just do,
all:
g
I also like this idea a lot! Here're a couple more benefits:
1) This makes it possible to generate documentation from TH - quite handy
for things like lens generation / Yesod-like DSLs.
2) The annotation can aid automatically determining how an API has changed.
I have a WIP tool[1] that tries to
Thank you. Your entry is great. Faster than fortran entry!Dou you want to
contribute at the site, or you want me to do it for you?
Date: Thu, 27 Dec 2012 15:58:40 -0800
Subject: Re: [Haskell-cafe] my Fasta is slow ;(
From: b...@serpentine.com
To: bm...@hotmail.com
CC: haskell-cafe@haskell.org
On
You could create a new thread which would be 'forever' executing your
extensive computation and updating some IOVar accordingly. The drawing
function would do nothing except reading that IOVar and displaying its
contents. Since drawing is cheap, this can be done at any reasonable rate.
28.12.2012 3
Hello cafe!
I'm having some performance issues trying to use gloss to make animations
where each "model" step is relatively time expensive. I'm using the
IO.Simulate module because my step function needs to do an IO operation
which takes around 1 second (it may vary).
I will try to give some deta
On Tue, Dec 18, 2012 at 12:42 PM, Branimir Maksimovic wrote:
>
> Seems to me that culprit is in function random as I have tested rest of
> code
> and didn't found speed related problems.
>
The problem with your original program was that it was not pure enough.
Because you stored your PRNG state
On Thu, Dec 27, 2012 at 11:48 PM, Rustom Mody wrote:
> On Thu, Dec 27, 2012 at 8:26 PM, Kim-Ee Yeoh wrote:
>> What he really wants methinks is a way to suppress type classes
altogether! That or a NoOverloadedNumerals extension.
>
> I'm not really sure about that... Look!
>
> Prelude> :t [[1,2],3]
I love the idea, but it seems like it's a bit too early in Haskell's life
to implement it. Not everyone's on GHC 7.6.1+.
- Clark
On Thu, Dec 27, 2012 at 3:20 PM, Iavor Diatchki wrote:
> Hi,
>
> I think that this is a neat idea that should be explored more! GHC's
> parser has a bunch of awkw
Hi,
I think that this is a neat idea that should be explored more! GHC's
parser has a bunch of awkward duplication to handle attaching documentation
to types, and it'd be cool if we could replace it with an actual language
construct.
Happy holidays!
-Iavor
On Wed, Dec 26, 2012 at 3:27 AM, Chri
Hi cafe,
I just finally published a decent documentation website and binary
distributions for my log visualization tools written in Haskell -
http://jkff.info/software/timeplotters/ .
I think now they might actually stand a chance of starting to be adopted by
a wider circle than my friends :)
Fe
Thanks, this is great!
Tom
Sent from my iPhone
On Dec 26, 2012, at 7:43 PM, Christopher Done wrote:
> Ahoy hoy,
>
> Just thought I'd announce a tool I whipped up these evening to take a
> module name and a name and output the installed Haddock documentation
> for it. Examples with my GHCi ses
Forgot to say: if you go the first route, you'll also need to define your
fromInteger in every module — the one from .ghci won't be in scope.
You can define
module MyPrelude (module Prelude, fromInteger) where
import Prelude hiding (fromInteger)
fromInteger = id
and import it instead.
*
* Rustom Mody [2012-12-27 22:18:15+0530]
> But now we are in for new surprises: Try out
> f x y = x / y
> Prelude> :l f
> [1 of 1] Compiling Main ( f.hs, interpreted )
>
> f.hs:1:11: Not in scope: `/'
> Failed, modules loaded: none.
> Prelude> (/)
It's because RebindableSyntax impli
I don't know about the RebindableSyntax extension. But
Prelude> :t [[1,2],3]
[[1,2],3] :: (Num [t], Num t) => [[t]]
The above only says that is is possible to have a list like [[1,2],3] if
you have for a Num t, [t] is also an instance of Num. But it doesn't
guarantee the existence of such an ins
This is something I always missed. Thank you!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Thu, Dec 27, 2012 at 8:26 PM, Kim-Ee Yeoh wrote:
> Hi David, it looks like Rustom's aware that haskell's not lisp. What he
> really wants methinks is a way to suppress type classes altogether! That or
> a NoOverloadedNumerals extension.
>
> -- Kim-Ee
>
>
I'm not really sure about that... Look!
Kyle Hanson, Mon 2012-12-24 @ 15:49:44-0600:
> Has anyone gotten this to work on Windows either native or on cygwin?
> Is there an alternative?
It may work on Cygwin, but I know for sure that it wouldn't run natively
on Windows, as part of hsenv's functionality involves generating and
executing ba
Hi David, it looks like Rustom's aware that haskell's not lisp. What he
really wants methinks is a way to suppress type classes altogether! That or
a NoOverloadedNumerals extension.
-- Kim-Ee
On Thu, Dec 27, 2012 at 4:03 PM, David Virebayre wrote:
> Prelude> :t [[1,2],3]
>
> you have a list wi
Prelude> :t [[1,2],3]
you have a list with 2 elements:
- [1,2]
- 3
the type of [1,2] is [Integer]
the type of 3 is Integer
But all elements in a list must have the same type.
2012/12/27 Rustom Mody :
>
>
> On Thu, Dec 27, 2012 at 1:48 AM, Roman Cheplyaka wrote:
>>
>> * Rustom Mody [2012-12
On Thu, Dec 27, 2012 at 9:42 AM, Erik de Castro Lopo
wrote:
> Pieter Laeremans wrote:
>
> > Hi,
> >
> > The http-proxy package isn't compatible any longer with the latest
> > conduit. Since it is open source, I thought, I might as well try to adapt
> > it and submit a patch.
>
> Have you looked i
Hey, sounds interesting, I'll be there :)
Also, HTML in the description doesn't seem to work, you might want to
add the links as footnotes or something.
Koomi
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo
23 matches
Mail list logo