Ignore:
Timestamp:
Aug 7, 2024, 7:07:24 PM (2 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
b0069a3
Parents:
4e09af2
Message:

Small thesis unpdate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/jiada_liang_MMath/trait.tex

    r4e09af2 r92a0ee8  
    164164\end{cfa}
    165165Function @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.
     166Function @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.
    167168\begin{cfa}
    168169sout | fromInstance( Wed ) | fromInt( 2 ) | succ( Wed ) | pred( Wed );
Note: See TracChangeset for help on using the changeset viewer.