RE: [Haskell-cafe] Type problem with simple takusen code (was: Trivialdatabase access in Haskell)

2006-12-13 Thread Bayley, Alistair
From: Paul Moore [mailto:[EMAIL PROTECTED] runhaskell db.hs can't load .so/.DLL for: sqlite3 (addDLL: unknown error) This seems odd, as I'm not (intending to be) using sqlite here. If I copy a sqlite3.dll onto my PATH (just to get by, it's quite possible sqlite isn't set up right but I

Re: [Haskell-cafe] Re: Reversing a string of words: C# v Perl V Ruby v Haskell

2006-12-13 Thread Ulf Norell
On Dec 13, 2006, at 3:54 AM, Yitz Gale wrote: Nice. Here is something similar: reverseWords = concat . reverse . groupBy eqsp where eqsp x y = isSpace x == isSpace y This can be made even nicer using the 'on' function [1]: reverseWords = concat . reverse . groupBy ((==) `on` isSpace)

Re: [Haskell-cafe] Re: Reversing a string of words: C# v Perl V Ruby v Haskell

2006-12-13 Thread Donald Bruce Stewart
ulfn: On Dec 13, 2006, at 3:54 AM, Yitz Gale wrote: Nice. Here is something similar: reverseWords = concat . reverse . groupBy eqsp where eqsp x y = isSpace x == isSpace y This can be made even nicer using the 'on' function [1]: reverseWords = concat . reverse . groupBy ((==)

[Haskell-cafe] Request for improvements

2006-12-13 Thread Chris Kuklewicz
I have written a thin but useful layer on top of parts of Control.Concurrent and Control.Exception to aid in forking new threads. I think I have written it correctly and understand the guarantees (when running under GHC 6.4 or 6.6). It is useful when * you need to be able to check whether a

Re: [Haskell-cafe] Type problem with simple takusen code (was: Trivialdatabase access in Haskell)

2006-12-13 Thread Paul Moore
On 12/13/06, Bayley, Alistair [EMAIL PROTECTED] wrote: From: Paul Moore [mailto:[EMAIL PROTECTED] This appears to be caused by ghci/runhaskell wanting to link the entire library at once, rather than just the modules you're using. I don't know if this is a bug or a feaure with ghci; anybody else

Re: [Haskell-cafe] Re: Haskell and .NET

2006-12-13 Thread Neil Mitchell
Hi Yhc also has a .NET generating capability, just pass the -dotnet flag. http://haskell.org/haskellwiki/Yhc Thanks Neil On 12/12/06, Monique Monteiro [EMAIL PROTECTED] wrote: Hi Justin, I've runned a research project about this topic (in fact, it was the subject of my MSc dissertation).

Re: [Haskell-cafe] Re: Micro-contributions to MissingH

2006-12-13 Thread Neil Mitchell
Hi I'm wondering if I should submit this as a patch for MissingH. If so, where in the new hierarchy should this be placed? I submitted 3 patches to missingh about a week ago, but have heard nothing back since. Did they get spam filtered or something? Thanks Neil

Re: [Haskell-cafe] Re: Haskell and .NET

2006-12-13 Thread Krasimir Angelov
The problem with Haskell for .NET is that the produced executables are usually very slow. Good optimizing compiler like GHC has better chance to produce code with reasonable performance. The major problem with YHC is that it still doesn't have strictness analyzer. The consequence is that the

Re: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Kaveh Shahbazian
I think this is going out of the way. Excuse me, but the main discussion was not about pascal! And thanks again to all. Now I think there is a bigger whole between current situation of Haskell and using It as a real tool, than what I thought before. But any way; I still have a hope for rising a

Re: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Alfonso Acosta
I really like your approach Udo, and I would use it, but I added the condition of not splitting the descriptor for a good reason, let me explain it. Let's summarize what we have first ... Here is my _simplified_ Descriptor -- Descriptor, equivalent to a C struct with function pointers -- hd

Re: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Alfonso Acosta
On 12/13/06, Brandon Moore [EMAIL PROTECTED] wrote: It looks to me like the C code could make your program segfault from a type missmatch, if it gets a handle from instantiating one descriptor, and tries to run it from another. Well, the C code could even provide (by error or at will) any

Re: [Haskell-cafe] Re: On improving libraries: wanted list

2006-12-13 Thread John Goerzen
On Wed, Dec 13, 2006 at 04:19:58PM +1100, Donald Bruce Stewart wrote: In particular, you seem to be wanting my pipeBoth function. Note that your proposed String - IO String function type is insufficient because it does not provide a way to evaluate the return value of the function.

Re: [Haskell-cafe] Re: Micro-contributions to MissingH

2006-12-13 Thread John Goerzen
On Wed, Dec 13, 2006 at 12:01:36PM +, Neil Mitchell wrote: Hi I'm wondering if I should submit this as a patch for MissingH. If so, where in the new hierarchy should this be placed? I submitted 3 patches to missingh about a week ago, but have heard nothing back since. Did they get

[Haskell-cafe] Re: Re: Large data structures

2006-12-13 Thread Benjamin Franksen,15.8.202,6392-4982,
Alex Queiroz wrote: On 12/12/06, Benjamin Franksen [EMAIL PROTECTED] wrote: PS: Please try to include exactly the relevant context in replies, no more, no less. Your original question (stripped down to the body of the text) would have been relevant, here, but neither 'Hello', nor 'Cheers' are

Re: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Kirsten Chevalier
On 12/13/06, Kaveh Shahbazian [EMAIL PROTECTED] wrote: I think this is going out of the way. Excuse me, but the main discussion was not about pascal! This list is exactly for off-topic discussions :-) And thanks again to all. Now I think there is a bigger whole between current situation of

RE: [Haskell-cafe] Type problem with simple takusen code (was: Trivialdatabase access in Haskell)

2006-12-13 Thread Bayley, Alistair
Having said that, I now get ghc --make db.hs -o db [1 of 1] Compiling Main ( db.hs, db.o ) Linking db.exe ... D:\Apps\GHC\gcc-lib\ld.exe: cannot find -lsqlite3 collect2: ld returned 1 exit status This may be because I have a sqlite3.dll in my PATH, but no development libs.

Re: [Haskell-cafe] Re: Aim Of Haskell

2006-12-13 Thread Bulat Ziganshin
Hello Joachim, Wednesday, December 13, 2006, 2:17:08 AM, you wrote: Actually, it's quite simple: following the ideology de jour and teaching-relevant support. are you remember title of Wirth's book? algorithms + data structures = programs. i think that Haskell is ideal language for teaching

Re[2]: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Bulat Ziganshin
Hello Udo, Wednesday, December 13, 2006, 3:25:32 AM, you wrote: Well, all you need to do is to throw out your OO-Think (and with it Typeable and casts) and you'll realize what you're actually doing here: you're passing functions. Say so and everything comes naturally. Alfonso, you may be

Re[2]: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Bulat Ziganshin
Hello Kirsten, Tuesday, December 12, 2006, 4:28:18 PM, you wrote: Actually, the more I think of it, the more I think we should rename the language altogether. Curry would have avoided this problem. we can also rename Pascal to Blez to avoid confusion -- Best regards, Bulat

Re[2]: [Haskell-cafe] Re: a cabal/database lib experience

2006-12-13 Thread Bulat Ziganshin
Hello Paul, Tuesday, December 12, 2006, 4:48:55 PM, you wrote: ./Setup.lhs configure -p ./Setup.lhs build ./Setup.lhs install I come from a Python background, and Python's distutils (which feels very like cabal - or should that be the other way round?) tends to have later

Re: [Haskell-cafe] Re: Haskell and .NET

2006-12-13 Thread Bulat Ziganshin
Hello Monique, Wednesday, December 13, 2006, 1:05:18 AM, you wrote: subset of the Haskell language to .NET, but we still don't have an available release (we don't support the full Haskell prelude yet). if you are interested in providing Base library functionality, look at the

Re: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Taral
On 12/13/06, Alfonso Acosta [EMAIL PROTECTED] wrote: -- hd and id are (void *) in C and modelled as type parameters in Haskell data Descriptor id hd = Descriptor {uniqueID :: LadspaIndex, label :: String,

Re: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Udo Stenzel
Alfonso Acosta wrote: On 12/13/06, Udo Stenzel [EMAIL PROTECTED] wrote: Finished! Look Ma, no existentials, no Typeable, no wrappers, even the types have become simple! I like the fact that type parameters are removed, which makes them homegeneus and solves the problem of storing them in a

Re: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Taral
On 12/13/06, Alfonso Acosta [EMAIL PROTECTED] wrote: deactivate :: Maybe(hd - IO ()), According to the spec, NULL here means no-op. So instead of using Maybe, just set deactivate = \_ - return () if you see NULL. -- Taral [EMAIL PROTECTED] You can't prove anything.

Re: [Haskell-cafe] Re: Haskell and .NET

2006-12-13 Thread Neil Mitchell
Hi Krasimir, to produce code with reasonable performance. The major problem with YHC is that it still doesn't have strictness analyzer. It does, or rather Yhc.Core does (see Yhc.Core.Strictness - http://www.cs.york.ac.uk/fp/yhc/snapshot/docs/Yhc-Core-Strictness.html). This was only done a few

Re: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Taral
On 12/13/06, Taral [EMAIL PROTECTED] wrote: Second, you don't want the consumer to pick the hd type. If you're willing to accept extensions (I think you are), make it existential: data Descriptor = forall hd. Descriptor { ... } This will ensure that you can't pass the handles from one plugin

Re: [Haskell-cafe] Re: Aim Of Haskell

2006-12-13 Thread Kirsten Chevalier
On 12/13/06, Bulat Ziganshin [EMAIL PROTECTED] wrote: Hello Joachim, Wednesday, December 13, 2006, 2:17:08 AM, you wrote: Actually, it's quite simple: following the ideology de jour and teaching-relevant support. are you remember title of Wirth's book? algorithms + data structures =

Re: [Haskell-cafe] Re: Haskell and .NET

2006-12-13 Thread Krasimir Angelov
On 12/13/06, Neil Mitchell [EMAIL PROTECTED] wrote: Hi Krasimir, to produce code with reasonable performance. The major problem with YHC is that it still doesn't have strictness analyzer. It does, or rather Yhc.Core does (see Yhc.Core.Strictness -

Re: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Malcolm Wallace
Bulat Ziganshin [EMAIL PROTECTED] wrote: one particular thing that we still lack is something like book Haskell in real world How about:

Re: [Haskell-cafe] Re: [Haskell] ANNOUNCE: Phooey -- a Functional UI library for Haskell

2006-12-13 Thread Magnus Therning
On the web page the screen shots are all on Windows. Is that the only supported platform at the moment? (I'd love to see support for GTK :-) /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]

Re: [Haskell-cafe] Re: Writing Haskell For Dummies Or At Least For People Who Feel Like Dummies When They See The Word 'Monad'

2006-12-13 Thread Justin Bailey
On 12/12/06, Joachim Durchholz [EMAIL PROTECTED] wrote: Agreed. Something along the lines of The Art of Functional Programming. +1 . I would love to read something that is the equivalent of 'design patterns', but for functional languages. I thought Osasaki's book Purely Functional Data

Re: [Haskell-cafe] Re: Haskell and .NET

2006-12-13 Thread Justin Bailey
On 12/13/06, Krasimir Angelov [EMAIL PROTECTED] wrote: The problem with Haskell for .NET is that the produced executables are usually very slow. Good optimizing compiler like GHC has better chance I don't really want something that compiles Haskell to the CLR, though that would be great

Re: [Haskell-cafe] Re: [Haskell] ANNOUNCE: Phooey -- a Functional UI library for Haskell

2006-12-13 Thread Conal Elliott
Phooey is built on wxHaskell. Quoting from the wxHaskell home pagehttp://wxhaskell.sourceforge.net , wxHaskell is therefore built on top of wxWidgets http://www.wxwidgets.org/– a comprehensive C++ library that is portable across all major GUI platforms; including GTK, Windows, X11, and MacOS

Re: [Haskell-cafe] Re: Haskell and .NET

2006-12-13 Thread Neil Mitchell
Hi And strictness is not the biggest problem, a complete lack of any optimisations is, but I'm working on that one too! It is great to hear that. Of course an optimiser will be beneficial too but I guess that even the benefit that the code generator can have from the strictness analyzer will

Re: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Claus Reinke
The reason why Haskell is academic-centric is that it was originally conceived by academics, and they were interested in doing research into language design and implementation .. shouldn't we make this used to be academic-centric? People outside academia who might be inclined to take on some

Re: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Alex Queiroz
Hallo, On 12/13/06, Claus Reinke [EMAIL PROTECTED] wrote: we have had lots of languages that were intended to be well-designed (good, beautiful, ..), but never much used in practice, and we have also had lots of languages that were intended to be pragmatic (practical, useful, ..), without much

Re: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Alfonso Acosta
On 12/13/06, Taral [EMAIL PROTECTED] wrote: On 12/13/06, Alfonso Acosta [EMAIL PROTECTED] wrote: -- hd and id are (void *) in C and modelled as type parameters in Haskell data Descriptor id hd = Descriptor {uniqueID :: LadspaIndex, label

Re: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Alfonso Acosta
On 12/13/06, Taral [EMAIL PROTECTED] wrote: On 12/13/06, Alfonso Acosta [EMAIL PROTECTED] wrote: deactivate :: Maybe(hd - IO ()), According to the spec, NULL here means no-op. So instead of using Maybe, just set deactivate = \_ - return () if you see NULL. I

Re: [Haskell-cafe] cpphs and #pragma

2006-12-13 Thread Malcolm Wallace
Dimitry Golubovsky [EMAIL PROTECTED] wrote: Is this a bug or a feature that cpphs does not pass the #pragma cpp directive (they disappear in the output)? A feature I suppose. At least, it was a deliberate design choice. The purpose of cpphs is to remove all # directives from the file,

Re: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Alfonso Acosta
On 12/13/06, Taral [EMAIL PROTECTED] wrote: Third, we can split handles out as actual objects now: This idea resembles how a descriptor is modelled in the last version of HLADSPA. The difference is that a handle is modelled as a type class and not a record (see

[Haskell-cafe] c2hs examples?

2006-12-13 Thread Magnus Therning
Does anyone know of any good source of examples if one wants to learn to use c2hs? The documentation that comes with c2hs is a little too sparse when it comes to examples to actually work out how things work. I don't mind looking at some reasonably sized project that uses c2hs (gtk2hs is a

Re: [Haskell-cafe] Dynamic types through unsafeCoerce

2006-12-13 Thread Taral
On 12/13/06, Alfonso Acosta [EMAIL PROTECTED] wrote: I don't see what you mean here. I'm not using ForeignPtrs at all. ... you're *writing* a plugin, not using one. Oh. Um... let me think about that one. -- Taral [EMAIL PROTECTED] You can't prove anything. -- Gödel's Incompetence Theorem

Re: [Haskell-cafe] Mozart versus Beethoven (was: Writing Haskell For Dummies ...)

2006-12-13 Thread minh thu
2006/12/12, Kirsten Chevalier [EMAIL PROTECTED]: [snip] I've been thinking about this. Are there really any programmers who are like Mozart in the way you describe? Donald Knuth might be one, or at least, he wrote that he wrote and debugged all of TeX on paper before entering it into a computer

Re: [Haskell-cafe] Good Haskell introduction for an Ocaml programmer?

2006-12-13 Thread Bulat Ziganshin
Hello Brian, Tuesday, December 12, 2006, 3:39:41 PM, you wrote: So I was wondering if there was a better introduction for me out there? I'm willing to pay for a book or read something online, whichever. i think that there are not so much FP programmers learning Haskell (comparing to number of

Re: [Haskell-cafe] Mozart versus Beethoven (was: Writing Haskell For Dummies ...)

2006-12-13 Thread Henk-Jan van Tuyl
On Tue, 12 Dec 2006 12:07:37 +0100, Kirsten Chevalier [EMAIL PROTECTED] wrote: On 12/12/06, Patrick Mulder [EMAIL PROTECTED] wrote: Not sure whether this is the right place to discuss computers and programming in general: You're implying that there's a *more* appropriate forum somewhere

Re: [Haskell-cafe] Re: On improving libraries: wanted list

2006-12-13 Thread Donn Cave
On Wed, 13 Dec 2006, John Goerzen wrote: [... re System.Cmd.Utils] It could go under System.Posix perhaps. It relies quite heavily on functionality provided by the unix package and the System.Posix.* tree. Take a look at the source at:

Re: Re: Re: [Haskell-cafe] Writing Haskell For Dummies Or At Least For People Who Feel Like Dummies When They See The Word 'Monad'

2006-12-13 Thread mm
Please note that it may be hard to make a print out of a wikibook. You might want to use Docbook/XML or Latex in a darcs repo- sitory instead. On Mon, Dec 11, 2006 at 03:23:13PM -0500, Matt Revelle wrote: Sorry, wasn't sure I had clearly expressed that it's possible to have an open book end up

[Haskell-cafe] Request for a Simple Pretty Printing library

2006-12-13 Thread Neil Mitchell
Hi, I've been using the HughesPJ pretty printing library, but I need a new combinator: wrap :: String - Doc - String - Doc wrap prepend doc append = ... The semantics of this would be that the text is prepended and appended to the doc when rendered, but does not alter the pretty printing at

Re: [Haskell-cafe] Request for a Simple Pretty Printing library

2006-12-13 Thread Tomasz Zielonka
On Wed, Dec 13, 2006 at 08:58:25PM +, Neil Mitchell wrote: I've been using the HughesPJ pretty printing library, but I need a new combinator: wrap :: String - Doc - String - Doc wrap prepend doc append = ... The semantics of this would be that the text is prepended and appended to

Re: [Haskell-cafe] Request for a Simple Pretty Printing library

2006-12-13 Thread Doaitse Swierstra
The Prettyprint library you can download from: http://www.cs.uu.nl/wiki/HUT/Download and is described on: http://www.cs.uu.nl/wiki/HUT/PrettyPrintingCombinators contains amongst others the following code: data Doc= Empty | Char Char -- invariant: char is

[Haskell-cafe] less than helpful GHC error message

2006-12-13 Thread Nicolas Frisby
Consider the terminal session at the bottom of this message. The extra xc in Test.hs was the result of me missing CTRL during an Emacs command (I'm guessing...). Unfortunately this took 30 minutes to find since I had far more than two modules and the error message doesn't point this out. Sure

Re: [Haskell-cafe] Request for a Simple Pretty Printing library

2006-12-13 Thread Neil Mitchell
Hi Something like: wrap prepend doc append = zeroText prepend doc zeroText append zeroText s = textBeside_ (Str s) 0 Empty Thanks, that works great! Is there likely to be any support for adding this to the standard library? I'd rather not have to fork a version of HughesPJ to get this

Re: [Haskell-cafe] Mozart versus Beethoven (was: Writing Haskell For Dummies ...)

2006-12-13 Thread Kirsten Chevalier
On 12/13/06, minh thu [EMAIL PROTECTED] wrote: Another difference with music that strikes me is the level of abstraction : a note is a note. A line of code (especially in a imperative setting) is much more than a line of code. Ok, one can argue that notes interact together but, imo, not in the

Re: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Kirsten Chevalier
On 12/13/06, Claus Reinke [EMAIL PROTECTED] wrote: The reason why Haskell is academic-centric is that it was originally conceived by academics, and they were interested in doing research into language design and implementation .. shouldn't we make this used to be academic-centric? I think

Re[2]: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Bulat Ziganshin
Hello Alex, Wednesday, December 13, 2006, 8:01:07 PM, you wrote: mailing list, and the usual answer is why?. The authors claim that when thinking about a new version of Lua they don't think of features to add, but what features they can remove. Newspeak is the only language that is

Re[2]: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Bulat Ziganshin
Hello Malcolm, Wednesday, December 13, 2006, 6:53:56 PM, you wrote: one particular thing that we still lack is something like book Haskell in real world How about: Applications of Functional Programming (Hardcover) by Colin Runciman (Editor), David Wakeling (Editor)

[Haskell-cafe] What is a hacker? [was: Mozart versus Beethoven]

2006-12-13 Thread Benjamin Franksen
Kirsten Chevalier wrote: On 12/12/06, Patrick Mulder [EMAIL PROTECTED] wrote: PS I like the idea of a book Hakell for Hackers Maybe Haskell for People Who Want to Be Hackers? I would never buy a book with such a title, even if I didn't have the slightest clue about programming. However

Re: [Haskell-cafe] Reversing a string of words: C# v Perl V Ruby v Haskell

2006-12-13 Thread Steve Downey
ok, i'll bite. why should i prefer join rather than concat in the list monad. and, moreover, why is this a lambdabot trick? i suspect that the answer actually has a deep connection to the 'dummies' thread next door. while any program that produces the right result is correct, there are some

Re: [Haskell-cafe] Reversing a string of words: C# v Perl V Ruby v Haskell

2006-12-13 Thread Donald Bruce Stewart
sdowney: ok, i'll bite. why should i prefer join rather than concat in the list monad. and, moreover, why is this a lambdabot trick? Oh, but you shouldn't prefer it! It's obfuscating! It's a trick simply because lambdabot knows the rewriting: 12:16 dons ?pl reverseWords = concat .

Re: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Steve Downey
well, if Sun hadn't have released a version of smalltalk with a funny c like syntax, you might have seen some interesting developments in the mid 90's On 12/13/06, Claus Reinke [EMAIL PROTECTED] wrote: The reason why Haskell is academic-centric is that it was originally conceived by

Re: [Haskell-cafe] Request for a Simple Pretty Printing library

2006-12-13 Thread Donald Bruce Stewart
doaitse: The Prettyprint library you can download from: http://www.cs.uu.nl/wiki/HUT/Download I've added uulib to the libraries page: http://haskell.org/haskellwiki/Libraries_and_tools/Compiler_tools#Pretty_printing But this makes me wonder: how many other top secret utrecht

Re: [Haskell-cafe] Aim Of Haskell

2006-12-13 Thread Claus Reinke
well, if Sun hadn't have released a version of smalltalk with a funny c like syntax, you might have seen some interesting developments in the mid 90's yes, perhaps. but now that funny smalltalk is open source, the self team has been released from indenture (after Scheme and Self people, Sun is

[Haskell-cafe] Re: Designing an object model in Haskell (RESOLVED)

2006-12-13 Thread John Ky
Hi all, I'm now using existential types. I avoided learning about them because the name sounded so highly technical and obscure it did not occur to me they could be related to OO. Thanks, -John On 12/7/06, John Ky [EMAIL PROTECTED] wrote: Hi, I've got an object model that I have a

[Haskell-cafe] Building the community

2006-12-13 Thread Donald Bruce Stewart
One of the great aspects of programming Haskell is the community. We should aim to have the strongest, friendliest, most productive community we can. We're doing a good job so far, can we do even better? Reading this: How to Build a User Community

Re: [Haskell-cafe] Re: On improving libraries: wanted list

2006-12-13 Thread Donald Bruce Stewart
jgoerzen: On Wed, Dec 13, 2006 at 04:19:58PM +1100, Donald Bruce Stewart wrote: In particular, you seem to be wanting my pipeBoth function. Note that your proposed String - IO String function type is insufficient because it does not provide a way to evaluate the return value of the

[Haskell-cafe] type variable question

2006-12-13 Thread Nicolas Frisby
I'm developing a typesafe record library (akin to HList but starting with key/val pairs and enforcing uniqueness and sorted order of keys). I'm having a GHC problem I've had with other projects and seen comments regarding it in other people's code (HList for instance: GHC doesn't like it's own

Re: [Haskell-cafe] Building the community

2006-12-13 Thread J. Garrett Morris
On 12/13/06, Donald Bruce Stewart [EMAIL PROTECTED] wrote: * Give tips on how to answer questions + Ok. we can put up an article here. Some suggestions: - Solutions with unsafePerformIO should be discouraged (moreso ;) I'd like to at least suggest a slight

Re: [Haskell-cafe] What is a hacker? [was: Mozart versus Beethoven]

2006-12-13 Thread Kirsten Chevalier
On 12/14/06, Benjamin Franksen [EMAIL PROTECTED] wrote: Kirsten Chevalier wrote: (Since, of course, one should never apply the term hacker to oneself.) Who told you that? The Jargon File. But yes, I can anticipate more or less all of the possible responses to *that*, and, point taken.

[Haskell-cafe] Interpreter output in color

2006-12-13 Thread Donald Bruce Stewart
Forward to haskell-cafe@haskell.org for further discussion. - Forwarded message from Walter Moreira [EMAIL PROTECTED] - Date: Thu, 14 Dec 2006 06:46:44 + From: Walter Moreira [EMAIL PROTECTED] To: haskell@haskell.org Subject: [Haskell] interpreter ouput in color Hi all. I was