proj-oot-old-ootSyntaxNotes4Old

---

in some example F# code i just saw:

newList = oldList :: newItem

if we are allowing local mutation then we need a shorter way to do 'in-place' operations (eg in Python you could just say oldList.append(newItem)).

i was thinking to use '!' as a metaoperator for this:

oldList !:: newItem

but that makes it harder to visually scan for variable reassignments. So you should use '=' instead of '!'. So almost like C, except imo '=' should go before, not after, the operator, to make it easy to scan. So:

oldList =:: newItem

---

in both Urbit and Elixir a '~' sigil prefix is used to indicate misc. special kinds of literals. In Python we have stuff like r"" to indicate 'raw' quotes.

---