Hello,
Sorry I asked this question before .. say I want to install package A
that depends on package B, C, D but maybe B and D are not installed on my
machine. Basically I want to fault in (i.e. install automatically) in B
and D with no fuss no muss. ???
In reality I would like to get my
You need to get cabal-install.
Here's how I got it working on kubuntu :
1) install GHC 6.8.3 from haskell.org's binaries (kubuntu hardy isn't
at 6.8.3 yet)
2) download from hackage :
* cabal-install-0.5.1.tar.gz from hackage
* HTTP-3001.0.4.tar.gz
* zlib-0.4.0.4.tar.gz
* Cabal-1.4.0.1.tar.gz
cool david
1) I have to upgrade to ghc 6.8.3
2) I may/probably will have more questions
very kind thanks,
vasili
On Sat, Aug 2, 2008 at 1:52 AM, david48
[EMAIL PROTECTED][EMAIL PROTECTED]
wrote:
You need to get cabal-install.
Here's how I got it working on kubuntu :
1) install GHC
Hi,
On 7/29/08, Bryan Donlan [EMAIL PROTECTED] wrote:
Hi,
Is there any theoretical reason that functional dependencies can't be used
to resolve a polymorphic type to a concrete type? For example:
-- compile with -fglasgow-exts
class DeriveType a b | a - b
data A = A
data B = B
Maybe you can rewrite your code using the functions from this module:
http://haskell.org/ghc/docs/latest/html/libraries/array/Data-Array-
Storable.html
On 29 Jul 2008, at 09:22, Ryan Ingram wrote:
I wrote some fast bit-twiddling functions in C because my Haskell
performance wasn't good
for each package you have to type (*) :
runhaskell Setup.hs configure
runhaskell Setup.hs build
sudo runhaskell Setup.hs install
(*) sometimes it'll be Setup.lhs, I'm annoyed that it's not always the
same name, can't rely on shell history :(
That's why you should always write e.g.
Hello,
I understand that nowadays there are several frameworks and wrapper
libraries for making some sense of the XHTML documents you find over the
web. That is, making the life of those who want to process the
semi-structured data you find on the sites.
I don't have much experience on that
I'm trying to figure out the adjunction diagrams for the
adjunction where the diagonal functor is right adjoint to the
coproduct functor. I'm |almost done|, but the co-unit has me
stumped, because I can't figure out how the arrow at the top
can be unique -- it seems it could be either
Eric Kow [EMAIL PROTECTED] wrote:
I would contribute to darcs if only...
...there were interest in binary file handling.
--
_jsn
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Austin Seipp wrote:
For that matter, ghc-pkg list | grep -i alex doesn't list anything,
after I cabal-installed it. How does cabal verify the prerequisite alex
version? (Or does it?)
ghc-pkg lists libraries that are registered with the ghc package
manager (globally and locally); alex is
Hello,
I would recommend using TagSoup:
http://www-users.cs.york.ac.uk/~ndm/tagsoup/
The tutorial easy, and has good advice:
http://www.cs.york.ac.uk/fp/darcs/tagsoup/tagsoup.htm
I would not bother trying to use a real XML parser, because I suspect
that many of the XHTML pages you want to
jeremy:
Hello,
I would recommend using TagSoup:
http://www-users.cs.york.ac.uk/~ndm/tagsoup/
The tutorial easy, and has good advice:
http://www.cs.york.ac.uk/fp/darcs/tagsoup/tagsoup.htm
There's also a wrapper for this, that uses curl+bytestrings for the
download part, and exposes
On Sat, 2008-08-02 at 18:22 -0700, Jason Dusek wrote:
I'm trying to figure out the adjunction diagrams for the
adjunction where the diagonal functor is right adjoint to the
coproduct functor. I'm |almost done|, but the co-unit has me
stumped, because I can't figure out how the arrow at
Hi folks,
I'm interested in writing a library to work with IMAP servers.
I'm interested in thoughts people have on parsing libraries and methods.
I'm a huge fan of Parsec overall -- it lets me have a single-stage
parser, for instance. But it isn't sufficiently lazy for this task, and
I
Derek Elkins [EMAIL PROTECTED] wrote:
h : A - C and k : B - C
[...snip...]
h : A - B
k : C - D
Are these the same h and k?
--
́́_jsn
́
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Sat, 2008-08-02 at 20:00 -0700, Jason Dusek wrote:
Derek Elkins [EMAIL PROTECTED] wrote:
h : A - C and k : B - C
[...snip...]
h : A - B
k : C - D
Are these the same h and k?
No. As it says in the line just before what you quoted these are -any-
h and k. They do end up being
Anyone interested in critiquing some code? I'm looking for ideas
for making it faster and/or simpler:
http://www.thenewsh.com/%7Enewsham/store/Server5.hs
This is an exercise to see how well a server in Haskell would perform.
My goals are roughly:
- retargetability to other server types
newsham:
Anyone interested in critiquing some code? I'm looking for ideas
for making it faster and/or simpler:
http://www.thenewsh.com/%7Enewsham/store/Server5.hs
This is an exercise to see how well a server in Haskell would perform.
My goals are roughly:
- retargetability to
18 matches
Mail list logo