<div dir="ltr">Bill, I'm not saying it would be good to adopt as I'm no language expert, but Clojure has an interesting metadata system that might be worth looking at. I mention it only because I remember you asking last year what things from Clojure were particularly nice. <div><br></div><div>iain</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 26, 2021 at 3:16 AM Christos Vagias <<a href="mailto:chris.actondev@gmail.com">chris.actondev@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Gregg,<div dir="auto"><br></div><div dir="auto">Since you are using c objects already, I suppose you are also using the getters, ie (my-vector-element) which would return a scheme string.</div><div dir="auto"><br><div dir="auto">You could use a dilamda for the vector, and have a getter like (my-vector) to get all the elements, (my-vector 0) to get an element and (my vector 'meta) for your meta info.</div><div dir="auto"><br></div><div dir="auto">Another approach would be to openlet the dilamda and instead call (meta my-vector)</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 26, 2021, 11:21 AM <<a href="mailto:bil@ccrma.stanford.edu" target="_blank">bil@ccrma.stanford.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">object->let is intended as a low-level portion of a<br>
yet-to-be-written debugger. Perhaps one simple<br>
solution is to use (cons vector data) and pass<br>
that around instead of the bare vector. Most<br>
scheme objects in s7 do not have an associated<br>
let built-in.<br>
<br>
_______________________________________________<br>
Cmdist mailing list<br>
<a href="mailto:Cmdist@ccrma.stanford.edu" rel="noreferrer" target="_blank">Cmdist@ccrma.stanford.edu</a><br>
<a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist" rel="noreferrer noreferrer" target="_blank">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
</blockquote></div>
_______________________________________________<br>
Cmdist mailing list<br>
<a href="mailto:Cmdist@ccrma.stanford.edu" target="_blank">Cmdist@ccrma.stanford.edu</a><br>
<a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist" rel="noreferrer" target="_blank">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
</blockquote></div>