How do you clear 'namespace'?

heeheehee

Developer
Staff member
Example: Zarqon is always "using zlib". As such, he can do stuff like "abs -7" and get 7. I think one of the cooler features is more along the lines of "resist stench" or whatever.

Just like invoking an ASH script from the CLI, you can supply the first argument to the function, but then Mafia prompts for the rest.

On a marginally related note, it'd be totally cool if we could get some form of apply in ASH, since then we could create an all-purpose function that we could use to pass multiple parameters at once to any function. I guess the easiest way to implement such a feature would be to have it be of the form apply(string fn, string[int] args), and have it do the necessary type conversions, but I dunno, really. It's not really high priority; it'd just be cool. (Also, a feature request would probably be a better place for this, to be honest. Maybe if someone else would find it useful enough.)
 
Top