Re: [Haskell-cafe] How can i run darcs in ghci?

2010-02-15 Thread Daryoush Mehrtash
I am trying to understand darcs implementation. I can install the app using cabal, so now I want to load it in ghci to be able to play around with it. Any help on how to load the .h is greatly appreciated. I tried -i with path to the src directory but it didn't work (should it?). I am also v

Re: [Haskell-cafe] How can i run darcs in ghci?

2010-02-15 Thread Marc Weber
> What am I doing wrong? I don't know exactly. What's your use case? You should be able to load the darcs library into ghci without problems. Maybe this is good enough for you? impossible.h is located in src. So looking up ghc flags about how to to pass -I flags to CPP should be enough (?). Anoth

Re: [Haskell-cafe] Notes on migrating from uvector to vector

2010-02-15 Thread Richard O'Keefe
On Feb 16, 2010, at 4:53 PM, Ivan Miljenovic wrote: On 16 February 2010 14:45, Don Stewart wrote: ivan.miljenovic: On 16 February 2010 08:35, Don Stewart wrote: Enjoy the new decade of flexible, fusible, fast arrays for Haskell! /me points out that 2010 is actually the last year of the d

Re: [Haskell-cafe] How to find unused exported symbols?

2010-02-15 Thread John D. Ramsdell
I wonder if I should use the GHC API to do this. I notice there is a module called BinIface that contains a reader for interface files. The trouble is you have to figure out how to initialize a program that uses the module, and that seems to be difficult. I couldn't find anything relevant on the

Re: [Haskell-cafe] Notes on migrating from uvector to vector

2010-02-15 Thread Tom Tobin
On Mon, Feb 15, 2010 at 9:43 PM, Ivan Miljenovic wrote: > On 16 February 2010 08:35, Don Stewart wrote: >> Enjoy the new decade of flexible, fusible, fast arrays for Haskell! > > /me points out that 2010 is actually the last year of the decade, and > not the first year of a new decade... Hm, I'm

Re: [Haskell-cafe] Notes on migrating from uvector to vector

2010-02-15 Thread Ivan Miljenovic
On 16 February 2010 14:45, Don Stewart wrote: > ivan.miljenovic: >> On 16 February 2010 08:35, Don Stewart wrote: >> > Enjoy the new decade of flexible, fusible, fast arrays for Haskell! >> >> /me points out that 2010 is actually the last year of the decade, and >> not the first year of a new dec

Re: [Haskell-cafe] Notes on migrating from uvector to vector

2010-02-15 Thread Don Stewart
ivan.miljenovic: > On 16 February 2010 08:35, Don Stewart wrote: > > Enjoy the new decade of flexible, fusible, fast arrays for Haskell! > > /me points out that 2010 is actually the last year of the decade, and > not the first year of a new decade... Computer scientists count from zero. :-) --

Re: [Haskell-cafe] Notes on migrating from uvector to vector

2010-02-15 Thread Ivan Miljenovic
On 16 February 2010 08:35, Don Stewart wrote: > Enjoy the new decade of flexible, fusible, fast arrays for Haskell! /me points out that 2010 is actually the last year of the decade, and not the first year of a new decade... ;-) -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.

Re: [Haskell-cafe] How to find unused exported symbols?

2010-02-15 Thread Ivan Miljenovic
On 16 February 2010 02:22, John D. Ramsdell wrote: > I would like to find symbols exported from each module in a program > that are not used outside the module.  I'm worried my program is > accumulating cruft.  I'm looking for suggestions on how to find unused > exported symbols.  Do I have to ana

[Haskell-cafe] How can i run darcs in ghci?

2010-02-15 Thread Daryoush Mehrtash
I am trying to load darc.hs (from darcs 2.3.1, ghci 6.10.4 on Ubuntu) and I get the following :~/darcs-src/darcs-2.3.1/src$ ghci GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading packa

[Haskell-cafe] Darcs fundraising 2010 - success!

