Skip to content

Commit

Permalink
Tut [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
skaller committed Nov 29, 2015
1 parent 777238e commit a9ad38e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Binary file modified src/docs/tutorial.pdf
Binary file not shown.
8 changes: 5 additions & 3 deletions src/docs/tutorial.tex
Expand Up @@ -486,9 +486,11 @@ \subsection{Unit tuple}
the unit tuple, written:
\begin{minted}{felix}
var u : unit = ();
var u2 : 1 = ();
\end{minted}
It is a \url{https://en.wikipedia.org/wiki/Unit_type}{unit type}.
It is a \href{https://en.wikipedia.org/wiki/Unit_type}{unit type}.
\subsection{Arrays}
If all the elements of a tuple are the same type,
Expand Down Expand Up @@ -627,7 +629,7 @@ \section{Pattern Matching and Union}
joins together an element of type \verb%T% and another list.
In other words it creates a new list by adding a new
element onto the front. A type like this is called
an \url{https://en.wikipedia.org/wiki/Inductive_type}{inductive type}.
an \href{https://en.wikipedia.org/wiki/Inductive_type}{inductive type}.
A list can be taken apart with a pattern match:
Expand Down Expand Up @@ -867,7 +869,7 @@ \subsubsection{Overloading Polymorphic Functions}
The process of finding a substiution which makes types with type
variables equal is called
\url{https://en.wikipedia.org/wiki/Unification_%28computer_science%29}{unification}.
\href{https://en.wikipedia.org/wiki/Unification_%28computer_science%29}{unification}.
The substitution effecting equality is called a {\em unifier}, and the
two terms rendered equal are said to be {\em unified}. There can
be more than one unifier, a most general unifier is one which can
Expand Down

0 comments on commit a9ad38e

Please sign in to comment.