Re: 2 questions: CVS Win32

1999-03-13 Thread Felix Schroeter
Hello! On Mon, Feb 01, 1999 at 01:52:20AM -0800, Sigbjorn Finne (Intl Vendor) wrote: Yes, afraid so. However, I'm currently testing some changes I've made to drop that DLL dependency. Included in that batch of changes is the support for generating using DLLs too. (prepare for ghc compiled

Re: Type casting??

1999-03-13 Thread Felix Schroeter
Hello! On Thu, Mar 11, 1999 at 12:13:21PM -0800, Craig Dickson wrote: [...] Absolutely not. It sounds like you're thinking you can call foo, have it generate a list of unknown type but known length, and then assign a type afterwards. You can't do that. Yes you can, as there IS a value that

Re: TypeCasting??

1999-03-13 Thread Felix Schroeter
Hello! On Thu, Mar 11, 1999 at 02:34:44PM -0800, Fritz K Ruehr wrote: [...] I highly recommend browsing the prelude for ideas on how to use Haskell. A few of the definitions are written in a more subtle fashion than you might want for this purpose (usually for generality or or efficiency),

Re: Still confused (was: Re: Type casting??)

1999-03-13 Thread Felix Schroeter
Hello again! On Thu, Mar 11, 1999 at 08:09:54PM -0500, Steve Frampton wrote: [...] 1. Can I perform multiple statements on one line? Eg. foo :: Int - [Char] foo 0 = [] foo x = b = x - 5 * 3; c = b * 5; foo(x - b * c) (The above is just a silly example...but you catch my

Re: cvs version, PrelNumExtra fails to compile

1999-02-27 Thread Felix Schroeter
Hello! On Sat, Feb 27, 1999 at 08:51:29PM +, P.C.Callaghan wrote: I'm compiling the latest version (ie, cvs diff is silent). The latter doesn't imply the first, as cvs diff (w/o any further options) diffs between the version your checkout is based on and your checkout itself. NOT: between

Re: Semantics of generators

1999-01-31 Thread Felix Schroeter
Hello! On Fri, Jan 22, 1999 at 01:14:43AM +1100, Jason Stokes wrote: Hi, this is kind of a novice question, but I hope it's OK to ask it here: what precisely is the semantics of a generator? The Haskell report mentions them, but doesn't explain their semantics. See section 3.11,

Re: PS

1999-01-30 Thread Felix Schroeter
Hello! On Thu, Jan 28, 1999 at 06:36:57AM -0800, Simon Peyton-Jones wrote: I propose to remove Show (IO a) as well as Show (a-b), for the same reason Looks good. But then, IMHO, interpreters should have special handling for those types instead (run anything of type IO a, not only IO (), as in

Re: Haskell 98 final stuff

1999-01-30 Thread Felix Schroeter
Hello! On Thu, Jan 28, 1999 at 06:34:26AM -0800, Simon Peyton-Jones wrote: [...] li Fix defn of ttrange/tt for ttInt/tt, ttInteger/tt, ttChar/tt. With Haskell 98 dot-dot notation, we must write: pre range (m,n) | m n = [m..n] | otherwise = [] /pre Shouldn't

Re: ghc new-rts source inconsistencies

1998-12-02 Thread Felix Schroeter
Hello! On Tue, Dec 01, 1998 at 10:38:32AM -0800, Sigbjorn Finne (Intl Vendor) wrote: Felix Schroeter [EMAIL PROTECTED] writes: Try to create a fresh source tree, since it looks as if you've got "old" sources hanging about in yours (i.e., Literal is no more, it's Const

Re: Calling Java From Haskell

1998-11-14 Thread Felix Schroeter
Hello! Only a few comments to your mappings. On Fri, Nov 13, 1998 at 10:02:02AM -0500, S. Alexander Jacobson wrote: [...] Java Haskell --- --- Class Module Static method function And IO tagged result,

instance Show (a-b) (was Re: GHC-4.00 assembler crash)

1998-10-25 Thread Felix Schroeter
Hello! On Tue, Oct 20, 1998 at 12:36:44AM -0700, Sigbjorn Finne (Intl Vendor) wrote: [...] To quote from somewhere deep within the Prelude: instance Show (a - b) where showsPrec _ _ = showString "function" [meta-comment: could we just do away with this one? Beyond giving rise

Re: topdelcs / decls

1998-10-24 Thread Felix Schroeter
Hello! On Fri, Oct 23, 1998 at 01:44:58PM +0200, Johannes Waldmann wrote: Your thought would destroy equational reasoning! For example you would be able to define different equalties on the same data structure. So Red==Black could be False in one place and True in another place. Does

Re: ghc-3.02 and green card / hdirect

1998-10-04 Thread Felix Schroeter
Hello! On Sat, Oct 03, 1998 at 11:01:20PM +0200, Ralf Comtesse wrote: [...] M.hs:8:19: parse error on input: "`" You must compile the green-card / H/Direct generated sources with -fglasgow-exts. [...] Regards, Felix.

Re: defined result

1998-09-16 Thread Felix Schroeter
Hello! On Tue, Sep 15, 1998 at 01:16:49PM +0400, S.D.Mechveliani wrote: [...] At least, i think, this will be a good idea to consider the values like [1..] as the defined results. It *is* defined, when you consider "you can compute the WHNF in finite time" as defined. The WHNF of [1..] is

Re: Int vs Integer

1998-09-14 Thread Felix Schroeter
Hello! On Sun, Sep 13, 1998 at 11:13:35PM +0100, Simon Marlow wrote: [...] The plan is to use something like data Integer = Small Int# | Big { ... } where '...' is the GMP representation. You then need a full set of [...] Sounds fine. Just a question, will there remain an Int

Re: Using array in Haskell 1.4

1998-08-29 Thread Felix Schroeter
Hello! On Thu, Aug 27, 1998 at 05:35:04PM +0100, Tina Yu wrote: Hello, I would like to include Array in Haskell 1.4 Standard Libraries to be part of the language I define : data Expression = Constant String |Array Int Expression Small mistake here: "Array" is a

Re: Failed to compile PosixProcPrim on Linux

1998-07-29 Thread Felix Schroeter
Hello! Distribution changed to glasgow-haskell-users, because that's no additional bug. On Wed, Jul 29, 1998 at 07:05:59PM -0700, Shin-Cheng Mu wrote: Thanks to all of you replied. The compilation worked, with -monly-2-regs. BTW, my Linux distribution is RedHat 5.1 and gcc version is

Re: Failed to compile PosixProcPrim on Linux

1998-07-28 Thread Felix Schroeter
Hello! On Tue, Jul 28, 1998 at 07:51:25PM +0800, Shin-Cheng Mu wrote: Hello, my Hero Haskell Hackers, :) Compiling GHC 3.02 for i386 Linux, the make process stops at the point when compiling ghc/lib/posix/PosixProcPrim.lhs. The error message generated is attached below. I tried the patch