aboutsummaryrefslogtreecommitdiff
path: root/IterableClass.dcl
blob: 73c977662391ff8c8aa952603ee7a9725b5e7e15 (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