Arc Forumnew | comments | leaders | submitlogin
2 points by hasenj 5065 days ago | link | parent

Is there a reason as.scm assumes all arguments are script files?

    ; command-line arguments are script filenames to execute
    (for-each (lambda (f) (aload f)) args)))

If no, I'd like to scratch that,

    ; only the first argument is a script filename 
    (aload (car args))))


2 points by fallintothis 5064 days ago | link

Well, blame (https://github.com/nex3/arc/blame/5ac5d567bce08004c0dce6fc4c...) tells us that the commit (https://github.com/nex3/arc/commit/5ac5d567bce08004c0dce6fc4...) wasn't really belabored. My guess is that there's no particular rationale. It does make more sense to me to pass in argv parameters rather than just aloading everything.

-----