enso/test
Hubert Plociniczak 7a6ee0c200
Implement type_of (#3722)
This change implements a simple `type_of` method that returns a type of a given value, including for polyglot objects.

The change also allows for pattern matching on various time-related instances. It is a nice-to-have on its own, but it was primarily needed here to write some tests. For equality checks on types we currently can't use `==` due to a known _feature_ which essentially does wrong dispatching. This will be improved in the upcoming statics PR so we agreed that there is no point in duplicating that work and we can replace it later.

Also, note that this PR changes `Meta.is_same_object`. Comparing types revealed that it was wrong when comparing polyglot wrappers over the same value.
2022-09-26 16:01:39 +00:00
..
Benchmarks Add benchmarks for == and work days (#3735) 2022-09-26 11:02:22 +00:00
Examples_Tests Get rid of free-floating atoms. Everything has a type now! (#3671) 2022-08-30 22:54:53 +00:00
Geo_Tests Get rid of free-floating atoms. Everything has a type now! (#3671) 2022-08-30 22:54:53 +00:00
Google_Api_Test Tidying up what is in Standard.Base (#3603) 2022-07-27 13:28:00 +00:00
Image_Tests Tidy up the default imports for Standard.Table (#3660) 2022-08-22 19:21:54 +00:00
micro-distribution Fix expression updates for builtin types (#3721) 2022-09-19 13:56:51 +00:00
Table_Tests Implement type_of (#3722) 2022-09-26 16:01:39 +00:00
Tests Implement type_of (#3722) 2022-09-26 16:01:39 +00:00
Visualization_Tests Adjust Database connection to use query/read to access data. (#3727) 2022-09-23 07:35:08 +00:00