Editing
Phantom Types and Subtyping
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Title: Phantom Types and Subtyping Research Question: How can we use phantom types and subtyping to create a safe programming environment? Methodology: The researchers proposed a technique called the "phantom-types technique." This technique uses parametric polymorphism, type constraints, and unification of polymorphic types to model a subtyping hierarchy. They demonstrated this technique's suitability for capturing first-order subtyping by exhibiting a type-preserving translation from a simple calculus with bounded polymorphism to a calculus embodying the type system of Standard ML (SML). Results: The researchers showed that the phantom-types technique can be used to encode any finite subtyping hierarchy, including hierarchies arising from multiple interface inheritance. They also provided an example using SML to illustrate how the technique can be used to create a safe programming environment. Implications: The phantom-types technique provides a way to use the SML type system to capture subtyping hierarchies and create a safe programming environment. This can lead to more robust and reliable software, as it allows for the detection of type errors at compile time rather than run time. The technique's ability to work with any finite subtyping hierarchy makes it applicable to a wide range of programming scenarios. Link to Article: https://arxiv.org/abs/0403034v3 Authors: arXiv ID: 0403034v3 [[Category:Computer Science]] [[Category:Technique]] [[Category:Subtyping]] [[Category:Types]] [[Category:Phantom]] [[Category:Type]]
Summary:
Please note that all contributions to Simple Sci Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Simple Sci Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information