main.scm 468 B

1234567891011121314151617181920212223242526
  1. (import
  2. (except (rnrs base) let-values)
  3. (only (guile)
  4. lambda* λ
  5. error
  6. eof-object?
  7. simple-format
  8. current-output-port
  9. )
  10. (prefix (logging) log:)
  11. (ice-9 binary-ports)
  12. (ice-9 textual-ports)
  13. (file-reader)
  14. (decrypt))
  15. (define main
  16. (λ ()
  17. (let ([loc "data/stage.dat"])
  18. (simple-format (current-output-port)
  19. "~a\n"
  20. (process-file loc decrypt-file)))))
  21. (main)