4.04 installation, -lgmp

1999-07-31 Thread S.D.Mechveliani

Simon Marlow [EMAIL PROTECTED] 
writes on 4.04 binary installation

 [..]
 ld: fatal: library -lgmp: not found
 [..]
 ld: fatal: File processing errors. No output written to ...

 Ok, looks like I need to remake these distributions with gmp libraries
 included.

But this will bring the  gmp  duplicate to most machines?
Maybe, insert into the installation manual the phrase about setting
$LibGmp  value?
The user is asked to set  $prefix.  One could set $GmpLib  as well ...
My question was caused by that this small adventure with GmpLib was 
not expected, not documented.

--
Sergey Mechveliani
[EMAIL PROTECTED]



RE: The dreaded layout rule

1999-07-31 Thread Simon Marlow

 Does it mean that the following expressions would be illegal?
 
 if cond then do proc1; proc2 else do proc3; proc4
 (case e of Just x - x  0; Nothing - False)

Unfortunately, yes.

 Now one can forget about {} and use layout everywhere. He would no
 longer be able to forget or he would have to split some expressions
 into indented lines, even when they are unambiguous in one line.
 
 
 Hmm, the `do x == y == z' case is a real trouble. Would it be not
 too ugly to formalize the current common behavior as something like
 "for the purposes of layout resolution, the syntax does not care
 about fixity declarations"? I guess that treating them in any way at
 this stage, as long as they don't reject non-associative operators,
 would yield the same result... Ugly but practical.

One other possible solution is to remove the fixity resolution from the
grammar itself and describe it as a separate process post-parsing.  This is
probably a good thing anyway: it matches the way most implementations work
and it would clean up the grammar.

Cheers,
Simon