1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
;; -*-theme-d-*-
;; Copyright (C) 2015, 2021, 2022 Tommi Höynälänmaa
;; Distributed under GNU Lesser General Public License version 3,
;; see file doc/LGPL-3.
(define-interface (standard-library system)
(import (standard-library core))
(declare-simple-method getenv (<string>) (:alt-maybe <string>) pure)
(declare-simple-method setenv (<string> (:alt-maybe <string>)) <none>
nonpure)
(declare-simple-method file-exists? (<string>) <boolean> pure)
(declare-simple-method delete-file (<string>) <none> nonpure)
(declare-simple-method system (<string>) <integer> nonpure))
|