On 7 August 2011 06:15, Chris Yuen kizzx2+hask...@gmail.com wrote:
I am mainly interested in making the Haskell version perform
comparatively to the C# version. Right now it is at least 5x slower so
obviously I am missing something obvious)
You have a map call which is immediately consumed by
On Sunday 07 August 2011, 10:52:20, Max Bolingbroke wrote:
In short I don't see how to get further without changing the algorithm
or doing some hacks like manual unrolling. Maybe someone else has some
ideas?
Well, the C# implementation uses arrays for lookup while the Haskell
version uses
Am 06.08.2011 22:23, schrieb mukesh tiwari:
There are several algorithms mentioned on that page. Do you need the
diameter, width, or something else?
Oh , I did not realize that .Actually first i implemented diameter
algorithm [ http://hpaste.org/49925 ] and tested it on couple of test
cases .
http://xkcd.com/934/ (and look at the “hover text”) — so who’s
going to implement it?
--
Jón Fairbairn jon.fairba...@cl.cam.ac.uk
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Here is an updated version using Data.Array.Unboxed http://ideone.com/YXuVL
And the profile http://hpaste.org/49940
Still taking 5+ minutes...
Chris
On Sun, Aug 7, 2011 at 5:20 PM, Daniel Fischer
daniel.is.fisc...@googlemail.com wrote:
On Sunday 07 August 2011, 10:52:20, Max Bolingbroke
Hi there,
after a few weeks of development time, I have released the first
official version of my arrowized FRP library called Netwire:
http://hackage.haskell.org/package/netwire
I have written it with networking applications in mind, but it is a
general purpose library, so it can be used
What about using unsafe array indexing operations? (i.e. array `unsafeAt` index)
2011/8/7 Chris Yuen kizzx2+hask...@gmail.com:
Here is an updated version using Data.Array.Unboxed http://ideone.com/YXuVL
And the profile http://hpaste.org/49940
Still taking 5+ minutes...
Chris
On Sun, Aug
On 11-08-04 03:06 AM, Tom Doris wrote:
Is there a good reason that the default for library-profiling in
.cabal/config is set to False?
The combination of two defaults
-- library-profiling: False
-- documentation: False
points towards optimizing for people who use applications such as xmonad
On Sun, Aug 7, 2011 at 08:07, Jon Fairbairn jon.fairba...@cl.cam.ac.ukwrote:
http://xkcd.com/934/
I am suddenly imagining an unexpected increase in development activity on
YHC and the YHC Core to JavaScript translator
--
brandon s allbery
Y'all missing out:
http://www.reddit.com/r/haskell/comments/j9nef/that_seems_like_a_challenge_whatever_happened_to/
On 7 August 2011 20:31, Brandon Allbery allber...@gmail.com wrote:
On Sun, Aug 7, 2011 at 08:07, Jon Fairbairn jon.fairba...@cl.cam.ac.uk
wrote:
http://xkcd.com/934/
I am
What other imports must I add to get this to run. I can't seem to get it right.
Michael
=
import Text.ParserCombinators.Parsec.Prim
main = case (parse numbers 11, 2, 43) of Left err - print err
Right xs - print (sum xs)
numbers = commaSep integer
==
I suggest you install hoogle or use the web interface as it can easily
answer such questions for you:
http://www.haskell.org/hoogle/?hoogle=commaSep
http://www.haskell.org/hoogle/?hoogle=integer+%2bparsec
Cheers,
Thomas
On Sun, Aug 7, 2011 at 11:44 AM, michael rice nowg...@yahoo.com wrote:
Thank you Tillmann Vogt. I really appreciate your help . Finally
implemented working code [ http://hpaste.org/49957 ] .
Thank you
Mukesh Tiwari
On Aug 7, 3:16 pm, Tillmann Vogt tillmann.v...@rwth-aachen.de wrote:
Am 06.08.2011 22:23, schrieb mukesh tiwari:
There are several algorithms
On 11-08-07 02:44 PM, michael rice wrote:
What other imports must I add to get this to run. I can't seem to get it
right.
[...]
import Text.ParserCombinators.Parsec.Prim
main = case (parse numbers 11, 2, 43) of
Left err - print err
Right xs - print (sum xs)
numbers = commaSep integer
The
Thanks, Albert.
The code is from this page, just below the definition of parse:
http://hackage.haskell.org/packages/archive/parsec/latest/doc/html/Text-Parsec-Prim.html#v:parse
Michael
--- On Sun, 8/7/11, Albert Y. C. Lai tre...@vex.net wrote:
From: Albert Y. C. Lai tre...@vex.net
Subject: Re:
A colleague just asked me
I'm trying to kick off some work into middleware for configuration of
large-scale,
distributed systems. Have you come across any elegant, declarative
configuration
languages used for this sort of job?
I've found a couple of papers, but I've
16 matches
Mail list logo