Are DataTypes needed? #73
-
Do we actually need |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The Also, as you suggested the question, having a separate |
Beta Was this translation helpful? Give feedback.
The
DataType
entity allows us to distinguish between types that happen to have the sameClass<?>
, but should not be treated as the same data type. For example, say that you have auserID
andPIN
data type, which can both be represented as integers, but are clearly not the same type.Also, as you suggested the question, having a separate
DataType
allows us to have different theories for the different data types, even if the underlyingClass<?>
is the same. Since we plan to support more complex theories, such as learning with successors (guards of the forms2 == s1 + 1
) it is useful to have this functionality.