Interesting: [WayBack] Playing around with semantic typing in Oxygene: https://github.com/carlokok/semantictyping adding operators and methods to type aliases to store distin… – Carlo Kok – Google+
Playing around with semantic typing in Oxygene: https://github.com/carlokok/semantictyping adding operators and methods to type aliases to store distinct types like distance, speed, acceleration while storing them as floats.
Check the repository linked; It essentially has types like Kelvin, Celsius ( https://github.com/carlokok/semantictyping/blob/master/SemanticTyping/Temperature.pas ), and Speed, Velocity, Acceleration ( https://github.com/carlokok/semantictyping/blob/master/SemanticTyping/Physics.pas ) using standard Oxygene features.
- Repository: [WayBack] GitHub – carlokok/semantictyping: Elements semantic typing
- Celsius/Kelvin: [WayBack] semantictyping/Temperature.pas at master · carlokok/semantictyping · GitHub
- Speed/Distance/Acceleration: [WayBack] semantictyping/Physics.pas at master · carlokok/semantictyping · GitHub
–jeroen