Automatic Dimensional Inference. Wand, M. & O'Keefe, P. In Lassez, J. & Plotkin, G., editors, Computational Logic: in honor of J. Alan Robinson, pages 479-486. MIT Press, 1991.
Automatic Dimensional Inference [ps]Paper  abstract   bibtex   
While there have been a number of proposals to integrate dimensional analysis into existing compilers, it appears that no one has made the easy observation that dimensional analysis fits neatly into the pattern of ML-style type inference. In this paper we show how to add dimensions to the simply-typed lambda calculus, and we show that every typable dimension-preserving term has a principal type. The principal type is unique up to a choice of basis.
@InCollection{WandOKeefe91,
  author = 	"Mitchell Wand and Patrick O'Keefe",
  title = 	"Automatic Dimensional Inference",
  booktitle = 	"Computational Logic: in honor of J. Alan Robinson",
  publisher = 	"MIT Press",
  year = 	"1991",
  editor = 	"J.L. Lassez and G.D. Plotkin",
  pages = 	"479-486",
  URL = {ftp://ftp.ccs.neu.edu/pub/people/wand/papers/dimensions.ps},
  abstract = "While there have been a number of proposals to integrate
		 dimensional analysis into existing compilers, it
		 appears that no one has made the easy observation
		 that dimensional analysis fits neatly into the
		 pattern of ML-style type inference.  In this paper we
		 show how to add dimensions to the simply-typed lambda
		 calculus, and we show that every typable
		 dimension-preserving term has a principal type.  The
		 principal type is unique up to a choice of basis."}

Downloads: 0