Arc Forumnew | comments | leaders | submitlogin
2 points by almkglor 6257 days ago | link | parent

The equivalent in Anarki is '$ :

  (($ semaphore-post) s)
Also, I've already exposed semaphores in Anarki. http://arclanguage.com/item?id=6204 http://arclanguage.com/item?id=6802

Anarki needs some serious documenting T.T

Edit: as an aside, $ is a "reserved" variable in SNAP; I intend to use it as a sort of "implementation-specific" variable, so any use of $ should be attached very tightly to the implementation of Arc.



2 points by CatDancer 6257 days ago | link

Yes, $ does the same thing, but it evaluates at run time while I wanted something that evaluated at macro expansion time.

-----