Skip to content

Measure Theory in Rust? #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
louy2 opened this issue Mar 15, 2017 · 1 comment
Open

Measure Theory in Rust? #1

louy2 opened this issue Mar 15, 2017 · 1 comment

Comments

@louy2
Copy link

louy2 commented Mar 15, 2017

It is intuitive to expand the thought of the post into expressing the concept of measure in the type system. This is also hinted by multiplication of lengths resulting in area in the post. Whenever I think of type expression of concepts I go for Hoogle to see if Haskell has already done it, and to my disappointment they have not, although coincidentally a library only for unit conversion is named "Measure" also use nanometer as the base unit of length, but Double as the ratio for conversion.

@code-ape
Copy link
Owner

@louy2: Thank you for your commentary. You're right that my work for the post I did is the beginnings of trying to implement measurements (both conceptually and mathematically) into the type system. I'm surprised to see that no one has taken a more rigorous approach to this with Haskell since it has higher kinded types which should make implementing measurements much easier!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants