Re: [Haskell-cafe] SIGPLAN Programming Languages Software Award

2011-06-09 Thread Andres Loeh
I think the history of generics in Java is Pizza (http://pizzacompiler.sourceforge.net/) - GJ (http://lamp.epfl.ch/pizza/gj/) - Java I think that if you consider that history, and in particular the Pizza compiler, then the connection to FP becomes rather obvious. Cheers, Andres

Re: [Haskell-cafe] cap 3: stopping thread 3 (stackoverflow)

2011-06-07 Thread Andres Loeh
I don't think a stack overflow event indicates an RTS bug. Stack overflow events usually result in the RTS trying to adjust the stack size, and only if that fails, the program is halted. (... and why can't I copy/paste the text from threadscope's output window) As a workaround, you can use the

Re: [Haskell-cafe] Cabal: top level dependency base -any

2011-05-24 Thread Andres Loeh
Hi. Could anyone shed light on the meaning of this error message? cabal: cannot configure xmonad-0.9.1 It requires base ==3.* For the dependency on base ==3.* there are these packages: base-3.0.3.1 and base-3.0.3.2. However none of them are available. base-3.0.3.1 was excluded because of

Re: [Haskell-cafe] Cabal: top level dependency base -any

2011-05-24 Thread Andres Loeh
Hi. So would it be correct to infer that the -any restriction will only (and always) come into play with special packages such as base? No. Unfortunately, -any really means any version is allowed, so that's why the error message is really misleading. Are there any other special packages

Re: [Haskell-cafe] Data constructor synonyms

2011-03-18 Thread Andres Loeh
 Remember that constructors are functions, except that you can't  pattern match against them. ..  The downside is that you can't pattern-match against these functions. The thing is that I need pattern matching, just functions won't do. It's only a preprocessor, but Conor's she allows

Re: [Haskell-cafe] lhs2tex and line numbers

2011-02-14 Thread Andres Loeh
Hi. How could I convince lhs2tex to add in poly mode line numbers before each code line in code block? A long time ago, I've written some experimental code that achieves line numbering in lhs2tex. I've committed the files to the github repository, so you can have a look at the .fmt file and

Re: [Haskell-cafe] lhs2tex build failure

2010-12-15 Thread Andres Loeh
The latest version on GitHub should fix the problem. I'll make a new release soon. https://github.com/kosmikus/lhs2tex Cheers, Andres ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Hackage accounts and real names

2010-04-06 Thread Andres Loeh
it is now, where some people who just silently use pseudonyms get accounts, and others, who are not willing to lie, are rejected, is very bad. If people are really worried about trust, then a comment/reviewing system for Hackage is a better solution. Cheers, Andres -- Andres Loeh, Universiteit

Re: [Haskell-cafe] Haskell course, training

2010-03-07 Thread Andres Loeh
-level), we have no formal requirement that participants must be students, and we will certainly consider other applications. Cheers, Andres -- Andres Loeh, Universiteit Utrecht mailto:and...@cs.uu.nl mailto:m...@andres-loeh.de http://www.andres-loeh.de

[Haskell-cafe] Re: lhs2TeX \eval{} problem

2010-03-02 Thread Andres Loeh
} Three x = 0 HTH, Andres -- Andres Loeh, Universiteit Utrecht mailto:and...@cs.uu.nl mailto:m...@andres-loeh.de http://www.andres-loeh.de ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Re: lhs2TeX \eval{} problem

2010-03-02 Thread Andres Loeh
kill the process. Are you sure you added the extra line at the end? Try to call ghci on the source file. If it manages to load it without errors, then lhs2TeX should succeed as well. Cheers, Andres -- Andres Loeh, Universiteit Utrecht mailto:and...@cs.uu.nl mailto:m...@andres-loeh.de http

[Haskell-cafe] ANN: lhs2tex-1.15 (was: lhs2tex, Haskell Platform and cygwin)

2009-12-18 Thread Andres Loeh
know if this works. Cheers, Andres -- Andres Loeh, Universiteit Utrecht mailto:and...@cs.uu.nl mailto:m...@andres-loeh.de http://www.andres-loeh.de ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] lhs2tex + pretty print

2009-12-10 Thread Andres Loeh
The attached document works for me. HTH, Andres -- Andres Loeh, Universiteit Utrecht mailto:and...@cs.uu.nl mailto:m...@andres-loeh.de http://www.andres-loeh.de \documentclass{article} %include polycode.fmt %options ghci \begin{document} \section{Test} test = putStrLn \\section

Re: [Haskell-cafe] Functors and the Visitor Pattern

2009-06-03 Thread Andres Loeh
functors in non-functional languages? What would that pattern look like? Perhaps this paper can answer your question: Jeremy Gibbons, Bruno C.d.S. Oliveira The essence of the Iterator pattern http://web.comlab.ox.ac.uk/oucl/work/jeremy.gibbons/publications/iterator.pdf HTH, Andres -- Andres Loeh

Re: [Haskell-cafe] The votes are in!

2009-03-24 Thread Andres Loeh
? Scroll to the bottom of the results page linked above and click on the button, and you'll get a matrix comparing each logo to each other logo. You still have to interpret the results yourself, though. Cheers, Andres -- Andres Loeh, Universiteit Utrecht mailto:and...@cs.uu.nl mailto:m

