Jump to content

Constrained genericity: Difference between revisions

m
Line 397:
 
Neither Icon nor Unicon are statically typed.
In Unicon, new types can be defined as classes. The followling solution shown
follows the Scala approach.
<lang unicon>import Utils # From the UniLib package to get the Class class.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.