diff options
| author | 2025-02-24 15:29:00 -0500 | |
|---|---|---|
| committer | 2025-02-24 15:29:00 -0500 | |
| commit | 923b07c725547b38727c05649a6274e4fd77fb7e (patch) | |
| tree | 0a3ba39f6763e54e0dc367f3f1b795df77f9c551 /SAHP.sld | |
dispatch on types with multiple scopes
Diffstat (limited to '')
| -rw-r--r-- | SAHP.sld | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/SAHP.sld b/SAHP.sld new file mode 100644 index 0000000..49d5cb2 --- /dev/null +++ b/SAHP.sld @@ -0,0 +1,28 @@ +#| Copyright 2024 Peter McGoron + | + | Licensed under the Apache License, Version 2.0 (the "License"); + | + | you may not use this file except in compliance with the License. + | You may obtain a copy of the License at + | + | http://www.apache.org/licenses/LICENSE-2.0 + | + | Unless required by applicable law or agreed to in writing, software + | distributed under the License is distributed on an "AS IS" BASIS, + | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + | See the License for the specific language governing permissions and + | limitations under the License. + |# + +(define-library (SAHP) + (import (scheme base) + (SAHP internal)) + (export make-new-SAHP SAHP=? + set-global-SAHP! define-global-SAHP + SAHP-implementation-not-found-error? + parameterize-SAHP letrec-SAHP + ;; Internal API exposed only for macro use + SAHP-dynamic-scope-parameter + SAHP-local-scope + %SAHP-set/subtypes %SAHP/local-scope) + (include "SAHP.scm")) |
