aboutsummaryrefslogtreecommitdiff
path: root/IterableClass.dcl
blob: 729cd6895b997c6b61df050870fd6c75fd7d2dfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
definition module IterableClass

class step a :: a -> a
class rewind a :: a -> a

stepn :: Int a -> a | step a
rewindn :: Int a -> a | rewind a

stepOrRewindn :: Int a -> a | step, rewind a