Mercurial > hg > ishara
diff general/funutils/@thunk/thunk.m @ 27:5de03f77dae1
Added documentation about types and revised arrow type specifications.
author | samer |
---|---|
date | Sat, 19 Jan 2013 14:22:09 +0000 |
parents | e44f49929e56 |
children |
line wrap: on
line diff
--- a/general/funutils/@thunk/thunk.m Sat Jan 19 13:09:31 2013 +0000 +++ b/general/funutils/@thunk/thunk.m Sat Jan 19 14:22:09 2013 +0000 @@ -1,8 +1,8 @@ -% thunk(B:arglist(M)) ~ a thunk is something that eventually yields M outputs +% thunk(B@typelist(M)) ~ a thunk is something that eventually yields M outputs classdef thunk properties (GetAccess=private, SetAccess=immutable) - head % :: (A:arglist(N) -> B | thunk(B)) - args % :: A:arglist(N) + head % :: (A@typelist(N) -> B | thunk(B)) + args % :: A@typelist(N) end methods % thunk - create delayed evaluation