Re: [Haskell-cafe] Hac5 projects page

2009-02-24 Thread Andres Loeh
attending might be able to help me ... HTH, Andres -- Andres Loeh, Universiteit Utrecht mailto:and...@cs.uu.nl mailto:m...@andres-loeh.de http://www.andres-loeh.de ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] Type wildcards

2008-12-17 Thread Andres Loeh
-- Andres Loeh, Universiteit Utrecht mailto:and...@cs.uu.nl mailto:m...@andres-loeh.de http://www.andres-loeh.de ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Associated data types

2008-12-10 Thread Andres Loeh
associated type synonyms, is there still reason to have associated data types? [...] Another, somewhat related, issue is that associated type synonyms cannot currently be partially applied, whereas associated data types can. Cheers, Andres -- Andres Loeh, Universiteit Utrecht mailto:[EMAIL

Re: [Haskell-cafe] Function Composition

2007-02-06 Thread Andres Loeh
Can anyone explain why Shape.Polygon would have a different type to (Shape).Polygon, I thought the brackets would be redundant. Here is the output from a Hugs session Animation :v -- Hugs Version 20050113 Animation :t Shape Shape :: Shape - Region Animation :t Polygon Polygon ::

Re: [Haskell-cafe] Decidable type systems? (WAS: Associated Type Synonyms question)

2006-02-16 Thread Andres Loeh
Can someone explain to me why decidability is of any practical interest at all? What's the (practical) difference between a decision procedure which might never terminate and one which might take 1,000,000 years to terminate? Actually, why push it out to 1,000,000 years: in the context of

[Haskell-cafe] REMINDER: Contributions to the HCA Report (November 2005 edition)

2005-10-25 Thread Andres Loeh
Dear Haskellers, the deadline for the November 2006 edition of the Haskell Communities and Activities Report is only a few days away -- but this is still enough time to make sure that the report contains a section on *your* project, on the interesting stuff that you've been doing; using or

[Haskell-cafe] ANNOUNCE: Haskell Communities Activities Report (8th ed., May 2005)

2005-05-12 Thread Andres Loeh
on in the community. Feel free to circulate this announcement further in order to reach people who might otherwise not see it. Enjoy! Andres Loeh hcar at haskell.org andres at cs.uu.nl -- Haskell Communities and Activities Report (http://haskell.org/communities

Re: [Haskell-cafe] lhs2TeX and line numbers in error messages produced by LaTeX

2005-05-02 Thread Andres Loeh
I use lhs2TeX for typesetting literate haskell code. The problem is that LaTeX uses the line numbers from the .tex file generated by lhs2TeX and not the line number from the original .lhs file when producing error messages. Does anyone have a solution for this problem? Sorry, I don't. I

[Haskell-cafe] REMINDER: Contributions to the HCA Report (May 2005 edition)

2005-04-28 Thread Andres Loeh
Dear Haskellers, the deadline for the May 2005 edition of the Haskell Communities and Activities Report is only a few days away -- but this is still enough time to make sure that the report contains a section on *your* project, on the interesting stuff that you've been doing; using or affecting

[Haskell-cafe] Call for Contributions -- HCA Report (May 2005 edition)

2005-04-14 Thread Andres Loeh
Dear Haskellers, it is nearly time for the eighth edition of the Haskell Communities Activities Report http://www.haskell.org/communities/ Submission deadline: 03 May 2005

Re: [Haskell-cafe] The difference between ($) and application

2004-12-14 Thread Andres Loeh
Date: Tue, 14 Dec 2004 10:24:15 -0500 From: Andrew Pimlott [EMAIL PROTECTED] Subject: Re: [Haskell-cafe] The difference between ($) and application On Tue, Dec 14, 2004 at 11:23:24AM +0100, Henning Thielemann wrote: On Tue, 14 Dec 2004, Andrew Pimlott wrote: (Of course, it's still

[Haskell-cafe] ANNOUNCE: Haskell Communities Activities Report (7th ed., November 2004)

2004-11-10 Thread Andres Loeh
on in the community. Feel free to circulate this announcement further in order to reach people who might otherwise not see it. Enjoy! Andres Loeh [EMAIL PROTECTED] [EMAIL PROTECTED] -- Haskell Communities and Activities Report (http://haskell.org/communities

[Haskell-cafe] REMINDER: Contributions to the HCA Report (November 2004 edition)

2004-10-26 Thread Andres Loeh
Dear Haskellers, the deadline for the November 2004 edition of the Haskell Communities and Activities is approaching quickly -- but there are still a few days left to make sure that the report contains a section on *your* project, on the interesting stuff that you've been doing, using or

[Haskell-cafe] Re: REMINDER: Contributions to the HCA Report (November 2004 edition)

2004-10-26 Thread Andres Loeh
Sorry, the link was incorrect. The pointer should have been: Furthermore, please have a look at http://haskell.org/communities/topics.html Cheers, Andres -- Haskell Communities and Activities Report (http://haskell.org/communities) 11/2004 edition submission deadline: 29 October 2004