trueagi-io / hyperon-experimental

MeTTa programming language implementation
https://metta-lang.dev
MIT License
153 stars 50 forks source link

Index atom #789

Closed DaddyWesker closed 1 month ago

DaddyWesker commented 1 month ago

Index-atom function added. Usage:

!(index-atom (5 2) 1)
[2]

So it allows to get atom from expression (created by cons-atom) using index.

vsbogd commented 1 month ago

Why do you have commits from other branches in this one?

DaddyWesker commented 1 month ago

Why do you have commits from other branches in this one?

I'm working in several branches simultaneously and somehow it got really messy =(

DaddyWesker commented 1 month ago

Thanks for your comments. I'll look into them and make suggested changes.