I'm trying to get into PLT exceptions with functions like exn:srclocs? http://docs.plt-scheme.org/reference/exns.html#(def._((quote._~23~25kernel)._exn~3asrclocs~3f)) but function composition has taken over the : character.
No dice in vanilla Arc. There are only a couple of places ac doesn't call expand-ssyntax: in a function's argument list, quoted forms, and the variable of an assign. You'd need to patch ac.scm. For example, you could insert a global flag suitable for (declare 'ssyntax t/nil):
You could also modify ssyntax? to check specific symbols it shouldn't mess with. It already does this with +, ++, and _. You might just xdef the exception functions to different names, like exn-srclocs.
But if you made the changes as you suggested to ssyntax, then it would be easy enough to define a (w/o-ssynatax body) macro to temporarily disable ssyntax for a particular call.
Well, since it's a scheme library function I should think that you'd be accessing it with '$ or 'mz, both of which (if I remember correctly) send all of the symbols in their arglist directly to scheme without any arc transformations first.
So ($.exn:srclocs args) should work, or maybe just
(($ exn:srclocs) args) presuming of course that you've loaded the requisite lib files.