2010-02-15 Thread Eric Kow
Hi everybody, Here's the final report on our Darcs 2010 fundraising effort. In a word, success! I wasn't sure we could pull it off, but thanks to all of your contributions, we reached our target of $2000. Thanks, everyone! We'll be using this money to fund travel expenses for our bi-annual Dar

Re: [Haskell-cafe] IDL - compilers

2010-02-15 Thread Don Stewart
gue.schmidt: > Hi Don, > > Am 15.01.10 02:00, schrieb Don Stewart: >> gue.schmidt: >> >>> Hi, >>> >>> are there any IDL compilers that can create Haskelk modules from header >>> files or type-libs? >>> >>> >> The venerable hdirect. http://www.haskell.org/hdirect/ >> >> I've recently cabal

Re: [Haskell-cafe] Undecidable instances with functional dependencies

2010-02-15 Thread Henning Thielemann
Miguel Mitrofanov schrieb: -- {-# LANGUAGE FunctionalDependencies#-} -- {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE TypeFamilies #-} module Register where -- class Register a r | a -> r class Register a where type R a -- instance Register Int Int instance Register Int where type R

Re: [Haskell-cafe] vector to uvector and back again

2010-02-15 Thread Don Stewart
dan.doel: > On Thursday 11 February 2010 8:54:15 pm Dan Doel wrote: > > On Thursday 11 February 2010 12:43:10 pm stefan kersten wrote: > > > On 10.02.10 19:03, Bryan O'Sullivan wrote: > > > > I'm thinking of switching the statistics library over to using vector. > > > > > > that would be even bett

Re: [Haskell-cafe] Notes on migrating from uvector to vector

2010-02-15 Thread Don Stewart
creswick: > On Mon, Feb 15, 2010 at 1:35 PM, Don Stewart wrote: > > And I'll take this opportunity to declare that uvector is now in > > official maintainance-only mode. > > Would it make sense to add a note to that effect to the package > description / cabal file, so it shows up on hackage? ('

Re: [Haskell-cafe] Notes on migrating from uvector to vector

2010-02-15 Thread Rogan Creswick
On Mon, Feb 15, 2010 at 1:35 PM, Don Stewart wrote: > And I'll take this opportunity to declare that uvector is now in > official maintainance-only mode. Would it make sense to add a note to that effect to the package description / cabal file, so it shows up on hackage? ('Stability: Experimenta

Re: [Haskell-cafe] Notes on migrating from uvector to vector

2010-02-15 Thread Andrew Coppin
Don Stewart wrote: Enjoy the new decade of flexible, fusible, fast arrays for Haskell! More interesting might be a post on how to migrate from Data.Array to vector; it's news to me that any of these post-Haskell98 array libraries are production-ready yet. (And while we're on the subject,

[Haskell-cafe] Notes on migrating from uvector to vector

2010-02-15 Thread Don Stewart
I've summarised my notes on how to migrate array code from the uvector package to Roman's vector package: http://donsbot.wordpress.com/2010/02/15/migrating-from-uvector-to-vector/ And I'll take this opportunity to declare that uvector is now in official maintainance-only mode. Enjoy the new

Re: [Haskell-cafe] Two authors especially likely to be spammed.

2010-02-15 Thread Andrew Coppin
Jason Dusek wrote: I recently discovered that many haskell-cafe mails are being dumped in my SPAM folder. A lot of them are from John Lato and Simon Marlow. I wonder if anyone else has experienced this? My ISP classifies huge amounts of Haskell-related mail as spam - no matter how

Re: [Haskell-cafe] Two authors especially likely to be spammed.

2010-02-15 Thread Tom Tobin
On Mon, Feb 15, 2010 at 12:29 PM, Jason Dusek wrote: >  I recently discovered that many haskell-cafe mails are >  being dumped in my SPAM folder. A lot of them are from John >  Lato and Simon Marlow. I just did this search on my Gmail: "in:spam haskell" ... and got no results, so I think I'm okay

[Haskell-cafe] Two authors especially likely to be spammed.

2010-02-15 Thread Jason Dusek
I recently discovered that many haskell-cafe mails are being dumped in my SPAM folder. A lot of them are from John Lato and Simon Marlow. I wonder if anyone else has experienced this? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@has

Re: [Haskell-cafe] Re: How many "Haskell Engineer I/II/III"s are there?

2010-02-15 Thread Jason Dusek
2010/02/15 Tom Tobin : > On Mon, Feb 15, 2010 at 2:24 AM, Michael Lesniak > wrote: > > > There's the subReddit: http://www.reddit.com/r/haskell_proposals/ > > > > I know it. The problem is that (at least in my opinion) only a small > > fraction of Haskell'ers use it. > > I strongly dislike "socia

Re: [Haskell-cafe] Re: How many "Haskell Engineer I/II/III"s are there?

2010-02-15 Thread Tom Tobin
On Mon, Feb 15, 2010 at 2:24 AM, Michael Lesniak wrote: >> There's the subReddit: http://www.reddit.com/r/haskell_proposals/ > I know it. The problem is that (at least in my opinion) only a small > fraction of Haskell'ers use it. I strongly dislike "social X" sites (where X is "networking", "book

Re: [Haskell-cafe] How to find unused exported symbols?

2010-02-15 Thread Yuras Shumovich
Hmm... It looks like a useful tool to implement. (Of course it does not make sense for libraries, only for executables) It can be easily implemented using haskell-src-exts package. 2010/2/15 John D. Ramsdell : > I would like to find symbols exported from each module in a program > that are not use

[Haskell-cafe] How to find unused exported symbols?

2010-02-15 Thread John D. Ramsdell
I would like to find symbols exported from each module in a program that are not used outside the module. I'm worried my program is accumulating cruft. I'm looking for suggestions on how to find unused exported symbols. Do I have to analyse .hi files? Thanks in advance. John __

Re: [Haskell-cafe] EDSL's using Filet-O-Fish of Barrelfish project

2010-02-15 Thread C K Kashyap
Thank you very much, What would be your recommendation on how to get a grasp of FoF - would the tic-tac-toe sample help - could you share that please? Regards, Kashyap On Sun, Feb 14, 2010 at 11:27 PM, Pierre-Evariste Dagand wrote: > Hi, > > On Sun, Feb 14, 2010 at 4:44 PM, C K Kashyap wrote:

[Haskell-cafe] Re: Linguistic hair-splitting

2010-02-15 Thread Dominic Steinitz
wren ng thornton freegeek.org> writes: > or whatever). > > Haskell and similar languages choose a particular set of coercions to Nice explanation. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-

[Haskell-cafe] Re: Virus alert while installing happstack

2010-02-15 Thread Maciej Piechotka
On Mon, 2010-02-15 at 02:33 +0100, Maciej Podgurski wrote: > Hi, > > I tried to install happstack via "cabal install happstack" on my WinXP > system. While installation progress, my anti-virus software (Avira > AntiVir) warned me about dll_hsc_make.exe and files_hsc_make.exe to be a > Trojan ho

Re: [Haskell-cafe] performance issue and HGL

2010-02-15 Thread Jonathan Rockway
* On Sun, Feb 14 2010, Vojtěch Knyttl wrote: > http://pastebin.dqd.cz/cUmg/ > > 1. The problem is, that it is very slow. It is obvious that what takes > the most time is the "mandel" function computation. I have no idea, > how it can be improved. Why 1000 iterations? Why is "Infinity" equal to 50

Re: [Haskell-cafe] Re: How many "Haskell Engineer I/II/III"s are there?

2010-02-15 Thread Michael Lesniak
Hello, > There's the subReddit: http://www.reddit.com/r/haskell_proposals/ I know it. The problem is that (at least in my opinion) only a small fraction of Haskell'ers use it. On the other hand, I have not found anything on the Wiki regarding these things, so maybe it's better than nothing. Cheer