[Haskell-cafe] build error with happy-1.15 on ghc-6.6

2007-01-07 Thread Yang
per a previous thread, i addressed the 'package lang not found' issue by changing the following lines to: $ grep -rsn '\blang\b' . | grep Makefile ./happy/src/Makefile:27:SRC_HC_OPTS += #-package lang ./happy/tests/Makefile:62:HC_OPTS += -fglasgow-exts # -package lang however i still get a

Re: [Haskell-cafe] trouble installing ghc 6.6: xargs: /usr/bin/ar: terminated by signal 11

2007-01-07 Thread tphyahoo
Yes, it's repeatable. As I mentioned, this is an ubuntu, virtual server (user mode linux). I'm thinking this may have to do with the exoticness of my system. So, I will repeat this question at the linode forum (linode is my virtual hoster, and the forum there has a lot of knowledgable users),

[Haskell-cafe] Re: Seeking advice on a style question

2007-01-07 Thread apfelmus
Steve Schafer wrote: [Apologies for the long delay in replying; I've been traveling, etc.] [never mind] The other extreme is the one I favor: the whole pipeline is expressible as a chain of function compositions via (.). One should be able to write process = rectangles2pages .

Re: [Haskell-cafe] trouble installing ghc 6.6: xargs: /usr/bin/ar: terminated by signal 11

2007-01-07 Thread Duncan Coutts
On Sat, 2007-01-06 at 15:30 -0800, tphyahoo wrote: I'm having trouble installing ghc 6.6. On ubuntu, virtual server (user mode linux). Something seems to be killing the process, no idea why. Anyone seen this? Yes. /usr/bin/ar: creating libHSbase.a xargs: /usr/bin/ar: terminated by

Re: [Haskell-cafe] trouble installing greencard -- -fno-prune-tydecls flag ( was Re: trivial function application question )

2007-01-07 Thread Duncan Coutts
On Sun, 2007-01-07 at 02:07 +, Ross Paterson wrote: On Sun, Jan 07, 2007 at 12:44:46PM +1100, Donald Bruce Stewart wrote: Those new to Cabal always seem to assume things are going badly when happy not found. We need to address the psychological aspect of Cabal's config process :)

Re: [Haskell-cafe] trouble installing greencard -- -fno-prune-tydecls flag ( was Re: trivial function application question )

2007-01-07 Thread David House
On 07/01/07, Ross Paterson [EMAIL PROTECTED] wrote: But it's not enough to just say Ignore any errors above. Some packages really do need happy (or some other tool) to build. Cabal would need to crawl over the source files to see what preprocessors are really needed. Even if we said

Re: [Haskell-cafe] trouble installing greencard -- -fno-prune-tydecls flag ( was Re: trivial function application question )

2007-01-07 Thread Yitzchak Gale
Ross Paterson wrote: Cabal would need to crawl over the source files to see what preprocessors are really needed. Duncan Coutts wrote: Yes, this is exactly what Cabal should do. In the meantime, how about the following: In default non-verbose mode, silently memoize the list of packages

Re: [Haskell-cafe] trouble installing greencard -- -fno-prune-tydecls flag ( was Re: trivial function application question )

2007-01-07 Thread Neil Mitchell
Hi In the meantime, how about the following: In default non-verbose mode, silently memoize the list of packages that were not found. Then, only if something goes wrong, say something like: The package failed to build. Perhaps the reason is that one of the following packages was not found:

[Haskell-cafe] Why does the wiki search facility not work properly?

2007-01-07 Thread Brian Hulley
Hi, There is a page on the Haskell Wiki titled Talk:SantaClausProblem subtitled Beautiful concurrency. However typing any of the following into the search box *doesn't* lead to the page: Santa talk:santaclausproblem beautiful beautiful concurrency Talk:Santa In fact to get the

Re: [Haskell-cafe] Why does the wiki search facility not work properly?

2007-01-07 Thread Kirsten Chevalier
I don't know, but I would suspect that the page isn't linked from anywhere, and that's why it's not showing up in the search results. Cheers, Kirsten -- Kirsten Chevalier* [EMAIL PROTECTED] *Often in error, never in doubt What is research but a blind date with knowledge? -- Will Henry

Re: [Haskell-cafe] Why does the wiki search facility not work properly?

2007-01-07 Thread Paul Moore
On 07/01/07, Kirsten Chevalier [EMAIL PROTECTED] wrote: I don't know, but I would suspect that the page isn't linked from anywhere, and that's why it's not showing up in the search results. MediaWiki has a concept of namespaces - Talk:SantaClausProblem is in the Talk namespace - maybe that

Re: [Haskell-cafe] Why does the wiki search facility not work properly?

2007-01-07 Thread Kirsten Chevalier
On 1/7/07, Paul Moore [EMAIL PROTECTED] wrote: On 07/01/07, Kirsten Chevalier [EMAIL PROTECTED] wrote: I don't know, but I would suspect that the page isn't linked from anywhere, and that's why it's not showing up in the search results. MediaWiki has a concept of namespaces -

Re: [Haskell-cafe] Why does the wiki search facility not work properly?

2007-01-07 Thread Brandon S. Allbery KF8NH
On Jan 7, 2007, at 12:57 , Kirsten Chevalier wrote: On 1/7/07, Paul Moore [EMAIL PROTECTED] wrote: On 07/01/07, Kirsten Chevalier [EMAIL PROTECTED] wrote: MediaWiki has a concept of namespaces - Talk:SantaClausProblem is in the Talk namespace - maybe that namespace isn't searched by

[Haskell-cafe] HaskellForge?

2007-01-07 Thread Imam Tashdid ul Alam
is it a good idea to have HaskellForge? Ruby, Lua and some other languages have already adopted GForge, and I must say, those sites look *impressive*!!! any Ruby programmer on the list? can anyone provide an estimate of the amount of work involved? cheers, and long live the lambda revolution.

[Haskell-cafe] GADTs are expressive

2007-01-07 Thread Jim Apple
To show how expressive GADTs are, the datatype Terminating can hold any term in the untyped lambda calculus that terminates, and none that don't. I don't think that an encoding of this is too surprising, but I thought it might be a good demonstration of the power that GADTs bring. {-# OPTIONS

Re: [Haskell-cafe] Literate Haskell source files. How do I turn them into something I can read?

2007-01-07 Thread Mikael Johansson
On 12/29/06, Michael T. Richter [EMAIL PROTECTED] wrote: I'm trying to wrap my mind around the darcs source code as a preliminary to looking into GHC's guts. All of darcs is written as .lhs files which have bizarre mark-up in them which distracts me from the actual Haskell source I'm

[Haskell-cafe] no end to the build errors! (wxhaskell, afrp)

2007-01-07 Thread Yang
argh, still more build errors on various fronts. i'm using ghc-6.6 on fedora core 5 unless otherwise noted. thanks in advance for help on any of these. a lot of this is part of my attempt to learn more about and play with a high-level functional gui library (and, of course, for getting a better

Re : [Haskell-cafe] Literate Haskell source files. How do I turn them into something I can read?

2007-01-07 Thread minh thu
snip interactive mode. Here's some sample output: =8= This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) entering extended mode (./CgCon.lhs LaTeX2e 2003/12/01 Babel v3.8d and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan,

Re: [Haskell-cafe] no end to the build errors! (wxhaskell, afrp)

2007-01-07 Thread Brandon S. Allbery KF8NH
On Jan 7, 2007, at 17:56 , Yang wrote: == wxhaskell-0.9.4 == Ditch it; it hates ghc 6.6. darcs get http://darcs.haskell.org/ wxhaskell I can't help with the others. -- brandon s. allbery[linux,solaris,freebsd,perl] [EMAIL PROTECTED] system administrator [openafs,heimdal,too many

[Haskell-cafe] ANN: Yampa + GADT for ghc 6.6

2007-01-07 Thread Joel Reymont
Folks, This is a raw version of cabalized Yampa + GADT for ghc 6.6. darcs get http://wagerlabs.com/yampa I would like to change the layout of the directory tree and I think there should be a single Cabal file that builds the source, tests and examples. I'm not sure if this is possible,

Re: [Haskell-cafe] no end to the build errors! (wxhaskell, afrp)

2007-01-07 Thread Yang
thanks for the timely response. using this wxhaskell and the (just-in-time re-released) yampa (it built/installed fine, unlike the old afrp release i tried earlier), i tried again to build wxfruit: $ ghc --make WXFruit.hs WXFruit.hs:12:17: Could not find module `Graphics.UI.WX': looking

Re: [Haskell-cafe] no end to the build errors! (wxhaskell, afrp)

2007-01-07 Thread Yang
thanks, now wxhaskell is installed. (i recommend adding this detail to the docs - i didn't see the message at the end of the make job at all because of the tools i use to automate this process.) now the error i get from wxfruit is: $ ghc --make WXFruit.hs [1 of 1] Compiling WXFruit (

Re: [Haskell-cafe] HaskellForge?

2007-01-07 Thread Donald Bruce Stewart
uchchwhash: is it a good idea to have HaskellForge? Ruby, Lua and some other languages have already adopted GForge, and I must say, those sites look *impressive*!!! Got some URLs for these? any Ruby programmer on the list? can anyone provide an estimate of the amount of work involved?

Re: [Haskell-cafe] HaskellForge?

2007-01-07 Thread Brandon S. Allbery KF8NH
On Jan 7, 2007, at 23:17 , Donald Bruce Stewart wrote: uchchwhash: is it a good idea to have HaskellForge? Ruby, Lua and some other languages have already adopted GForge, and I must say, those sites look *impressive*!!! Got some URLs for these? http://rubyforge.org/ , for one. But I'd

Re: [Haskell-cafe] HaskellForge?

2007-01-07 Thread Donald Bruce Stewart
allbery: On Jan 7, 2007, at 23:17 , Donald Bruce Stewart wrote: uchchwhash: is it a good idea to have HaskellForge? Ruby, Lua and some other languages have already adopted GForge, and I must say, those sites look *impressive*!!! Got some URLs for these? http://rubyforge.org/ ,

[Haskell-cafe] hacking ghci

2007-01-07 Thread Walter Moreira
Hi Haskellers. A short while ago I asked about the possibility to have the output of ghci in color. Thanks to Donald Stewart who set up a wiki page to continue the attempt. Other people suggested HsColour and GUI's (thanks too). I'm not so interested in highlighting the snippets of code which

Re: [Haskell-cafe] hacking ghci

2007-01-07 Thread Dan Mead
a carrot indicator like java does would also be a nice addition. On 1/8/07, Walter Moreira [EMAIL PROTECTED] wrote: Hi Haskellers. A short while ago I asked about the possibility to have the output of ghci in color. Thanks to Donald Stewart who set up a wiki page to continue the attempt.