qdunkan:
> However, there are some questions I've had about it for a long time.
> The 'yi' paper mentions both 'yi' and 'lambdabot' as users of
> hs-plugins. However, both those projects have long since abandoned
> it. I can't find any documentation on why, or even any documentation
> at all for
Great! It's a Friday. Why not step in.
Just some context, since the current blurb was born from a critique at
CUFP 2007, prior to which the Haskell blurb was:
"Haskell is a general purpose, purely functional programming
language. Haskell compilers are freely available for almost any
c
ketil:
>
> I needed GHC on a new machine, and went to download a binary tarball.
>
> First, I go to http://haskell.org/ghc/download_ghc_6_12_3.html,
> which kindly suggests to get the Haskell Platform instead.
>
> Then, at http://hackage.haskell.org/platform/linux.html, I'm told that I
> first
tomdoris:
> Hi,
> Are there any plans to extent the current Data.Judy package to include
> bindings
> to JudySL and JudyHS? There's a standalone binding to JudySL by Andrew Choi
> that is usable but it would of course be better to have the functionality in
> the Data.Judy package proper.
> Thanks
Here are the notes transcribed from the Future of Haskell BoF held
after the Haskell Symposium last week.
-- Don
= Future of Haskell BoF Notes =
A "birds of a feather" meeting was held at ICFP, organized by Bryan and
Johan. We had 30 (?) people in a room, for 2 hours, discussing how to
ensur
Neil's
* slides http://www.galois.com/~dons/talks/hiw-2010/ndm-shake.pdf
* video http://www.vimeo.com/15465133
ckkashyap:
> Hi Neil ... how did the talk go?
>
> On Thu, Sep 30, 2010 at 10:23 PM, Neil Mitchell wrote:
> >>> What great timing! I will be giving a talk at the Haskell Imple
Slides and videos from today's Haskell Implementors Workshop, in
Baltimore.
http://haskell.org/haskellwiki/HaskellImplementorsWorkshop/2010#Programme
Enjoy.
-- Don
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailm
I have a list:
http://twitter.com/#/list/donsbot/haskellers
pumpkingod:
> Also, it is possible to add yourself to your own twitter list :)
>
> On Fri, Oct 1, 2010 at 12:03 PM, Magnus Therning wrote:
>
> Now that there are lists/groups on Twitter
> (http://mashable.com/2009/11/02/tw
The Haskell Implementors Workshop was held in Baltimore, today.
Duncan Coutts from Well-Typed and I presented a status report on the
Haskell distribution infrastructure: Hackage , Haskell Platform and
Cabal.
The slides are here:
http://donsbot.wordpress.com/2010/10/01/hackage-cabal-and-the-h
tomahawkins:
> A few years ago I attempted to build a Haskell hardware compiler
> (Haskell -> Verilog) based on the Yhc frontent. At the time I was
> trying to overcome several problems [1] with implementing a hardware
> description language as a light eDSL, which convinced me a proper
> compiler
No, xmonad uses a different dynamic extension model based on the OS
process. To dynamically upgrade an xmonad process, you,
* modify the source (i.e. the config file)
* hit mod-q, which triggers:
+ linking of the config file into the application library, creating
a new xmonad binary
ic extension developed in the library is described in:
* Plugging Haskell In. André Pang, Don Stewart, Sean Seefried, and
Manuel M. T. Chakravarty. In Proceedings of the ACM SIGPLAN Workshop
on Haskell, pages 10-21. ACM Press, 2004
* Dynamic Applications From the Ground Up. Don St
michael:
> On Thu, Sep 16, 2010 at 10:26 AM, Andrew Coppin
> wrote:
> > On 16/09/2010 08:52 AM, Michael Snoyman wrote:
> >>
> >> future it would be beneficial to the community to have this
> >> information centralized on a website. I think it would be useful to
> >> have some basic skills and exp
- Forwarded message from Richard -
To: hask...@haskell.org
Subject: [Haskell] Announcement
My book "Pearls of Functional Algorithm Design" will
be published by CUP this month. See
http://www.comlab.ox.ac.uk/news/237-full.html
Richard Bird
- End forwarded message -
For tho
karel.gardas:
> Hello,
>
> as this is really friendly forum, I'd like to ask to perhaps solve my
> wonder. From time to time I'm seeing people here recommending Scala as a
> kind of replacement for non-existent Haskell on Java/JVM platform. My
> wonder is: why the people here do not recommend CAL,
ali.razavi:
> Is it possible to install either of these (preferably the latter) somewhere in
> my home directory without having root permission? I tried the unknown linux
> package with configure --prefix set to a subdir in my home, to no avail. The
> problem seems to be due to some library registr
tonyhannan2:
> Is there anywhere we can see the number of download for a particular package,
> especially ones you maintain yourself?
Nothing terribly automated, but the status for the last quarter:
http://donsbot.wordpress.com/2010/06/30/popular-haskell-packages-q2-2010-report/
usually use Perl for :)
>
> A quick question - import Process bombs on my GHCI(The Glorious
> Glasgow Haskell Compilation System, version 6.12.3) -what do I need to
> do for that?
>
>
> On Sun, Sep 5, 2010 at 11:12 PM, Don Stewart wrote:
> > Gaius:
> >> My us
waldmann:
> > > functional/declarative code "automatically" parallelizes,
>
> > Well, that's not really a good thing to say.
>
> Sure, sure, and I expand on the details in my lectures.
>
> But in advertising (the elevator sales pitch), we simplify.
> Cf. "well-typed programs don't go wrong".
>
waldmann:
> Don Stewart galois.com> writes:
>
> > Note that DPH is a programming model, but the implementation currently
> > targets shared memory multicores (and to some extent GPUs), not
> > distributed systems.
>
> Yes. I understand that's only part of
waldmann:
> http://book.realworldhaskell.org/read/concurrent-and-multicore-programming.html
>
> http://www.haskell.org/haskellwiki/GHC/Data_Parallel_Haskell
> Although the last two edits on that page are from 2010 and 2009.
> So what *is* the current status of DPH?
>
Note that DPH is a programmi
ivansichfreitas:
> Hi fellow haskellers,
>
> I'm interested in the performance of parallel and/or distributed
> implementations in haskell language. For example, supose I want to
> develop an application that distributes a computation between many
> multicore computers, what are the advantages I c
creswick:
> On Mon, Sep 6, 2010 at 5:29 AM, Ivan Lazar Miljenovic
> wrote:
> > On 6 September 2010 21:57, han wrote:
> >> So the question is: Do you agree that "Graphics.Rendering.OpenGL" actually
> >> should have been "Graphics.OpenGL" (or just OpenGL) for wieldiness?
> >
> > I think Graphics.Op
donn:
> Quoth Dimitry Golubovsky ,
>
> > Is there any way to catch/detect failures inside the Get monad? It is
> > not an instance of MonadError, so catchError does not work.
> >
> > Ideally, the function would keep decoding as long as it is possible,
> > and upon the first failure of the parser,
Gaius:
> My usual rhetoric is that one-off, throwaway scripts never are, and
> not only do they tend to stay around but they take on a life of their
> own. Today's 10-line file munger is tomorrow's thousand-line ETL batch
> job on which the business depends for some crucial data - yet the
> origina
ganesh.sittampalam:
> Johannes Waldmann wrote:
> > Is there a "conversion guide" for switching from base-3 to base-4?
> >
> > I noticed that ghc-HEAD (6.13) comes with base-4.3 (and no base-3).
> > This will break an awful lot of packages (?), in fact the breakage
> > starts with cabal-install (si
andrewcoppin:
> Arnaud Bailly wrote:
>> Hello,
>> I installed (succesfully) HAskell Platform 2010.2 on windows and have
>> a small but annoying issue: Some links in HTML documentation lead to
>> broken links. I did not investigate all the links, but I have seen
>> that all doc under Control.M
crazy.fizruk:
> Hi all,
>
> I am very interested in haskell and most of related things and as I know there
> are a lot of things to do for haskell world. I have rather small, as I think,
> expirience with haskell: I've worked with Language.C, alex, happy, parsec and
> some other stuff that I haven
iners/
Separately, the patches are attached to this ticket.
The consideration period is 3 weeks (before ICFP).
__
Work carried out over 28/29th August, 2010 in Utrecht, NL, by Johan
Tibell and Don St
gromopetr:
> Hi all,
>
> I've been considering using Haskell for my natural language processing
> project. Due to its nature, it has much to do with Unicode.
> Unfortunately, Haskell escapes UTF8 characters. I've been able to
> output these strings via System.IO.UTF8.putStrLn (though I wish it was
marlowsd:
> If you look at the original Cabal design document[1], you'll see that
> one of the goals of Cabal was to be the glue that lets you convert an
> arbitrary Haskell library into a native package for a variety of systems
> - including MSIs on Windows. Indeed, I must admit when we were
deteego:
>
> If people just wanted an auto udpate version of cabal that works through
> arch's
> package management, then there should have just been a pacman wrapper which
> when you install/update haskell libraries/packages, it creates a local package
> through cabal2arch instead of using AUR.
There's a lot of examples of languages implemented in Haskell to choose
from, too
http://haskell.org/haskellwiki/Applications_and_libraries/Compilers_and_interpreters#Large_languages
michael:
> Thank you all for your encouragement. I need to think about the core
> functionality, and do some
kevinjardine:
> I'm running Haskel Platform 2010.2.0.0 and attempting to compile with
> regex-compat under Windows XP.
>
> The link stage fails with a number of lines of the form:
>
> D:\Program Files\Haskell Platform\2010.2.0.0\lib\extralibs\regex-
> posix-0.94.2\ghc-6.12.3/libHSregex-posix-0.94
> On Aug 16, 9:27 pm, Andrew Coppin wrote:
> > And so today, just for giggles, I tried to get Sifflet to work. Along
> > the way, I encountered a number of... "glitches", if you will.
> >
> > First of all, I tried to get it to work on Windows. I fired up a new
> > Windows VM and installed Haskell
$ cabal update
Downloading the latest package list from hackage.haskell.org
$ cabal install sifflet
Resolving dependencies...
cabal: cannot configure pango-0.11.1. It requires cairo >=0.11.1 && <0.12
and glib >=0.11.1 && <0.12
For the dependency on cairo >=0.11.1 && <0.12
wren:
> Bryan O'Sullivan wrote:
>> As a case in point, I took the string search benchmark that Daniel shared
>> on Friday, and boiled it down to a simple test case: how long does it take
>> to read a 31MB file?
>>
>> GNU wc -m:
>>
>>- en_US.UTF-8: 0.701s
>>
>> text 0.7.1.0:
>>
>>- lazy text
andrewcoppin:
> Interesting. I've never even heard of Data.Text. When did that come into
> existence?
>
> More importantly: How does the average random Haskeller discover that a
> package has become available that might be relevant to their work?
In this case, Data.Text has been announced on t
There are many libraries for many purposes.
How to pick your string library in Haskell
http://blog.ezyang.com/2010/08/strings-in-haskell/
kevinjardine:
> I find it disturbing that a modern programming language like Haskell
> still apparently forces you to choose between a representation f
ivan.miljenovic:
> On 12 August 2010 16:45, Magicloud Magiclouds
> wrote:
> > Hi,
> > Today I found out that I cannot access hackage.haskell.org. I have
> > tried vpn/proxy to see if my network has something wrong. No luck.
>
> http://downforeveryoneorjustme.com/http://hackage.haskell.org agrees
greg:
> Hi all,
>
> Can anyone explain what the overhead of using StablePtrs is?
> Specifically I am interested in knowing the time/space complexity of the
> various Foreign.StablePtr operations and how many memory indirections
> are involved when using deRefStablePtr.
There's a hashtable in the
sacha:
> Hi.
>
> > On Mon, 9 Aug 2010 09:44:00 +0200
> > "JG" == Jean-Marie Gaillourdet wrote:
> JG>
> JG> I am no expert in web server tuning, but I will share my thoughts
> JG> about your approach and expectations nevertheless.
>
> I would better think about ghc than about web server.
Only problem is rewriting the GHC runtime in Java... :-)
-- Don
scooter.phd:
> Whatever happened to the JVM backend for GHC? That might actually be a
> relatively straightforward solution to the whole "interface to Java" problem.
>
> On Sun, Apr 18, 2010 at 11:42
ivan.miljenovic:
> On 6 August 2010 14:12, Tony Morris wrote:
> > Hello, does anyone happen to have the lambdacats page cached? The domain
> > (arcanux.org) and server have disappeared and the wayback machine doesn't
> > have the images.
>
Plenty of stuff shows up on google:
http://images.g
aditya.siram:
> Hi folks,
> I just installed the latest Haskell Platform on a fresh Ubuntu Lucid machine
> and I had to install the following packages to satisfy Open GL:
> libgmp3-dev,libgl1-mesa-dev, libglu1-mesa-dev, freeglut3-dev
>
> Just thought you might want to document that on the Haskell
job.vranish:
> + 1
>
>
> This is probably the biggest obstacle to using Haskell where I work. (Aviation
> industry, software for flight management systems for airplanes)
>
> We often need to perform some computations with hard deadlines, say every
> 20ms,
> with very little jitter.
> Major GC's
qiqi789:
>
> As more I learn haskell, I am more interested in this function
> programming language. I am intended to more focus on haskell than other
> languages like python, Java, or C++. But I am still wonder whether haskell
> can do everyting
> as other languages do, such as python, perl, Java
pieter:
> Hi,
>
> When I try to install haskell platform 64 bit on a x86_64 debian etch I get
> the
> following error after :
>
> "make install":
>
> /usr/bin/install -c -m 755 -d "/usr/local/lib/ghc-6.12.3/package.conf.d"
> "/usr/local/lib/ghc-6.12.3/ghc-pkg" --force --global-conf "/usr/local/
the API docs.
> -deech
>
> [1] http://hackage.haskell.org/packages/archive/Takusen/0.8.6/doc/html/
> Database-ODBC-Enumerator.html
>
> On Sun, Aug 1, 2010 at 1:46 PM, Don Stewart wrote:
>
>
> aditya.siram:
> > Why are the Takusen module links on Ha
aditya.siram:
> Why are the Takusen module links on Hackage dead?
Hmm. The links look fine:
http://hackage.haskell.org/package/Takusen-0.8.6
> this opportunity to request a Takusen tutorial and to thank you for this
___
Haskell-Cafe mailing
wren:
> Hey all,
>
> Is there a library function (f :: [Int] -> ByteString) such that it's
> prefix-preserving, and platform independent? GHC-only is fine for now.
> There are a bunch of functions of that type, but I need those guarantees
> and I'm hoping someone else has already done it.
sh
andrewcoppin:
> Don Stewart wrote:
>> Download the Haskell Platform 2010.2.0.0:
>>
>> http://hackage.haskell.org.nyud.net/platform/
>>
>> (Caching server).
>>
>
> Anybody have any theroes why Trend Micro Antivirus is reporting this as
> a
Applied, thanks!
leon:
> Some nits, if I may pick (http://hackage.haskell.org/platform/contents.html):
>
> Under GHC: s/optimzing/optimizing
> Under Alex: Sentence should end with a period.
> Under hsc2hs: There shouldn't be a comma.
> Under haskell code coverage: Testsuite should probably be two
We're pleased to announce the fifth release of the Haskell Platform: a
single, standard Haskell distribution for everyone.
Download the Haskell Platform 2010.2.0.0:
http://hackage.haskell.org.nyud.net/platform/
(Caching server).
The specification, along with installers (including Windows, A
dave:
> >
> > Actually, it just got trivial:
> >
> > $ diffcabal old-platform.cabal haskell-platform.cabal
> > Cabal 1.8.0.2 -> 1.8.0.6
> > QuickCheck 2.1.0.3 -> 2.1.1.1
> [etc.]
>
> Okay, so where do I go to find out the difference between, say,
> QuickCheck 2.1.0.3 and 2.1.1.1?
>
> --
wren:
> Niemeijer, R.A. wrote:
>> Here's my take on the new design:
>>
>> Screenshot: http://imgur.com/9LHvk.jpg
>> Live version:
>> http://dl.dropbox.com/u/623671/haskell_platform_redesign/index.htm
>
> Is it just me, or does aligning [OSX,Win,Linux] `zip` [Comprehensive,
> Robust, CuttingEdge]
Can distro maintainers confirm these are the best links for
each distro package?
Debian
http://packages.debian.org/squeeze/haskell-platform
(or should it be sid?)
Fedora:
https://admin.fedoraproject.org/pkgdb/acls/name/haskell-platform
Gentoo:
http://
andrewcoppin:
> Don Stewart wrote:
>> allbery:
>>
>>>> like to repeat one request: Please, please, please make it easier to
>>>> - Download older versions of HP.
>>>> - Find out which HP release contains what.
>>>> - Fi
markl:
> I like the content. The layout has some flaws when rendered on my
> environment (Safari 4, but with perhaps narrower than most peoples
> windows):
>
> * The background image tiled looks pretty bad - since I see repeats
> and it doesn't really tile.
Yes, noted.
> * The three columns at t
allbery:
> > like to repeat one request: Please, please, please make it easier to
> > - Download older versions of HP.
> > - Find out which HP release contains what.
> > - Figure out what the difference between release X and release Y is.
>
> +1
> I'd consider this mandatory. It's amazing how man
chrisdone:
> On 16 July 2010 20:37, Don Stewart wrote:
> > chrisdone:
> >> Regarding the Haskell Platform, maybe a summer theme is in order?
> >> Sunrise, here's a whole platform upgrade. Get it while it's hot, etc.
> >
> > That's a gre
chrisdone:
> On 16 July 2010 20:37, Don Stewart wrote:
> > chrisdone:
> >> Regarding the Haskell Platform, maybe a summer theme is in order?
> >> Sunrise, here's a whole platform upgrade. Get it while it's hot, etc.
> >
> > That's a gre
chrisdone:
> Hi Don,
>
> What's the ETA on getting the site wiki upgraded and to what version
> will it be? If we're looking at another couple of weeks I'll come up
> with a new wiki template this weekend to replace the current one.
For haskell.org? Thomas Schilling and Ian Lynagh are working
Generally, in Erlang or Haskell, the semantics we use is to keep
all the old code in memory, for the case of closures and thunks that
point back into that code.
You can imagine a fine-grained semantics where as each top level
function is no longer referenced, the *code* for that is swapped. I
be
Hey all,
As you might know, the next major release of the Haskell Platform is
coming up next week. We've had the current download site design for a
while now:
http://haskell.org/platform/
However, I'm thinking it would be nice to have themed release designs.
Examples:
http://www.gnome.
lazycat.manatee:
> Hi all,
>
> I'm research to build a hot-swap Haskell program to developing itself in
> Runtime, like Emacs.
>
> Essentially, Yi/Xmonad/dyre solution is "replace currently executing"
> technology:
>
>re-compile new code with new binary entry
>
>when re-compile succe
Madrid, Spain
Sven-Bodo ScholzUniversity of Hertfordshire, UK
Tom Schrijvers Catholic University of Leuven, Belgium
Don Stewart Galois, USA
Wouter SwierstraVector Fabrics, Netherlands
Don SymeMicrosoft, UK
Peter Thiemann University of
gwern0:
>
> Ashley has made me admin; I've spent the last 1.5 hours deleting all
> the vandalism and indef blocking the accounts. I have Recent Changes
> in my RSS reader, so hopefully in the future there will be no greater
> than 24 hours delay before vandalism is dealt with. A MW upgrade will
>
markl:
>
> On Jul 11, 2010, at 3:17 PM, Henk-Jan van Tuyl wrote:
> > There are hundreds of HaskellWiki users created, their names all start with
> > "Buy" and their user pages contain spam. I suppose the antispam measures
> > were reverted when a backup of the site was loaded. (B.T.W. the site s
chrisdone:
> http://haskell.org/
>
> It says "TO BUY Cilamox ONLINE", etc.
>
> Whoever has power please fix this and upgrade the bloody wiki. This is
> ridiculous. Point the domain at tryhaskell.org or something. I'll put
> a holder page up. Anything.
>
It looks like after the Yale machine was
ali.razavi:
> Hi,
>
> Hackage is a sizable repository of Haskell code; makes me wonder if there is a
> way to use it more effectively for pedagogical purposes. For example, I really
> would like to study State monad, monad transformers, applicative, arrows etc.
> in action--i.e., in the context of
joerg.rudnick:
> Hi Chris,
>
>
> these are good questions -- actually, you might have mentioned Takusen, too.
>
> Clearly, HDBC is the largest of these projects, and there are lots of
> things well done there.
>
> Takusen has an interesting approach, and I would like to see a
> discussion here
warren.henning:
> On Mon, Jul 5, 2010 at 5:46 PM, Don Stewart wrote:
> > Feedback and patches welcome!
>
> Interesting.
>
> Could this be combined with the ACOVEA compiler flag thing you did a
> while back to produce a tool that would automatically improve
> perform
Inspired by a comment by Simon Marlow on Stack Overflow, about the time
and space tradeoffs we make with garbage collection, particularly with a
generational GCs, I wrote a small program, ghc-gc-tune, to traverse the
garbage collector variable space, to see the relationship between
settings and pr
deliverable:
> I dump results of a computation as a Data.Trie of [(Int,Float)]. It
> contains about 5 million entries, with the lists of 35 or less pairs
> each. It takes 8 minutes to load with Data.Binary and lookup a single
> key. What can take so long? If I change from compressed to
> uncomp
ivan.miljenovic:
> >> Hmm, interesting. Applicative and Traversable are two classes I've never
> >> used and don't really understand the purpose of. I have no idea what
> >> hsc2hs is. I keep hearing finger trees mentioned, but only in connection
> >> to papers that I can't access. So I guess
andrewcoppin:
> Edward Kmett wrote:
>> "Knowledge of Haskell" means very different things to different
>> people. I'd be somewhat leery of blindly hiring someone based on their
>> ability to answer a couple of pop Haskell quiz questions.
>>
>> A better test might be if they really understood Ap
That's not really true. We train people at Galois in Haskell, on the job.
Often they have prior FP experience, but not always.
aditya.siram:
> > And learning (fun) should be an important aspect of the position.
> Whatever FP you're coming from, I don't think you can pick up Haskell
> on the job. H
nformation for you.
>
> It may not be the most elegant, but it only took a few minutes and it does the
> job. You'll find it attached :)
>
> Cheers,
> - Tim
>
> On Wed, Jun 30, 2010 at 5:08 PM, Don Stewart wrote:
>
>
> Downloads and
Downloads and popular packages on Hackage for Q1 and Q2 this year.
http://donsbot.wordpress.com/2010/06/30/popular-haskell-packages-q2-2010-report/
-- Don
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listin
paul:
> I'm starting to see job adverts mentioning Haskell as a "nice to have",
> and even in some cases as a technology to work with.
>
> However right now I'm looking at it from the other side. Suppose
> someone wants to hire a Haskell developer or three. How easy is this?
> I'd apprecia
claus.reinke:
>
> To binary package users/authors: is there a typed version of binary (that
> is, one that records and checks a representation of the serialized type
> before actual (de-)serialization)? It
> would be nice to have such a type check, even though it
> wouldn't protect against missin
deliverable:
> Simon -- so how can I get me a new ghc now? From git, I suppose? (It
> used to live in darcs...)
It still lives in darcs.
Nightly builds are here: http://www.haskell.org/ghc/dist/stable/dist/
You'll want to check with Simon that the patch got pushed, though,
first.
-- Don
___
marlowsd:
>> I'll work with Simon to investigate the runtime, but would welcome any
>> ideas on further speeding up cafe4.
>
> An update on this: with the help of Alex I tracked down the problem (an
> integer overflow bug in GHC's memory allocator), and his program now
> runs to completion.
>
>
Some people might be quite excited by Milan's work on significant
performance improvements to the containers package...
- Forwarded message from Milan Straka -
Date: Thu, 24 Jun 2010 07:45:50 +0200
From: Milan Straka
To: Don Stewart
Cc: Claus Reinke , librar...@haskell.org
Subjec
vigalchin:
> Hello,
>
> I have been reading work done at Rice University: http://
> habanero.rice.edu/cnc. Some work has been done by http://www.cs.rice.edu/
> ~dmp4866/ on CnC for .Net. One component that David wrote a CnC translator
> that
> translates CnC textual form to the underlying l
Rami.Mukhtar:
> Hi,
>
> Can anyone tell me a way to identify the generated assembly (as found in the
> intermediate files produced by GHC) corresponding to a particular fragment of
> Core code.
Hey Rami,
I use the ghc-core tool:
http://hackage.haskell.org/package/ghc-core
Which displays
john:
> On Tue, Jun 22, 2010 at 06:24:22PM +0100, Andrew Coppin wrote:
> > John Meacham wrote:
> >> In particular, a Huffman coding:
> >> http://en.wikipedia.org/wiki/Huffman_coding
> >> is ideal for this (assuming you just are taking advantage of frequency
> >> analysis). A dynamic Huffman Tree wi
Martin.Drautzburg:
> Hello all
>
> The standard map function applies a single function to a list of arguments.
> But what if I want to apply a list of functions to a single argument. I can
> of course write such a function, but I wonder if there is a standard way of
> doing this,
map ($ 2)
deliverable:
> At this very moment I'm struggling with fitting a huge graph of
> Twitter communications into a Haskell program. Apparently it gets
> into a loop freeing memory. As I suspected, JVM garbage collector got
> more testing than Haskell at this scale; since not many people load it
> up
deliverable:
> Wren -- thanks for the clarification! Someone said that Foldable on
> Trie may not be very efficient -- is that true?
>
> I use ByteString as a node type for the graph; these are Twitter user
> names. Surely it's useful to replace them with Int, which I'll try,
> but Clojure works
deliverable:
> > If you just want to optimize it and not compare exactly equal idiomatic
> > code,
> > you should stop using functional data structures and use a structure that
> > fits
> > your problem (the ST monad has been designed for that in Haskell), because
> > compilers do not detect sing
deliverable:
> I've supplied a profile report there. Since I load the graphs in
> memory and then walk them a lot, the time seems expected. It
> allocates a lot, though. The main graph type is
>
>
> type Graph = M.Map User AdjList
> type AdjList = M.Map Day Reps
> type User = B.ByteString
> ty
deliverable:
> I'm computing a communication graph from Twitter data and then scan it
> daily to allocate social capital to nodes behaving in a good karmic
> manner. The graph is culled from 100 million tweets and has about 3
> million nodes. First I wrote the simulation of the 35 days of data in
igouy2:
>
> parallel, regex-posix, regex-pcre are now installed and the current
> compile errors are caused by the programs not the absence of required
> libraries -
>
> http://shootout.alioth.debian.org/u64q/program.php?test=binarytrees&lang=ghc&id=2#log
>
> http://shootout.alioth.debian.org/u6
igouy2:
> > Simon Marlow described how best to parallelize this problem
> > extensively
> > in:
> >
> > http://www.haskell.org/~simonmar/bib/multicore-ghc-09_abstract.html
> >
> > So I'd suggest doing what he says.
> >
> > In particular, use thread pinning to improve locality.
>
> -qw -qm ?
igouy2:
> > > > In particular, use thread pinning to improve
> > locality.
> > >
> > > -qw -qm ?
> > >
> > > How's that going to work out when applied to the other
> > Haskell programs?
> > >
> >
> > I'm sure it does bad things to them.
>
>
> Yep, earlier in the week I measured the programs
wasserman.louis:
>
> There are 4 sets of "rankings" so -
>
>
> http://shootout.alioth.debian.org/u64/program.php?test=threadring&lang=ghc&;
> id=3
>
>
> Yes, but Haskell used to be doing much better specifically on the u64q, which
> was why I was surprised.
Oh, indeed,
http:/
igouy2:
>
> Now how do we get those regex-dna and binary-trees programs to compile?
>
> http://shootout.alioth.debian.org/u32/measurements.php?lang=ghc
>
binary-trees:
Could not find module `Control.Parallel.Strategies':
--> cabal install parallel
regex-dna:
" cannot satisfy
arnaud.oqube:
> Hello,
> I have a strange issue which sprang today out of nowhere. When I load
> a certain file using bytestring package in Ghci using emacs, I got the
> following error:
>
> Couldn't match expected type `Data.ByteString.Internal.ByteString'
>against inferred type
> `by
101 - 200 of 1785 matches
Mail list logo