psp's non-standard standard library (for scala)