nirum-lang / nirum-python

The Nirum runtime library for Python
https://nirum.org/docs/target/python.html
MIT License
8 stars 9 forks source link

Use abstract class to compare with immutable type #73

Closed kanghyojun closed 7 years ago

kanghyojun commented 7 years ago

Since immutable data type (frozenset, nirum.datastructures.List) isn't equivalent to set or list, validate_type have to compare value with its abstract class.

https://github.com/spoqa/nirum/pull/123 test will be succeeded, after this PR merged & released.

kanghyojun commented 7 years ago

@dahlia Review kudasai!