[Haskell-cafe] Re: Interest in helping w/ Haskell standard

2005-10-13 Thread Stephane Bortzmeyer
On Wed, Oct 12, 2005 at 03:39:34PM -0700, Isaac Jones [EMAIL PROTECTED] wrote a message of 30 lines which said: One of the main topics was the perceived need of a new standard, As someone who is not an academic researcher and not a student in CS, I would like to express a personal opinion;

Re: [Haskell-cafe] Re: Interest in helping w/ Haskell standard

2005-10-13 Thread Neil Mitchell
As someone who is not an academic researcher and not a student in CS, I would like to express a personal opinion; we don't need a new standard. Maybe you just don't realise how much we do need a new standard! standard. To me, Haskell needs more libraries, more users (which means more

Re: [Haskell-cafe] Interest in helping w/ Haskell standard

2005-10-13 Thread Antti-Juhani Kaijanaho
Sebastian Sylvan wrote: I'm wondering what incremental and moderate extension means? I don't know what others mean by it, but for me, it implies standardizing existing practice, with possibly some conservative redesign to get rid of any hysterical warts. This is, BTW, what the C89 standard did

RE: [Haskell-cafe] Re: Interest in helping w/ Haskell standard

2005-10-13 Thread Bayley, Alistair
From: Stephane Bortzmeyer [mailto:[EMAIL PROTECTED] As someone who is not an academic researcher and not a student in CS, I would like to express a personal opinion; we don't need a new standard. To me, Haskell needs more libraries, more users (which means more debugging and more

Re: [Haskell-cafe] Re: Interest in helping w/ Haskell standard

2005-10-13 Thread Cale Gibbard
Well, what we already have is a lot of language extensions with varying degrees of support across implementations. GHC is somewhat of a standard in and of itself, and one thing that standardisation efforts bring is a record of what exactly GHC is doing, thus allowing for more and better

Re: [Haskell-cafe] Interest in helping w/ Haskell standard

2005-10-13 Thread Robin Green
On Thursday 13 October 2005 09:42, Simon Marlow wrote: On 12 October 2005 23:50, Sebastian Sylvan wrote: (I'm specifically interested in seeing SPJ's records proposal included, and a new module system). Highly unlikely, IMHO. A new revision of the Haskell standard is not the place for

[Haskell-cafe] Re: Interest in helping w/ Haskell standard

2005-10-13 Thread Stephane Bortzmeyer
On Thu, Oct 13, 2005 at 11:29:57AM +, Robin Green [EMAIL PROTECTED] wrote a message of 22 lines which said: ... and, in the case of the Standard Prelude section, or equivalent, a specification of well-understood functions that the spec authors agree should be provided in all

Re: [Haskell-cafe] Interest in helping w/ Haskell standard

2005-10-13 Thread Sebastian Sylvan
On 10/13/05, Simon Marlow [EMAIL PROTECTED] wrote: On 12 October 2005 23:50, Sebastian Sylvan wrote: (I'm specifically interested in seeing SPJ's records proposal included, and a new module system). Highly unlikely, IMHO. A new revision of the Haskell standard is not the place for

Re: [Haskell-cafe] Papers from the 2005 Haskell Workshop (Tallinn)?

2005-10-13 Thread Antonio Regidor GarcĂ­a
De: John Meacham On Wed, Oct 05, 2005 at 10:53:01PM +0200, Nils Anders Danielsson wrote: Most authors do put their papers on their web pages nowadays. On a side note, it is a little strange that the research community does the research, writes and typesets the papers, and does most

[Haskell-cafe] Examples of using STUArray + help with converting code

2005-10-13 Thread joel reymont
Folks, Are there any examples on using STUArray and friends? I'm trying to convert the following bit of code which uses deprecated features. I don't understand the syntax needed to create a new double or float array with newArray from Data.Array.MArray. I also don't yet understand how to cast

Re: [Haskell-cafe] Examples of using STUArray + help with converting code

2005-10-13 Thread Tomasz Zielonka
On 10/13/05, joel reymont [EMAIL PROTECTED] wrote: Folks, Are there any examples on using STUArray and friends? I'm trying to convert the following bit of code which uses deprecated features. I don't understand the syntax needed to create a new double or float array with newArray from

[Haskell-cafe] Newbie question on Haskell type

2005-10-13 Thread Huong Nguyen
Hi all, I want to write a small functionto test whether an input is a String or not. For example, isString::(Show a) =a -Bool This function will return True if the input is a string and return False if not Any of you have idea about that? Thanks in advance

Re: [Haskell-cafe] Newbie question on Haskell type

2005-10-13 Thread Neil Mitchell
isString::(Show a) =a -Bool This function will return True if the input is a string and return False if not This is not particularly nicely - you certainly can't write it as simple as the 'isString' function, and it will probably require type classes etc, quite possibly with haskell extensions.

Re: [Haskell-cafe] Newbie question on Haskell type

2005-10-13 Thread robert dockins
In GHC you can do this: import Data.Typeable isString :: (Typeable a) = a - Bool isString x = typeOf x == typeOf (undefined::String) Why do you want this? It's not the kind of operation one does very often in Haskell. Huong Nguyen wrote: Hi all, I want to write a small functionto

[Haskell-cafe] newbe/ hdirect/ windows/ com how to compile?

2005-10-13 Thread Marc Weber
Hi. I now get the errror that the module NativeInfo is in the project hdirect and in the library lang of ghc. Removing the files from the hdirect project resulted in a ld error Main_16 not found (don't remember exactly).. If you use hdirect on win succesfully, can you tell me which ghc/ hdirect

Re: [Haskell-cafe] Newbie question on Haskell type

2005-10-13 Thread voigt . 16734551
--- Cale Gibbard [EMAIL PROTECTED] wrote: As an example of this sort of thing, I know that there are only 4 values of type a - Bool (without the class context). They are the constant functions (\x - True), (\x - False), and two kinds of failure (\x - _|_), and _|_, where _|_ is pronounced