From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 8D23F7EEEF for ; Mon, 22 Jun 2015 18:25:23 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AOAQCvNohVm0pWN0pch2HCVAKCBgEBAQEBARIBAQEBAQgJCwkhLoQjAQEEI1YQCxoCJgICRxAGGxOIFLRQlhABAQgBAQEBHoEhiiSEUzMHgmgvgRQFk32NCIZpDyGMA4NbhCCDNgEBAQ X-IPAS-Result: A0AOAQCvNohVm0pWN0pch2HCVAKCBgEBAQEBARIBAQEBAQgJCwkhLoQjAQEEI1YQCxoCJgICRxAGGxOIFLRQlhABAQgBAQEBHoEhiiSEUzMHgmgvgRQFk32NCIZpDyGMA4NbhCCDNgEBAQ X-IronPort-AV: E=Sophos;i="5.13,660,1427752800"; d="scan'208";a="137364643" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail3-smtp-sop.national.inria.fr with ESMTP; 22 Jun 2015 18:25:05 +0200 Received: from [172.17.24.98] (global-1-18.nat.csx.cam.ac.uk [131.111.184.18]) by smtp.webfaction.com (Postfix) with ESMTP id 3B5BA2150318; Mon, 22 Jun 2015 16:25:03 +0000 (UTC) Date: Mon, 22 Jun 2015 17:25:01 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Pippijn van Steenhoven Cc: Damien Doligez , Gerd Stolpmann , Alan Schmitt , OCaml Mailing List Message-ID: In-Reply-To: <20150622160712.GF5472@xinutec.org> References: <1434982765.31996.19.camel@e130.lan.sumadev.de> <20150622160712.GF5472@xinutec.org> X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] use of ";;" when teaching Ocaml Le lundi, 22 juin 2015 =C3=A0 17:07, Pippijn van Steenhoven a =C3=A9crit : > An alternative solution is to always return () from unit-returning functi= ons, but I > found ;; more appealing. Why "more appealing", it is much less clear. Other people will also use ;; = for functions that do return values other than unit so I can't possibly rea= d code with your convention in mind.=20=20 unit is () so return () that makes things very clear (that's what I persona= lly do). Best, Daniel=20=20