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 864E07EFCD for ; Mon, 10 Nov 2014 19:21:52 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of shayne.fletcher.50@gmail.com) identity=pra; client-ip=209.85.212.180; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="shayne.fletcher.50@gmail.com"; x-sender="shayne.fletcher.50@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of shayne.fletcher.50@gmail.com designates 209.85.212.180 as permitted sender) identity=mailfrom; client-ip=209.85.212.180; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="shayne.fletcher.50@gmail.com"; x-sender="shayne.fletcher.50@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wi0-f180.google.com) identity=helo; client-ip=209.85.212.180; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="shayne.fletcher.50@gmail.com"; x-sender="postmaster@mail-wi0-f180.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlABANwBYVTRVdS0lGdsb2JhbABcg2JZBIMCyHiHTwKBHwcWAQEBAQERAQEBAQcLCwkSMIQDAQEDARIRHQEbHQEDAQsGBQQHNwICIQEBEQEFARwGEyKICQEDCQkNrEs9MYszgXODEolKChknDWiFcQEBAQEBAQEDAQEBAQEBAQEUAQEEDo5OgjUEB4J3gVQFjASLAIUPghKPb4R2GCmFUh8vgksBAQE X-IPAS-Result: AlABANwBYVTRVdS0lGdsb2JhbABcg2JZBIMCyHiHTwKBHwcWAQEBAQERAQEBAQcLCwkSMIQDAQEDARIRHQEbHQEDAQsGBQQHNwICIQEBEQEFARwGEyKICQEDCQkNrEs9MYszgXODEolKChknDWiFcQEBAQEBAQEDAQEBAQEBAQEUAQEEDo5OgjUEB4J3gVQFjASLAIUPghKPb4R2GCmFUh8vgksBAQE X-IronPort-AV: E=Sophos;i="5.07,354,1413237600"; d="scan'208";a="106012912" Received: from mail-wi0-f180.google.com ([209.85.212.180]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 10 Nov 2014 19:21:52 +0100 Received: by mail-wi0-f180.google.com with SMTP id hi2so11401162wib.7 for ; Mon, 10 Nov 2014 10:21:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=gXyy24vdvSlCzXjVghJyleYnJJg0dhJg1PPewgTxxYI=; b=rJV8iVV+PesLmD8kHAM3MfvpzATD0x5EOnWCX9JlSaII+2Wh4YqQhfsCqfZGSM1ExW Tx31KOcRqXGg5qm/xZm2lF2t/uQVch1RoxOtBl/zP7i/LY8Hl2DK/7qI3mry3Df2Ax2z agVR/Lpk4N/Hh1Bnbl59VDMArCW7+TxJvrCXXI9cwAPFjrmGQ9XXz1ZCqL1D7ftH795y sH2S87XEZw3tZk6a8fG51pzX83rvRyM0rz8fIIV8QvTTHGzoqcKkt+VNioRNBN7xUIdE Qj4MTW0Pl+TweHOzp+A9uewvI8Ggvy1fu1TgRAzCAyIdGrCyLb+qu3KFJw3zlSgnl6DQ 3mrg== X-Received: by 10.180.188.69 with SMTP id fy5mr33303593wic.57.1415643260397; Mon, 10 Nov 2014 10:14:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.71.230 with HTTP; Mon, 10 Nov 2014 10:14:00 -0800 (PST) In-Reply-To: References: From: Shayne Fletcher Date: Mon, 10 Nov 2014 13:14:00 -0500 Message-ID: To: Mario Alvarez Picallo Cc: "caml-list@inria.fr users" Content-Type: multipart/alternative; boundary=001a11c381eeaa31df0507852127 Subject: Re: [Caml-list] Dimensional Analysis question --001a11c381eeaa31df0507852127 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Oct 16, 2014 at 1:35 PM, Mario Alvarez Picallo < mario.alvarez739@gmail.com> wrote: > I've written a small proof of concept that seems to work just fine (but, > of course, there may be errors), that you can find > here: https://gist.github.com/m-alvarez/b1e42b7b42cbeed7d1f0 > =E2=80=8BMario, thanks for the links and this, this is truly a beautiful li= ttle program. > > > It seems to be solid enough to pass the tests that Octachron tried, but > there probably are some other corner cases for which > it breaks down. Otherwise, it would be interesting to coalesce both > representations, using Octachron's idea of row types instead > of tuples to have extensible dimensional analysis, where each part of the > program can introduce its own dimensions. =E2=80=8BMario, Octachron, thanks again. Really helped me out. Mind blowing= stuff! :)=E2=80=8B --=20 Shayne Fletcher --001a11c381eeaa31df0507852127 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On T= hu, Oct 16, 2014 at 1:35 PM, Mario Alvarez Picallo <mario.alvarez= 739@gmail.com> wrote:
= I've written a small proof of concept that seems to work just fine (but= , of course, there may be errors), that you can find
here: htt= ps://gist.github.com/m-alvarez/b1e42b7b42cbeed7d1f0
<= div>
=E2=80=8BMario, thanks for the links and this, this is truly a= beautiful little program.
=C2=A0
=


It seems to be solid enough to pass the tests that Octac= hron tried, but there probably are some other corner cases for which
it = breaks down. Otherwise, it would be interesting to coalesce both representa= tions, using Octachron's idea of row types instead
of tuples to have= extensible dimensional analysis, where each part= of the program can introduce its own dimensions.=

=E2=80=8BMario, Octachron, thanks again. Really helped me = out. Mind blowing stuff! :)=E2=80=8B

--
Shayne Fletcher
--001a11c381eeaa31df0507852127--