On Fri, May 28, 2010 at 4:45 AM, Chris Eidhof wrote:
> Nhe most important reference in literature might be Okasaki's Purely
> functional data structures:
>
> @book{okasaki1999purely,
> title={{Purely functional data structures}},
> author={Okasaki, C.},
> year={1999},
> publisher={Cambridge U
Hello!
On Wed, Jun 23, 2010 at 2:19 PM, wrote:
> -- Algorithms From: "Selected Papers on Design of Algorithms", Donald Knuth,
> 2010
> -- Chapter 10 Addition Machines
> -- Haskell version by Casey Hawthorne
>
> -- Note this is only a skeleton of the chapter,
> -- so as to wet your interest to bu
On Sat, May 23, 2009 at 12:39 AM, Vasili I. Galchin wrote:
> Hello,
>
> I am working with some somewhat legacy code. I understand what "import
> qualified Blah as B" means but what does "import qualified Blah" mean? Is
> this a deprecated feature? I saw with user defined module as well as wit
Hi Alecs,
On Mon, Aug 3, 2009 at 1:27 AM, Alecs King wrote:
> Thanks for the hard work.
>
> But there's a problem of the source tarball. scripts/build.sh skips
> building already-installed pkgs -- but scripts/install.sh does not skip
> installing them. So 'make install' fails (err: "The ${PKG}/S
Hi John,
On Mon, Aug 24, 2009 at 11:13 PM, John Meacham wrote:
> Hi, I am happy to announce the jhc optimizing haskell compiler version 0.7.1.
>
> Information on installing jhc is here:
> http://repetae.net/computer/jhc/building.shtml
> And the Main page is here: http://repetae.net/computer/jhc
Hello,
On Mon, Aug 31, 2009 at 3:29 PM, Job Vranish wrote:
> I got around this problem by downgrading to 6.10.3 (I think I rebuilt cabal
> as well)
>
> I'm not sure if the problem is with cabal, GHC, or some 64bit ubuntu
> library. (probably a combination of ghc+64bit ubuntu)
>
> Does anybody have
Hi Job,
On Wed, Sep 2, 2009 at 9:22 AM, Job Vranish wrote:
> Did you by chance use the prebuilt ghc binaries? or build ghc manually?
>
> - Job
>
Good question, I need to check that at home. Now that you mention it,
I remember considering using a repository (PPA) somebody had put
together, that h
Job,
On Wed, Sep 2, 2009 at 9:33 AM, Paulo Tanimoto wrote:
> Hi Job,
>
> On Wed, Sep 2, 2009 at 9:22 AM, Job Vranish wrote:
>> Did you by chance use the prebuilt ghc binaries? or build ghc manually?
>>
>> - Job
>>
>
> Good question, I need to check that
Hello!
On Wed, Sep 16, 2009 at 8:54 AM, Peter Verswyvelen wrote:
> I heard that compiling Haskell to Java is not obvious since tail calls
> are not supported.
>
> .NET's intermediate language (IL) does support tail calls, however it
> is currently slower than regular calls, and is not always supp
Hi Gregory,
On Wed, Sep 16, 2009 at 6:51 PM, Gregory Propf wrote:
>
> I'm trying to install the Haskell Platform. I'm using Ubuntu 9.02 and GHC
> 6.10.4 on a 64 bit AMD and keep getting this crap when I do 'make install'.
> The stuff builds OK and the script in question does indeed exist. An
Alex:
> The challenge was the implement the modcount algorithm not to calculate
> primes per se.
> (see e.g. http://jjinux.blogspot.com/2005/11/io-comparison.html).
Can you show us the Python code?
Paulo
___
Haskell-Cafe mailing list
Haskell-Cafe@haskel
Dear Ed,
GHC 6.6.1 is available for the upcoming Ubuntu release (Gutsy).
http://packages.ubuntu.com/gutsy/devel/ghc6
I personally like to set up a chroot environment for these things, so
here's what I have:
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.6.1
Paulo
There's also this theorem by Holland, but I've never read much about
it to know how sound it is:
http://en.wikipedia.org/wiki/Holland%27s_schema_theorem
Paulo
On Jan 24, 2008 8:30 PM, Paulo Tanimoto <[EMAIL PROTECTED]> wrote:
> Have you seen Koza's Genetic Programming a
Have you seen Koza's Genetic Programming as well?
His original implementation was in Lisp, but I think it can be done
elegantly in Haskell as well, perhaps with the advantage of static
typing.
Hmm, I just found this:
http://www.haskell.org/haskellwiki/GPLib
I also found a paper on something call
Jerzy, keep posting, I'm enjoying this magic cultural trip. : )
"Obrigado",
Paulo Tanimoto (pronounce it as you please)
On Jan 29, 2008 10:13 AM, <[EMAIL PROTECTED]> wrote:
> Tim Chevalier writes:
>
> > ... I think the usual convention is to
> > pronou
On Jan 29, 2008 11:19 AM, Jeremy Apthorp <[EMAIL PROTECTED]> wrote:
> Another Japanese word adopted from Portuguese is their word for "bread":
> "pan".
"tabako" too, I believe (it's not even written in katakana).
Now, how do the Japanese pronounce Haskell, I'd like to know.
Paulo
__
On Fri, Jul 16, 2010 at 3:00 PM, Christopher Done
wrote:
>
> Maybe you could work on a theme like this. Probably OTT.
>
> http://imgur.com/NjiVh
>
> Just an idea. My Inkscape-fu is weak.
>
That looks great to me! I like blue, but I'd be in favor of a
different color, like what you did, because b
Hi John,
What do you think of putting those parsing functions like head, last,
length, etc, under another module or, alternatively, putting the main
definitions under another module (say, Base or Core)? I wouldn't mind
if they all get re-exported.
I say that because since the library aims to be
On Sat, Aug 21, 2010 at 3:36 PM, John Millikin wrote:
>
> This sort of conversion is trivial. For an example, I've uploaded the
> attoparsec-enumerator package at <
> http://hackage.haskell.org/package/attoparsec-enumerator > --
> iterParser is about 20 lines, excluding the module header and impor
John,
On Sat, Aug 21, 2010 at 5:06 PM, John Millikin wrote:
>
> I think the API is pretty stable. Most of the significant research
> into iteratee-based APIs has already been performed by users of the
> "iteratee" library, and by Oleg. There might be a few
> backwards-compatible changes (new modu
On Mon, Aug 23, 2010 at 6:16 AM, John Lato wrote:
> It's not necessary to understand CPS to use CPS-based iteratees. The CPS
> implementation generally simplifies the types and removes the necessity for
> special combinators like ($$) and (>>==), so I strongly suspect newcomers
> will find it eas
Hi Olle,
On Mon, Sep 6, 2010 at 12:45 PM, Olle Fredriksson
wrote:
> There are a few other examples in the examples directory of the package,
> most
> notably a grammar and parser for a simple functional language similar to
> Haskell.
> It is possible to generate random input strings and their exp
On Fri, Oct 15, 2010 at 1:47 PM, Ketil Malde wrote:
>
> Uh, AFAIC, it's only a documentation bug - the GHC page seems to say
> that GHC comes with HP, the HP page tells to go get GHC first. I'd just
> change it to something like:
>
> GHC: Click here to download... then go see Haskell Platform fo
Hi Michael,
On Wed, Oct 20, 2010 at 6:19 PM, Michael Litchard wrote:
> I'm using this tutorial as a guide
> http://flygdynamikern.blogspot.com/2009/03/extended-sessions-with-haskell-curl.html
>
> github has changed since this was posted, but I have managed a
> successful login. Now I am faced wit
then error $ "Failed to log in: "
>> ++ show (respCurlCode r) ++ " -- " ++ respStatusLine r
>> else do
>> -- GET request to fetch account page.
>> r <- do_curl_ curl ("https://github.com/account";) method
On Mon, Nov 1, 2010 at 7:04 PM, Antoine Latter wrote:
> Have you tried the 'network' package on Hackage? I had thought it was
> cross-platform. I do not do much development on Windows.
>
> On Nov 1, 2010 6:45 PM, "Michael Litchard" wrote:
>> I took a quick look on hackage for an interface to wind
You mean like this?
import Data.List (foldl', nub)
Or am I misunderstanding your question?
Paulo
On Mon, Sep 15, 2008 at 2:26 PM, Mauricio <[EMAIL PROTECTED]> wrote:
> Hi,
>
> 'import' allows one to say 'hiding' to
> a list of names. Is it possible to do the
> opposite, i.e., list the names I w
]> wrote:
> Exactly! Thanks.
>
> Maurício
>
> Paulo Tanimoto a écrit :
>>
>> You mean like this?
>>
>> import Data.List (foldl', nub)
>>
>> Or am I misunderstanding your question?
>>
>> Paulo
>>
>> On Mon, Sep 15, 2008
On Mon, Sep 15, 2008 at 3:04 PM, John Van Enk <[EMAIL PROTECTED]> wrote:
> Would it make sense to add multiple imports to that wiki page? I'm not sure
> if this is supported outside of GHC, but I've found it useful.
> 1 module Main where
> 2
> 3 import qualified Prelude as P
> 4 import Prelude
Hi,
Mauricio, sorry for hijacking your thread. : )
I have one question about handling or parsing decimal places. I
noticed that Haskell doesn't accept values starting with just the
point, e.g., .50 or .01. I suppose that's abuse of notation in the
first place (and I'm guilty of it), but I ofte
Hi,
I'm a big fan of literate haskell, especially Bird-style, but there's
one behavior that I find rather annoying: the requirement that code be
preceded and followed by a blank line.
Quoth the Report:
"To capture some cases where one omits an ">" by mistake, it is an
error for a program line to
Hi John,
On Sun, Sep 21, 2008 at 3:33 PM, John MacFarlane <[EMAIL PROTECTED]> wrote:
> Note: I've changed pandoc in the repository so that it no longer
> shows these blank lines. The next point release will incorporate this
> change, making it easier to use pandoc for literate haskell. Note also
>
Hello Wren,
On Sun, Sep 21, 2008 at 10:02 PM, wren ng thornton <[EMAIL PROTECTED]> wrote:
> By intention, probably. But by accident it is a lot more common than you
> might think. Accidents like corrupting the linebreaks or line wrapping in a
> file are quite prevalent when exchanging files across
On Mon, Sep 22, 2008 at 11:27 PM, Ryan Ingram <[EMAIL PROTECTED]> wrote:
> Oops, meant to send this to the whole list.
>
>> You can add "-optL -q" to your ghc command line to disable that
>> behavior; blank lines will no longer be required.
This little gem that Ryan found was exactly what I was lo
Jason,
If this is representative of what it will be, here's what I have:
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.0.20081007
$ ghc-pkg list parsec
/usr/local/lib/ghc-6.10.0.20081007/./package.conf:
parsec-2.1.0.1
Paulo
On Wed, Oct 8, 2008 at 5:14 PM,
Hi Ashley,
On Fri, Dec 19, 2008 at 2:10 AM, Ashley Yakeley wrote:
> All of these get one thing right that the current and most of the proposed
> Haskell logos do not: they don't make any reference to the syntax of the
> language itself. Doing so seems to miss the point of a logo: it's supposed
>
Hello,
On Fri, Dec 19, 2008 at 8:53 AM, Bayley, Alistair
wrote:
> That said, I also like the sloth.
>
> Alistair
I quite like the sloth too, that would be a great mascot if you ask
me. Distinctive, conveys the idea of laziness, warm & fuzzy, etc. I
hope somebody can come up with a design with
Hi Bryan and others,
On Mon, Sep 28, 2009 at 5:29 PM, Bryan O'Sullivan wrote:
> bytestring predates the other two libraries by several years. The underlying
> stream type for uvector and text are almost the same, so they could in
> principle be merged. There's a fair amount of duplication there,
Hi Titto,
On Tue, Sep 29, 2009 at 3:15 AM, Pasqualino "Titto" Assini
wrote:
>
> More in general: what is the right policy for instances definition?
>
> Should the library author provide them, at least for the most common
> and appropriate classes (at the cost of adding some additional
> dependenc
Hi Bryan,
On Fri, Oct 9, 2009 at 2:11 AM, Bryan O'Sullivan wrote:
> Get it while it's fresh on Hackage, folks! Details of the changes here:
> http://bit.ly/1u4UOT
>
This is superb!
I tried to post a comment to your website, but it may have been lost.
It seems that the description for unlines is
Hello!
On Thu, Oct 15, 2009 at 8:10 PM, Stefan Monnier
wrote:
>> I'm very new at Haskell, i'm reading a book and starting, but i want to
>> know which is the best editor for development under Windows, because now
>> i'm using Notepad++(That i use to develop in C++).
>
> The best editor for develo
On Thu, Oct 15, 2009 at 9:19 PM, Stefan Monnier
wrote:
>> The only thing I haven't figured out is how to do tab-completion of
>> words in the ghci buffer. Do I need to use a different key
>> combination? I couldn't find that in the documentation.
>
> I think it's just a missing feature.
>
OK!
On Sun, Oct 25, 2009 at 10:14 AM, Svein Ove Aas wrote:
> Fellow Haskellers,
>
> I'm happy to announce the release of haskell-mode 2.5.
>
Thank you for stepping up, Svein! Also thanks to Stefan for
maintaining haskell-mode for so long. I updated the Wiki entry:
http://haskell.org/haskellwiki/
On Sun, Oct 25, 2009 at 11:50 AM, Svein Ove Aas wrote:
> It looks fine, ignoring the mess. :P
>
> While you're at it, you might want to copy the "minimal setup" from
> what is described in the README, i.e. including the indentation setup.
> Or not, if you wish; I'll leave that to your judgement.
>
2009/11/18 Günther Schmidt :
> Hi,
>
> I'm finally about to organize myself, somewhat.
>
> And am going to use a wiki for it. Does there a good one exist that's
> written in Haskell?
>
> Günther
>
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/gitit
On Wed, Nov 25, 2009 at 2:37 AM, Svein Ove Aas wrote:
> Well, I know when I'm beat..
>
> http://trac.haskell.org/haskellmode-emacs/
>
> http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
>
Thank you, Svein! I'm glad to see there's a good number of people
using haskellmode.
P
Hello!
On Mon, Nov 23, 2009 at 12:29 PM, Antoine Latter wrote:
> On Sun, Nov 22, 2009 at 11:56 AM, Antoine Latter wrote:
>>
>> Running 'pandoc --strict' over the Markdown readme.text takes:
>>
>> ~0.09s with pandoc built against parsec-2
>> ~0.19s with pandoc built against parsec-3
>>
>> on my m
Hi John,
On Fri, Dec 4, 2009 at 3:09 PM, John MacFarlane wrote:
>
> I used criterion to compare pandoc compiled with parsec2 to
> pandoc compiled with your version of parsec3. (The benchmark
> is converting testsuite.txt from markdown to HTML.) The difference was
> minor:
>
> parsec2:
> mean: 67
Hi Mauricio,
2009/12/5 Maurício CA :
>
> Problem is: I don't have a Windows machine where I could test
> this. So, if you need USB in windows, please keep in touch. I
> wouldn't ask you to write any code, but I need to know what builds
> and what doesn't.
>
I don't need usb and I can't say I'm a
Hi Bryan,
On Tue, Dec 15, 2009 at 3:13 PM, Bryan O'Sullivan wrote:
>
> Where would I look to find a darcs repo with your changes? It would be great
> to see parsec3 finally replace parsec2. Besides the performance issue, are
> there any other considerations keeping it from becoming the default?
>
Oh, I forgot to "reply-to-all".
-- Forwarded message ------
From: Paulo Tanimoto
Date: Tue, Dec 29, 2009 at 9:39 AM
Subject: Re: [Haskell-cafe] ghc 6.12.1 and regex
To: David Fox
Hi David,
On Tue, Dec 29, 2009 at 9:28 AM, David Fox wrote:
> Is anyone else seeing
On Tue, Dec 29, 2009 at 12:26 PM, David Fox wrote:
>>> "xyz" =~ "^[^-]*$" :: Bool
>> *** Exception: Explict error in module Text.Regex.TDFA.String :
>> Text.Regex.TDFA.String died: parseRegex for Text.Regex.TDFA.String
>> failed:"^[^-]*$" (line 1, column 5):
>> unexpected "]"
>> expecting Failed t
On Thu, Jan 14, 2010 at 2:08 PM, Daniel Fischer
wrote:
>
> Just an idea. Are you on windows?
> If so, then your foreign calls would probably have to be
>
> foreign import stdcall "srilm.h whatever" ...
>
> instead of
>
> foreign import ccall "..."
>
Yes, I came here to say that too. I was gettin
Michael,
Don't the available binaries work for you? From the output it seems
you are on x86, which is of course supported. The requirements are
just libreadline.so.4 and libncurses.so.5. Also, if you still want to
compile from source, you could grab those binaries and them to compile
GHC yourse
Hi Jared,
2008/6/21 <[EMAIL PROTECTED]>:
> Guess.hs:19:12: parse error on input `doGuessing'
>
> Failed, modules loaded: none. "
That says there's something wrong at line 19. In this case,
'doGuessing' is not properly aligned with 'putStrLn' of the previous
line. The same happens at line 22.
If I understand correctly, Darrin is looking for a resource explaining
the notation used in the paper by Meijer et al. But thanks for the
mirror. : )
Although I don't think this will have everything, you can try this one:
http://www.comlab.ox.ac.uk/jeremy.gibbons/publications/#nzfpdc-squiggol
I
Fantastic release, thank you! It's never been so easy to start
playing with Yi. : )
Paulo
On Sun, Jul 27, 2008 at 10:08 AM, Jean-Philippe Bernardy
<[EMAIL PROTECTED]> wrote:
> I'm very pleased to announce the 0.4.1 release of the Yi editor.
>
> == Yi ==
> Yi is a text editor written and extensi
Hi Chris et al:
On Fri, Oct 17, 2008 at 4:33 PM, Chris Kuklewicz
wrote:
> I am not sure what is going wrong. I have not been using Haskell on
> windows. I am also copying this reply to haskell-cafe and libaries mailing
> lists. Does anyone know?
I get passed that error on Cygwin by installing
Hi Chris,
Good call, I'm following your advice. ghci fails to load with the
package that it seemed to compile just fine. Here are some details
(also see file attached).
Thank you!
Paulo
$ wget
http://hackage.haskell.org/packages/archive/regex-posix/0.93.2/regex-posix-0.93.2.tar.gz
$ vim reg
Duncan,
On Thu, Jan 15, 2009 at 4:35 PM, Duncan Coutts
wrote:
> I should note that you do not need to edit the .cabal file to do this.
> As of Cabal-1.4 there are extra command line flags to configure (or
> equivalently to cabal install)
>
> --extra-include-dirs=dir --extra-lib-dirs=dir
>
> Dunca
Hi Rafael,
2009/2/3 Rafael Gustavo da Cunha Pereira Pinto :
>
> Hello folks
>
>
> After a discussion on whether is possible to compile hmatrix in
> Windows, I decided to go crazy and do a LU decomposition entirely in
> Haskell...
>
> At first I thought it would be neces
Hello,
On Tue, Feb 24, 2009 at 2:36 AM, Don Stewart wrote:
> This idea was the motivation for the new Seq instance, which uses
> internals to build quickly.
>
> Encoding to disk, the dictionary,
>
> $ time ./binary /usr/share/dict/cracklib-small
> "done"
> ./binary /usr/sh
Hi Denis,
On Wed, Mar 11, 2009 at 9:54 PM, Denis Bueno wrote:
> I've got a small patch for Data.Binary. Should I post it here, or is
> there some more appropriate forum?
>
> http://code.haskell.org/binary/ doesn't specify.
>
> Thanks,
> Denis
> __
Hi Michael,
On Thu, Nov 18, 2010 at 4:02 PM, Michael Litchard wrote:
> On Tue, Nov 16, 2010 at 4:39 PM, Michael Litchard wrote:
>> I think I may have borked things good using cygwin. I want to remove
>> it and do a clean install of haskell platform w/out cygwin. What do I
>> need to do to make s
Nothing wrong from:
$ ghc-pkg check
?
On Wed, Jan 12, 2011 at 9:11 PM, Michael Litchard wrote:
> Oh, and the distro would be Debian (whatever the latest stable is)
>
>
> On Wed, Jan 12, 2011 at 7:10 PM, Michael Litchard
> wrote:
>>
>> Linux kether 2.6.26-2-xen-amd64 #1 SMP Thu Sep 16 16:32:15
On Tue, Mar 15, 2011 at 1:34 PM, Pieter Laeremans wrote:
> I've got the same problem.
> I don't have acces to the computer where I've go the problem (my home mac).
> But if I remember correctly
> cabal install unix-compat -V3 yielded more output, the problem
> was due to lbutil.h, that was not p
66 matches
Mail list logo