History variables: Difference between revisions
→{{header|Kotlin}}: constructor parameter should not be a property
(Added Kotlin) |
(→{{header|Kotlin}}: constructor parameter should not be a property) |
||
Line 805:
<lang scala>// version 1.0.6
class HistoryVariable<T>(
private val history = mutableListOf<T>()
|