<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with rocketlang]]></title><description><![CDATA[A list of topics that have been tagged with rocketlang]]></description><link>https://board.circlewithadot.net/tags/rocketlang</link><generator>RSS for Node</generator><lastBuildDate>Mon, 25 May 2026 08:04:28 GMT</lastBuildDate><atom:link href="https://board.circlewithadot.net/tags/rocketlang.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[#RocketLang update:I implemented some additional library functions, namely:- &#96;dynamic_type(x)&#96;: returns the actual runtime type of the object.]]></title><description><![CDATA[#RocketLang update:I implemented some additional library functions, namely:- `dynamic_type(x)`: returns the actual runtime type of the object. E.g., if the variable x is declared as `SomeProtocol` but you assign an instance of a structure implementing that protocol, it will give you the structure type.- `is_subtype(T1, T2)` tests if T1 is a subtype of T2, similar to Python's `issubclass()`- `os.scandir()` for getting the contents of a directoryI also added a generic iterator that works with `ArrayList`s and array `Slice`s. All it needs is that the underlying container can be queried by `container[index]` and can be queried for its length.(I actually already had this implemented for ArrayLists, just made it more generic to make it work for Slices, too.)This actually required fixing a "bug" in checking whether a type implements a protocol. Implemented naively, that lead into an infinite recursion. (I was aware of that and had a FIXME in my code.) Now I accidentally triggered that and figured it was a good time to actually fix that.]]></description><link>https://board.circlewithadot.net/topic/ac061d49-bb9f-4d66-af75-1fb0010feaed/rocketlang-update-i-implemented-some-additional-library-functions-namely-dynamic_type-x-returns-the-actual-runtime-type-of-the-object.</link><guid isPermaLink="true">https://board.circlewithadot.net/topic/ac061d49-bb9f-4d66-af75-1fb0010feaed/rocketlang-update-i-implemented-some-additional-library-functions-namely-dynamic_type-x-returns-the-actual-runtime-type-of-the-object.</guid><dc:creator><![CDATA[oots@infosec.exchange]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>