doc-src/TutorialI/Types/document/Overloading0.tex
changeset 10396 5ab08609e6c8
parent 10395 7ef380745743
child 10397 e2d0dda41f2c
equal deleted inserted replaced
10395:7ef380745743 10396:5ab08609e6c8
     6 We start with a concept that is required for type classes but already
     6 We start with a concept that is required for type classes but already
     7 useful on its own: \emph{overloading}. Isabelle allows overloading: a
     7 useful on its own: \emph{overloading}. Isabelle allows overloading: a
     8 constant may have multiple definitions at non-overlapping types.%
     8 constant may have multiple definitions at non-overlapping types.%
     9 \end{isamarkuptext}%
     9 \end{isamarkuptext}%
    10 %
    10 %
    11 \isamarkupsubsubsection{An initial example%
    11 \isamarkupsubsubsection{An initial example}
    12 }
       
    13 %
    12 %
    14 \begin{isamarkuptext}%
    13 \begin{isamarkuptext}%
    15 If we want to introduce the notion of an \emph{inverse} for arbitrary types we
    14 If we want to introduce the notion of an \emph{inverse} for arbitrary types we
    16 give it a polymorphic type%
    15 give it a polymorphic type%
    17 \end{isamarkuptext}%
    16 \end{isamarkuptext}%