Return-path: <thunderbird@henning-thielemann.de>
Received: from mailgate2.urz.uni-halle.de
	(mailgate2.urz.uni-halle.de	[141.48.3.8]) by www.haskell.org (Postfix)
	with ESMTP id 37A2E32421F	for <haskell-cafe@haskell.org>; Fri,
	06 Feb 2009 11:40:45 -0500 (EST)
Received: from mserv3.urz.uni-halle.de ([141.48.3.161])
	by mailgate2.urz.uni-halle.de with esmtp  (Exim 4.69)
	id 1LVTuj-0001z9-2z ; Fri, 06 Feb 2009 17:50:49 +0100
Received: from janus.informatik.uni-halle.de ([141.48.9.42])
	by mail.uni-halle.de
	(Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug  4 2008;
	32bit)) with ESMTP id <0KEN009RKLFZ5OE0@mail.uni-halle.de>; Fri,
	06 Feb 2009 17:50:23 +0100 (CET)
Received: from [141.48.14.165] (haydn.informatik.uni-halle.de [141.48.14.165])
	by janus.informatik.uni-halle.de (Postfix) with ESMTP id 4B3DFC6DB1;
	Fri, 06 Feb 2009 17:50:23 +0100 (CET)
Date: Fri, 06 Feb 2009 17:50:18 +0100
From: Henning Thielemann <thunderbird@henning-thielemann.de>
Subject: Re: [Haskell-cafe] about integer and float operations
In-reply-to:  =?utf-8?q?=3C638ABD0A29C8884A91BC5FB5C349B1C3328CA04DDC=40EA-E?=
 =?utf-8?q?XMSG-C334=2Eeurope=2Ecorp=2Emicrosoft=2Ecom=3E?=
To: Haskell Cafe mailing list <haskell-cafe@haskell.org>
Cc: Simon Peyton-Jones <simonpj@microsoft.com>,
	Manlio Perillo <manlio_perillo@libero.it>,
	"gale@sefer.org" <gale@sefer.org>
Message-id: <498C6A4A.4040705@henning-thielemann.de>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
Delivered-to: haskell-cafe@haskell.org
X-Original-To: haskell-cafe@haskell.org
X-Scan-Signature: d2c9cb8541c06091084f66af647eabf0
References: <4989B74B.7090806@libero.it>
	<2608b8a80902041107s1d022e4fudb2079a005b000f8@mail.gmail.com>
	<498A040A.6030809@libero.it> <498A0717.8040809@libero.it>
	<77D3BA5C-DBBE-45FC-B4A0-F06701D97FD2@z.odi.ac>	<498A0AEA.4000104@libero.it>
	<00BB35D2-3DD3-44F6-8F68-8FF6F50E1F1C@cs.otago.ac.nz>
	<2608b8a80902050252q2bbdc192oe5668b5053634e8b@mail.gmail.com>
	<498AD041.1070200@libero.it>	=?utf-8?q?=3C638ABD0A29C8884A91BC5FB5C349B1C33?=
 =?utf-8?q?28CA04DDC=40EA-EXMSG-C334=2Eeurope=2Ecorp=2Emicrosoft=2Ecom=3E?=
User-Agent: Thunderbird 2.0.0.14 (X11/20080531)

Simon Peyton-Jones wrote:
> | By the way: it is possible to use a private constructor (via some
> | special GHC flag?).
> | I would like to do a quick performance check using the existing
> | fromRational specialization by constructing a Rational directly.
> |
> | I know that Haskell allows declaration hiding for program safety, but
> | sometimes this can be a nuisance.
> 
> I think you mean that if you have
>         module M(f) where
>           f = ...
>           g = ...
> 
> precompiled in a library, is it possible to call g?
> 
> No, I'm afraid it isn't, at least in GHC. For example,  'g' may no longer exist... it may have been inlined into 'f'.

At least it is possible to access 'g' from GHCi if the module is loaded 
in interpreted mode.
