From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 1754B7F7AD for ; Wed, 2 Mar 2016 15:30:41 +0100 (CET) IronPort-PHdr: 9a23:DLxPqR/Vytyp8/9uRHKM819IXTAuvvDOBiVQ1KB91+IcTK2v8tzYMVDF4r011RmSDdqdtKgP1rqempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lRciN1Y/qh6ibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwu3cYh/V008NHGZr6frg1BehcATMON3gqvpCtsxTfG1ih/HwZB0obiBYAOBTC6An/V5H3+n/7sOR68CaXJ8GzVqwzXSyn5qFtDhPl3nRUfwUl+X3a35QjxJlQpwis8kRy Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=info@gerd-stolpmann.de; spf=None smtp.mailfrom=info@gerd-stolpmann.de; spf=None smtp.helo=postmaster@mout.kundenserver.de Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of info@gerd-stolpmann.de) identity=pra; client-ip=212.227.126.135; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="info@gerd-stolpmann.de"; x-sender="info@gerd-stolpmann.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of info@gerd-stolpmann.de) identity=mailfrom; client-ip=212.227.126.135; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="info@gerd-stolpmann.de"; x-sender="info@gerd-stolpmann.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mout.kundenserver.de) identity=helo; client-ip=212.227.126.135; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="info@gerd-stolpmann.de"; x-sender="postmaster@mout.kundenserver.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AxAADi+NZWjod+49RehAxtuiYBDYFnFwaFdgKBRTgUAQEBAQEBAQEQAQEBAQcLCwkfMYItghUBAQRVJBALRlcGEwmIHAEJuUwBAQEBBgEBAQEUCIUahTKEQII9C0CBJwWHWIVUiWaBIQKMQIkiBIVQjkweAQGCVoFRaQGIXwEBAQ X-IPAS-Result: A0AxAADi+NZWjod+49RehAxtuiYBDYFnFwaFdgKBRTgUAQEBAQEBAQEQAQEBAQcLCwkfMYItghUBAQRVJBALRlcGEwmIHAEJuUwBAQEBBgEBAQEUCIUahTKEQII9C0CBJwWHWIVUiWaBIQKMQIkiBIVQjkweAQGCVoFRaQGIXwEBAQ X-IronPort-AV: E=Sophos;i="5.22,529,1449529200"; d="asc'?scan'208";a="205446033" Received: from mout.kundenserver.de ([212.227.126.135]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2016 15:30:22 +0100 Received: from office1.lan.sumadev.de ([188.110.5.208]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0M36xf-1Zikmq1ByR-00swxF; Wed, 02 Mar 2016 15:30:19 +0100 Received: from [192.168.65.10] (unknown [192.168.65.10]) by office1.lan.sumadev.de (Postfix) with ESMTPSA id 8F701DC05D; Wed, 2 Mar 2016 15:30:18 +0100 (CET) Message-ID: <1456929013.13827.52.camel@e130.lan.sumadev.de> From: Gerd Stolpmann To: Leo White Cc: caml-list@inria.fr Date: Wed, 02 Mar 2016 15:30:13 +0100 In-Reply-To: <1456925836.1464341.537330890.53BDFE3A@webmail.messagingengine.com> References: <867fhlgjmj.fsf@gmail.com> <1456925836.1464341.537330890.53BDFE3A@webmail.messagingengine.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-L1kDHxpLhyAqUzowJhMZ" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 X-Provags-ID: V03:K0:XJ9NTeXle4Y05nxvTxsqg4PpHvm6vvvm5ujLd9Umqb2fprm1hij Ix9wOv3FyOjfjb4n3JX8l+1SzhiQBbhSRgjRlFv5ytaBcC2M5lcxrGuvuz/9KhgXWxg4bpC SekCK1XYZnqyZVSUYfSLyMErqYmos4L5H9Pf3n+HsMQgYgmMEQpLIcEwQUkKaNcND0Yscbw ffOhFmQyYv+PFn/xfKUeA== X-UI-Out-Filterresults: notjunk:1;V01:K0:HHaJgy7+Yg8=:McbnG5op0cjdC8gN8QHHVi kVavPK7WNGAgF15p/2EhVqt3D8EFNljiHIoMgLlbNCJY/9C0UHHmknUOT8kN/5wzTTkQ5swkl Rl/pD9ku8qqngnj91tQqjL6JHDgBJTv/i+NWPRQtW//KJYDD1E6c8bA9LGn1vMkK2nEFSfoIk oeZMgwFjfv4lyqMyMSpX6NDPKgiLRxGye3gxNOR0x05/+eh9VCbFmUphuTfr/xsSZq++AIWjg dVVKcBAjvs2hyxeiw5bUuebLry47a5RyveRPReEnA5JGitvGBd/tNXMTJ2euMdQ9DNf9SPZmu dMxs/4ulyQ6CiRP3HQFFngL44MSMXL+RBHQGMMpESDRELxVXyFTSDS2rRR71pUZf+Q7vCUwd+ auhqzRcymtW2fIf1E2+lW1WUCFilrFc2OTa6ZT2fytPJHa3rMpeoZ165dCojxxyegj1K+5Mln sIXJgkbOEGrwoP8mULMDaB2fEG3vhYUD7i6SBT/Q4s2tVWWvSdbd1WosBo1zXS41ggl+qos4e oV+OqRTXvD6ZfRU/CTraNUZ6yol9HOtRwEY83Y7JMxDji8dGw8e9wDjtfrPJ34Mb7oAs5yOis rPFoR1as4EgFkPSBdfGttkrGfTxBfakD5eENxBKc2ousKcjo2oW0+LlJUXfnLicD+dKFn3LRl dINPFMYXlU1DpkzPc/x4Vr2lfAmAkZWyWuLAMBuHHHgezfwfg/wIZiquvGM/EjmAIPwU= Subject: Re: [Caml-list] Are implicit modules too implicit? --=-L1kDHxpLhyAqUzowJhMZ Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Currently I'm in a Scala project where there are a number of implicits, and the question which implicit is actually used is a real one. Having support in Merlin is good, but I think there could also be support in the compiler. What about adding a warning "implicit X is resolved as ..." which can be used for tracing the resolution during the build? Gerd Am Mittwoch, den 02.03.2016, 08:37 -0500 schrieb Leo White: > > To me, this means going from a call-site, to the actual > > implementation is very difficult especially since I cannot even do some > > sort of grep to find all those things that implement an implicit module > > type. >=20 > The best way of finding a variable's definition is to use merlin to jump = to definition. > The same will be true for implicit call sites. >=20 > Depending on how libraries are designed I would not expect it to be diffi= cult to locate > the instances by hand. They are managed with the same scoping mechanisms = as > ordinary values, and since they should rarely be used by name they can al= so be > given nice descriptive searchable names. >=20 > Regards, >=20 > Leo >=20 --=20 ------------------------------------------------------------ Gerd Stolpmann, Darmstadt, Germany gerd@gerd-stolpmann.de My OCaml site: http://www.camlcity.org Contact details: http://www.camlcity.org/contact.html Company homepage: http://www.gerd-stolpmann.de ------------------------------------------------------------ --=-L1kDHxpLhyAqUzowJhMZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJW1vj1AAoJEAaM4b9ZLB5TCv0H/ihnVvoe9UbKGJhUf5HZzVYp XiLCPvX+bWpI18gy/r0yLr7Cak3fuU5MIJM6+BJF/cWdpgP7QdArhdcU9CFdwgSx NfoggsGeqTvpiycnvTZFKhuI0W8h2qNYrbSpKYwrVCH58RBtzhQtUkU3d7ChREn6 JJmLlfRdkUo2+qTgotC4l8gcDO0vdcAyePAJW4LCTA0eh50PfjCuMng38Arutr8b HG36Oi9b3mPWEsHs9lR+VuABLvliw5ej4AkapMJ0sm1SEETlCdG1VIm5sfdh6TJr 2vwtIQOGGjPvKbsr+0pZSi7Mv91YEQOPwO6WtaDTqm1xqOly/Xu7w2iHmeVbHQk= =u1kS -----END PGP SIGNATURE----- --=-L1kDHxpLhyAqUzowJhMZ--