Changeset 92a0ee8 for doc/theses/jiada_liang_MMath/trait.tex
- Timestamp:
- Aug 7, 2024, 7:07:24 PM (2 months ago)
- Branches:
- master
- Children:
- b0069a3
- Parents:
- 4e09af2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/jiada_liang_MMath/trait.tex
r4e09af2 r92a0ee8 164 164 \end{cfa} 165 165 Function @fromInstance@ projects a @Bounded@ member to a number and @fromInt@ is the inverse. 166 Function @pred@ takes an enumerator and returns the previous enumerator, if there is one, in sequential order, and @succ@ returns the next enumerator. 166 Function @pred@ and @succ@ are advancement functions: 167 @pred@ takes an enumerator and returns the previous enumerator, if there is one, in sequential order, and @succ@ returns the next enumerator. 167 168 \begin{cfa} 168 169 sout | fromInstance( Wed ) | fromInt( 2 ) | succ( Wed ) | pred( Wed );
Note: See TracChangeset
for help on using the changeset viewer.