diff options
Diffstat (limited to 'algebraic-structures.private.list.alternative.scm')
-rw-r--r-- | algebraic-structures.private.list.alternative.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/algebraic-structures.private.list.alternative.scm b/algebraic-structures.private.list.alternative.scm new file mode 100644 index 0000000..a386e81 --- /dev/null +++ b/algebraic-structures.private.list.alternative.scm @@ -0,0 +1,9 @@ +(module (algebraic-structures private list alternative) (alt empty) + (import (except scheme map apply) + (chicken module)) + (reexport (algebraic-structures list applicative)) + + (define empty '()) + + (define (alt xs ys) + (append xs ys))) |