Changeset 9d9a451 for doc/theses
- Timestamp:
- Mar 12, 2019, 2:49:34 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 53bb8f1
- Parents:
- e402bbc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/aaron_moss_PhD/phd/background.tex
re402bbc r9d9a451 89 89 90 90 \CFA{} previously allowed !0! and !1! to be the names of polymorphic variables, with separate overloads for !int 0!, !int 1!, and !forall(dtype T) T* 0!. 91 As revealed in the work presented here on generic types (Chapter~\ref{generic-chap}),the parametric polymorphic zero variable is not generalizable to other types; though all null pointers have the same in-memory representation, the same cannot be said of the zero values of arbitrary types.91 While designing \CFA{} generic types (see Chapter~\ref{generic-chap}), it was discovered that the parametric polymorphic zero variable is not generalizable to other types; though all null pointers have the same in-memory representation, the same cannot be said of the zero values of arbitrary types. 92 92 As such, variables that could represent !0! and !1! were phased out in favour of functions that could generate those values for a given type as appropriate. 93 93
Note: See TracChangeset
for help on using the changeset viewer.