🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.functional
Article #594

Re: Type checking with physical dimensions

#594
From: Deryk Barker
Date: Mon, 28 Sep 1992 19:22
22 lines
1599 bytes
In article <DLB.92Sep28100432@fanny.wash.inmet.com> dlb@fanny.wash.inmet.com (David Barton) writes:
>I was going to respond to this by Email; however, since it might be of
>general interest, I am responding to the list.
>
>In article <14724@goanna.cs.rmit.oz.au> ok@goanna.cs.rmit.oz.au
>(Richard A. O'Keefe) writes:
>
>   Has anyone extended a Hindley/Milner-style type checker to check
>   physical dimensions (mass,length,time,current,&c)?  I have my own ideas
>   about how to do it, but before I start coding and writing, I'd like to
>   know what has already been done.  (I already know that it is possible to
>   combine polymorphism with dimension checking; I _think_ I can see a way
>   to combine them with integer/float overloading; I believe that automatic
>   scaling can be done in a functional language but not in a logic programming
>   language, but don't ask me to prove it yet.)
>
>We are desigining a microwave hardware description language based upon
>Haskell.

All this just to cook food? (Sorry, I couldn't resist it!)

Deryk Barker, Computer Science Dept., Camosun College, Victoria B.C.
Technical Details
Message-ID: <1992Sep28.192253.2663@spang.Camosun.BC.CA>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!ubc-cs!news.UVic.CA!spang.Camosun.BC.CA!dbarker
References: <14724@goanna.cs.rmit.oz.au> <DLB.92Sep28100432@fanny.wash.inmet.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.functional
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!ubc-cs!news.UVic.CA!spang.Camosun.BC.CA!dbarker
From: dbarker@spang.Camosun.BC.CA (Deryk Barker)
Subject: Re: Type checking with physical dimensions
Message-ID: <1992Sep28.192253.2663@spang.Camosun.BC.CA>
Organization: Camosun College, Victoria B.C, Canada
References: <14724@goanna.cs.rmit.oz.au> <DLB.92Sep28100432@fanny.wash.inmet.com>
Date: Mon, 28 Sep 1992 19:22:53 GMT
Lines: 22