You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to write my Home Work for AI in Fetlang, but Operations like random Numbers and convenient access to Elements in Chains are missing. It would also great to have Data Strucktures like sets and maps (dict).
The text was updated successfully, but these errors were encountered:
Hi - you can use C's rand() function if you write a new fetish, and do the same for random-access to chains.
Sets and Maps as separate types are very unlikely to be implemented.
if you can suggest a clean(syntax-wise) way to handle random access to chains, and follow up with a pull request, I'd be happy to accept. (Keep in mind that they're linked list, so it wouldn't really be random access, but O(n))
I tried to write my Home Work for AI in Fetlang, but Operations like random Numbers and convenient access to Elements in Chains are missing. It would also great to have Data Strucktures like sets and maps (dict).
The text was updated successfully, but these errors were encountered: