[Haskell-cafe] Combining sequences

michael rice nowgate at yahoo.com
Mon Apr 6 11:12:42 EDT 2009

I downloaded it and it appears more complicated than just adding files to a directory. There's a setup and a build, and no assurances it will work with Hugs.

I think I'll wait for more information.


--- On Mon, 4/6/09, Thomas Hartman <tphyahoo at gmail.com> wrote:

From: Thomas Hartman <tphyahoo at gmail.com>
Subject: Re: [Haskell-cafe] Combining sequences
To: "michael rice" <nowgate at yahoo.com>
Cc: "Henning Thielemann" <lemming at henning-thielemann.de>, haskell-cafe at haskell.org
Date: Monday, April 6, 2009, 12:26 AM

It's not in hugs, nor in ghc.

It's just in hackage. However, by the looks of it, you should probably
be able to use it in hugs. I didn't actually check this, but the cabal
file didn't name any fancy extensions, so it looks pretty

You can just go to


wget http://hackage.haskell.org/packages/archive/utility-ht/0.0.4/utility-ht-0.0.4.tar.gz


and put them with the rest of the files your hugs compiler uses for
package import. (I don't actually know how package installation works
in hugs... isn't it just put the files into a dir?)


2009/4/5 michael rice <nowgate at yahoo.com>:
> Thanks. It looks like mergeBy will do the job, but is it available in Hugs?
> Michael
> --- On Sun, 4/5/09, Henning Thielemann <lemming at henning-thielemann.de>
> wrote:
> From: Henning Thielemann <lemming at henning-thielemann.de>
> Subject: Re: [Haskell-cafe] Combining sequences
> To: "michael rice" <nowgate at yahoo.com>
> Cc: haskell-cafe at haskell.org
> Date: Sunday, April 5, 2009, 9:09 PM
> On Sat, 4 Apr 2009, michael rice wrote:
>> Is there a simple way to combine two sequences that are in ascending order
>> into a single
>> sequence that's also in ascending order? An example would be the squares
>> [1,4,9,16,25..]
>> combined with the cubes [1,8,27,64,125..] to form [1,1,4,8,9,16,25,27..].
> http://hackage.haskell.org/packages/archive/utility-ht/0.0.4/doc/html/Data-List-HT.html#v%3AmergeBy
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090406/3d79d8f9/attachment.htm

More information about the Haskell-Cafe mailing list