.hi error (probably)

1999-01-04 Thread David Barton
Got a strange one. I am compiling two files using GHC, one of which depends on the other. The first compiles just fine, but the second compile gives an error on the *hi* file of the first. Specifically: dlb@hudson temp]$ ghc -c -fallow-undecidable-instances -fglasgow-exts -fallow-overlapping-

Re: kind mismatch ($)

1999-01-04 Thread Carl R. Witty
Simon Peyton-Jones <[EMAIL PROTECTED]> writes: > > One additional comment. I frequently use quotes (') as suffixes > > for identifier and type names. As can be seen above ghc loves adding > > quotes (` and ') around parts of its messages. This becomes *very* > > confusing when the last part of th

Building hdirect-0.14 on Linux

1999-01-04 Thread Volker Wysk
Hi In order to build H/Direct with Linux, you need to remove the line all :: libcom.a from lib/Makefile near the top after configuring. Otherwise, it won't compile. (It would try to build M$-COM support. Another "all ::"-rule ist provided.) bye.

H/Direct-0.14 bug report: confusion with interfaces

1999-01-04 Thread Volker Wysk
Hello. H/Direct-0.14 doesn't generate a correct haskell module from the following IDL-File: module Probe { interface Typ {}; Typ erz_typ([in] int a); int abfr_typ([in] Typ t); void zer_typ([in] Typ t); }; The generated

RE: kind mismatch ($)

1999-01-04 Thread Simon Peyton-Jones
> When I compile the module below with ghc-4.01 > and -fglasgow-exts, I get the following error message: > > YouCantDoThat.lhs:8: > Kind mis-match between `_a :: *' and `Int# :: *#' > Expected type: _a -> Int' > Inferred type: Int# -> Int' > In the first argument of `$', n

kind mismatch ($)

1999-01-04 Thread Marc van Dongen
Hi there, When I compile the module below with ghc-4.01 and -fglasgow-exts, I get the following error message: YouCantDoThat.lhs:8: Kind mis-match between `_a :: *' and `Int# :: *#' Expected type: _a -> Int' Inferred type: Int# -> Int' In the first argument of `$', namel

Deriving instances of existentials

1999-01-04 Thread Marcin 'Qrczak' Kowalczyk
The program data Ex = forall a. Ex [a] deriving Eq main = print (Ex "abc" == Ex "abc") causes ghc-4.04 to die with Subst.lhs:199: Non-exhaustive patterns in function zip_ty_env -- __("+

Typesetting error in HDirect User's Manual

1999-01-04 Thread Marcin 'Qrczak' Kowalczyk
Text on the first page of user-a4.ps goes long after the bottom margin, so part of the table of contents is outside page boundaries. -- __("+++$ UL++>$ P+++ L++>$ E- ^^