RE: how to break up a large module?

2003-05-31 Thread Simon Peyton-Jones
A non-exported function can be inlined, and its definition deleted. If there is only one call site, it can be inlined no matter how big it is. S | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerzy | Karczmarczuk | Sent: 30 May 2003 14:04 | To:

RE: Help: writing ffi bindings to a C library

2003-05-31 Thread Bayley, Alistair
So... I'm still trying to write this Oracle OCI ffi binding. Can anyone tell me how to declare the Haskell type for this function: sword OCIEnvCreate (OCIEnv **envp, ub4 mode, dvoid *ctxp, dvoid *(*malocfp)(dvoid *ctxp, size_t size), dvoid *(*ralocfp)(dvoid

ovelapping instances under control

2003-05-31 Thread Ralf Laemmel
Hi, I think that there is consensus regarding the usefulness of overlapping instances. But it is a pitty that the -fallow-overlapping-instances declaration is so pervasive. I mean: - If I deal with several classes, only few of them require overlapping instances, then I would like to restrict