diff options
Diffstat (limited to 'files/practicum/StdStack2.icl')
-rw-r--r-- | files/practicum/StdStack2.icl | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/files/practicum/StdStack2.icl b/files/practicum/StdStack2.icl deleted file mode 100644 index 3d4e80c..0000000 --- a/files/practicum/StdStack2.icl +++ /dev/null @@ -1,22 +0,0 @@ -implementation module StdStack2
-
-import StdEnv
-
-:: Stack2 elem = E.impl: { stack :: impl
- , push :: elem impl -> impl
- , pop :: impl -> impl
- , top :: impl -> elem
- , elements :: impl -> [elem]
- }
-
-push :: elem (Stack2 elem) -> Stack2 elem
-push ...
-
-pop :: (Stack2 elem) -> Stack2 elem
-pop ...
-
-top :: (Stack2 elem) -> elem
-top ...
-
-elements :: (Stack2 elem) -> [elem]
-elements ...
|