This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
...and this doesn't even use 'dc'... #!/usr/local/bin/guile -s !# (apply(lambda(e n)(let l()(let((b(read)))(if(not(eof-object? b))(begin(write (modulo(expt b e)n))(newline)(l))))))(map string->number(cdr(command-line))))