Re: [Haskell-cafe] Haskell-Cafe Digest, Vol 121, Issue 8

2013-09-05 Thread Gregory Guthrie
Hi all, On behalf of the cabal maintainers and contributors I'm proud to announce the Cabal (and cabal-install) 1.18.0 release. To install run cabal update cabal install Cabal-1.18.0 cabal-install-1.18.0 With 854 commits since the last release there are two many improvements and

[Haskell-cafe] Cabal errors...

2013-08-15 Thread Gregory Guthrie
I am trying to run ecliseFP to use with Haskell, but it gives an error: SO I tried to rebuild the buildwrapper rogram to get the update, but it fails as below. Any hints or help on what to do next? I think that from some past problems, that theshadowed problem is from global and usr-local

[Haskell-cafe] Control.bimap?

2012-12-12 Thread Gregory Guthrie
I found a nice idiom for a graph algorithm where the pairs of nodes representing links could be merged into node lists by something like: ns = nub $ map fst g--head nodes ne = nub $ map snd g -- tail nodes And found a nicer approach: (ns,ne) = (nub***nub) unzip g Or perhaps:

Re: [Haskell-cafe] Control.bimap?

2012-12-12 Thread Gregory Guthrie
Yes, thanks, I've seen this; why can't cabal find the package? Is the fact that it is filed under archive an indicator?! I have tried Control.Bifunctor, and also Control.Categorical.Bifunctor, and Data.Bifunctor. Certainly it is an easy thing to define myself, but I'm both trying to be

Re: [Haskell-cafe] cabal install... Trying to recover

2012-11-21 Thread Gregory Guthrie
Thanks for the suggestion, I’ll do that. Here goes: I deleted the ../user/appdata/roaming/ghc and ../cabal files, an uninstalled Haskell-platform. (No trace of anything ghc on the disk.) Then reinstalled Haskell, and ran “cabal update”, it said there was a new cabal-install, but trying to

Re: [Haskell-cafe] cabal install... Trying to recover

2012-11-21 Thread Gregory Guthrie
OK; I took HTTP out, but still get the same error; cabal: The following packages are likely to be broken by the reinstalls: QuickCheck-2.4.2 haskell-platform-2012.4.0.0 Use --force-reinstalls if you want to install anyway. One thing I notice; Ghc reports: G:\Cabalghc --version

Re: [Haskell-cafe] cabal install... Trying to recover

2012-11-21 Thread Gregory Guthrie
Thanks. I’ll try to do another cleanup, but not sure what more I can uninstall or clean out! I did a system search for *ghc* and came up empty before reinstall; will try again. I have now managed to get from some broken packages to a broken system! ☺

Re: [Haskell-cafe] code length in Haskell, a comparison

2012-11-20 Thread Gregory Guthrie
They also have other comparisons at the referenced site, including for different sizes of programs, and for counting characters or tokens instead of lines over each of these program example groups. The data source does include APL REBOL ( 483 different languages!), so one could run this

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Gregory Guthrie
Thanks to all for the comparisons between apt cabal. Your reply basically explains why it is broken, and gives a rationale (cost and trouble to do it), but no prognosis for repair. My interest is in using Haskell for teaching, and so far the package system failures often present problems that

[Haskell-cafe] cabal install...

2012-11-20 Thread Gregory Guthrie
Hmm, Now when I tried to run Leksah, I get not only some broken packages (which I can avoid for my current project), but: command line: cannot satisfy -package-id base-4.5.1.0-7c83b96f47f23db63c42a56351dcb917: base-4.5.1.0-7c83b96f47f23db63c42a56351dcb917 is unusable due to missing or

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Gregory Guthrie
could limit the availability of Haskell to the largest market share of users. --- Subject: Re: [Haskell-cafe] Cabal failures... To: haskell-cafe@haskell.org On 12-11-20 08:48 AM, Gregory Guthrie wrote: It was also interesting to note a comment

[Haskell-cafe] Cabal failures...

2012-11-19 Thread Gregory Guthrie
I follow the Cabal-messes threads with some interest, since that is the hardest area for me since starting to use Haskell. Probably 40-60% of all package install fail for some mysterious reason, with threats that trying to fix them will break more things, which generally is true. :-) I am not

[Haskell-cafe] code length in Haskell, a comparison

2012-11-19 Thread Gregory Guthrie
There is some interesting data in the article at: Code Length Measured in 14 Languages http://blog.wolfram.com/2012/11/14/code-length-measured-in-14-languages/ basically comparing program lengths in various languages, and some ensuing discussion of how this relates to language

[Haskell-cafe] cabal errors

