diff --git a/kotlin/src/mal/types.kt b/kotlin/src/mal/types.kt index 3396cc0ed3..a981f4ecb1 100644 --- a/kotlin/src/mal/types.kt +++ b/kotlin/src/mal/types.kt @@ -206,6 +206,9 @@ class MalHashMap() : MalType { obj.metadata = meta return obj } + + override fun equals(other: Any?): Boolean = + (other is MalHashMap) && elements.equals(other.elements) } class MalAtom(var value: MalType) : MalType {