red / REP

Red Enhancement Process
BSD 3-Clause "New" or "Revised" License
11 stars 4 forks source link

WISH: BODY-OF on ACTION! and NATIVE! values #51

Closed 9214 closed 4 years ago

9214 commented 5 years ago

A direct follow-up to https://github.com/red/red/issues/3359: I wish body-of (ditto reflect ... 'body) applied to action!s and native!s yielded their respective IDs, the way second in Rebol2 does.

>> second :find
== 53

The rationale is simple — while one can use IDs to re-create actions and natives (as indicated in the linked issue above), obtaining these IDs requires manual inspection of runtime tables (this and this).

dockimbel commented 5 years ago

Agreed.