2012-11-19 Thread Gregory Guthrie
I did a package check, and I always get a ton of these things: Warning: haddock-html: E:\Plang\Haskell Platform\lib\extralibs\doc\haskell-src-1.0.1.4\html doesn't exist or isn't a directory Which I think is just missing documentation, so I ignore them. But this time I also got this: The

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Gregory Guthrie
on multiple versions of the same package. This is highly likely to cause a compile failure. Why is Cabal setting both base3 and base4 to True? P.S. You can try the same command with --solver=topdown and see if that works. On Mon, Nov 19, 2012 at 8:22 PM, Gregory Guthrie guth...@mum.edu wrote: Johan

[Haskell-cafe] Book?

2012-01-17 Thread Gregory Guthrie
I've seen a book: The Practice Of Monadic Interpretation Dan Popa Nov. 2008 Or Practical Monadic Interpretation Dan Popa Which seem that they might be the same book? As reported on Haskell Wiki/books as published in 2008, but Don't find it available anywhere under either title. Any pointers

Re: [Haskell-cafe] Haskell-Cafe Digest, Vol 94, Issue 34

2011-06-15 Thread Gregory Guthrie
--- Subject: Re: [Haskell-cafe] Best platform for development with GHC? On Wed, 15 Jun 2011, Dmitri O.Kondratiev wrote: Since I maintain the gnuplot binding for Haskell - what are the particular problems with that package on Windows?

Re: [Haskell-cafe] Haskell-Cafe Digest, Vol 93, Issue 58

2011-06-08 Thread Gregory Guthrie
An earlier note on students reactions to the imperative style forced on them by some Haskell libraries (do ...) is interesting, and seems similar to an observation in a project I was developing for students; making a version of a simple lab from previous SML assignment. It uses a dictionary to

Re: [Haskell-cafe] Haskell-Cafe Digest, Vol 93, Issue 58

2011-06-08 Thread Gregory Guthrie
Yes, agree. Thanks. But still this adds a coupling that I did not need in the SML versions. And in this case, the analysis is word oriented, so the algorithm is intrinsically tied to a dictionary. --- Gregory Guthrie

Re: [Haskell-cafe] Open CV or alternate image processing library for Haskell on windows?

2011-05-18 Thread Gregory Guthrie
. From: Ville Tirronen [mailto:alea...@gmail.com] Sent: Tuesday, May 17, 2011 11:33 PM To: Gregory Guthrie Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Open CV or alternate image processing library for Haskell on windows? Hi, Yes, I

Re: [Haskell-cafe] Open CV or alternate image processing library for Haskell on windows?

2011-05-17 Thread Gregory Guthrie
Yes, I understand that - but if there is some install or usage dependency, or install procedure, I would hope to see it documented somewhere; perhaps I missed that? The end result is that from the project page and install, it fails. :-) Earlier in the thread I noted that this was a Windows

[Haskell-cafe] Open CV or alternate image processing library for Haskell on windows?

2011-05-16 Thread Gregory Guthrie
I wanted to look into using Haskell for an introductory Image Processing class, but the main package used for such things (OpenCV) does not appear to be available for windows systems. Is there some other good option for image processing in Haskell, or has anyone ported openCV to a windows

Re: [Haskell-cafe] Open CV or alternate image processing library for Haskell on windows?

2011-05-16 Thread Gregory Guthrie
. --- -Original Message- From: Casey McCann [mailto:syntaxgli...@gmail.com] Sent: Monday, May 16, 2011 1:18 PM To: Gregory Guthrie Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Open CV or alternate image processing library for Haskell on windows? On Mon, May 16

[Haskell-cafe] Haskell from SML - referrential Transparency?!

2011-04-19 Thread Gregory Guthrie
I am pretty new to Haskell, so need some clarification. I am porting some code from SML, and getting a result that surprises me. I basically have some functions which work like this: f1 = fa fb fc test1 = do print test1: f1 But I ran a few tests, and got odd

Re: [Haskell-cafe] Haskell from SML - referrential Transparency?!

2011-04-19 Thread Gregory Guthrie
/haskell_from_sml_question thanks for the help. --- -Original Message- From: Daniel Fischer [mailto:daniel.is.fisc...@googlemail.com] Sent: Tuesday, April 19, 2011 2:16 PM To: haskell-cafe@haskell.org Cc: Gregory Guthrie Subject: Re: [Haskell-cafe

Re: [Haskell-cafe] Haskell from SML - referrential Transparency?!

2011-04-19 Thread Gregory Guthrie
19, 2011 2:26 PM To: Gregory Guthrie Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Haskell from SML - referrential Transparency?! On Tue, Apr 19, 2011 at 4:10 PM, Gregory Guthrie guth...@mum.edu wrote: and I get different results from the two executions (f1,f2), even though

Re: [Haskell-cafe] Haskell from SML - referrential Transparency?!

2011-04-19 Thread Gregory Guthrie
Thanks. It was the no computation needed difference that I was missing, and was including (falsely) in my expectations for same result, i.e. including the same traces. --- Dr. Gregory Guthrie Computer Science Department School of Computer Science