From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Linus_Bj=C3=B6rnstam?= Newsgroups: gmane.lisp.guile.user Subject: Re: Contract programming in Guile Date: Mon, 19 Jul 2021 08:34:01 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16032"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-533-gf73e617b8a-fm-20210712.002-gf73e617b To: k.s.matheussen@notam02.no, guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Jul 19 08:39:54 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5MwS-0003z6-QZ for guile-user@m.gmane-mx.org; Mon, 19 Jul 2021 08:39:53 +0200 Original-Received: from localhost ([::1]:33134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5MwR-00036v-Ng for guile-user@m.gmane-mx.org; Mon, 19 Jul 2021 02:39:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5MrF-0003AJ-8S for guile-user@gnu.org; Mon, 19 Jul 2021 02:34:29 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:49745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5MrD-0007AV-CK for guile-user@gnu.org; Mon, 19 Jul 2021 02:34:28 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 295D63200951; Mon, 19 Jul 2021 02:34:24 -0400 (EDT) Original-Received: from imap44 ([10.202.2.94]) by compute5.internal (MEProxy); Mon, 19 Jul 2021 02:34:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.se; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type:content-transfer-encoding; s=fm3; bh=7cliA EILuzFV9nULE1OexCZM157p5aNyrPSYwxipifo=; b=dFhdBv2ZcYD5RZ1xhnnkq M9+4cuPYeG+22mXQUwcJDHufhFioDgSJn0BR+bRa5IYeqCp430+Kydyujn9/VFir xVpFTjkdfHJFNnbbOANavO6omaQyb3Z6cY6zFkCgeYpDEIa7aHSfSmybSJXB7dxm 8TcqiCteHbdw2e35gXZwS+Q5Dcrt8ts5lyqsxt28Hbvb1TKACpl1Hk7N4N2q+Akw i55Fm6NmmIgsfM2VfV7erMUFXwXtKZo1u+d8zcuP02Ijyi8QqphbgE5JH0suQmQV Qu/++WqxYA9lL2E4UnBYdP9MLxAC/bM9Bf84VNItEcPVTI2Nje4SreosLKAEECKw A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=7cliAEILuzFV9nULE1OexCZM157p5aNyrPSYwxipi fo=; b=MP99xOGNMaSM+iTHXLgH1EruzZThWaUobqqTJUHy54C9+Oh9sUbds+4gz XboE4qx/iL3TojashskCulsxAtaIap2IRbCEa+ZB5iI1LeCnrlN7lOvKRSJdawxA pLV4QXZJFkV4nUQyyZSnE72yGh3Wg/LYZPcHLP6NDPMVr40hY+chBe4VnXgHgTdg gOyMuOSzCgPcNbCQC226deKElKwcLFWFW04BDagPUkw2EJ3M+B4N7P3dWwMJyate h/vB1+rY3hoTNROCq1t+o5BZ6fEiky2d7BY9kK4PfO9s/FcNXFw2/WJUZENuOCCN QvfCYOYir2PxxVWKZUi7JF74qpaEw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdelgddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepnfhinhhushgpuehjnphrnhhsthgrmhcuoehlihhnuhhs rdhinhhtvghrnhgvthesfhgrshhtmhgrihhlrdhsvgeqnecuggftrfgrthhtvghrnhepie ekkeeguddvheejtdeuleeutdekfefgveehtdefjeekieehhfffteefudeiiefgnecuffho mhgrihhnpehsrhdrhhhtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheplhhinhhushdrihhnthgvrhhnvghtsehfrghsthhmrghilhdrshgv X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5D8D6FA0AA4; Mon, 19 Jul 2021 02:34:23 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: Received-SPF: pass client-ip=64.147.123.19; envelope-from=linus.internet@fastmail.se; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17652 Archived-At: Hah! That copyright statement is a lie, it seems. The original code is for scheme48 and is almost 20 years old, but I clea= ned it up and published it in 2017. My intention back in 2017 was to cre= ate first-class contracts and use the module system to allow for checked= and unchecked imports, but I got a kid in addition to being naturally q= uite lazy, so that never happened. =20 Linus Bj=C3=B6rnstam On Sun, 18 Jul 2021, at 18:50, Kjetil Matheussen wrote: > Linus Bj=C3=B6rnstam: > > > > I wrote this a billion million years ago: https://hg.sr.ht/~bjoli/mi= sc/browse/contract.scm?rev=3Dtip > > >=20 > You know you're getting old when people look back on 2017 as a > "billion million years ago". :-) >=20 >=20