X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=scheme.forth.jl.git;a=blobdiff_plain;f=src%2Fscheme-library.scm;h=68debca48afbcd9d7b31c15e485338e1acbcbdfb;hp=85580fdb65540e5d45e05175bd6cfb4ddf92487e;hb=aa76b536aa3e1a90b31a64fd9147b2b16153ec8b;hpb=3055ae2e3d57ec91a4187a6c5cf8f05357d60810 diff --git a/src/scheme-library.scm b/src/scheme-library.scm index 85580fd..68debca 100644 --- a/src/scheme-library.scm +++ b/src/scheme-library.scm @@ -342,3 +342,30 @@ (if (= n 0) 0 (+ n (sum-recurse (- n 1))))) + +;; MISC + +(define (license) + (display +"This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see http://www.gnu.org/licenses/. +")) + +(define (welcome) + (display +"Welcome to scheme.forth.jl! + +Copyright (C) 2016 Tim Vaughan. +This program comes with ABSOLUTELY NO WARRANTY; for details type '(license)'. +Use Ctrl-D to exit. +"))