HaxeFoundation / HaxeFoundation/haxe.org-comments

[code.haxe.org] Abstract types - Temperature units as abstract type

Open
#82 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# Temperature units as abstract type - Abstract types - Haxe programming language cookbook

The following Celcius and Fahrenheit Abstract types are based on the underlying Float type, but sets the restriction that it can never hold values below absolute zero.

[https://code.haxe.org/category/abstract-types/temperature-units.html](https://code.haxe.org/category/abstract-types/temperature-units.html)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.