handouts/ho01.tex
changeset 237 370c0647a9bf
parent 217 cd6066f1056a
child 242 35104ee14f87
equal deleted inserted replaced
236:34e901c529ce 237:370c0647a9bf
     1 \documentclass{article}
     1 \documentclass{article}
     2 \usepackage{hyperref}
     2 \usepackage{../style}
     3 \usepackage{amssymb}
       
     4 \usepackage{amsmath}
       
     5 \usepackage[T1]{fontenc}
       
     6 \usepackage{../langs}
     3 \usepackage{../langs}
     7 
     4 
     8 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
       
     9 
     5 
    10 
     6 
    11 \begin{document}
     7 \begin{document}
    12 
     8 
    13 \section*{Handout 1}
     9 \section*{Handout 1}
    14 
    10 
    15 This course is about the processing of strings. Lets start with what we mean by \emph{strings}. Strings
    11 This module is about the processing of strings. Lets start with what we mean by \emph{strings}. Strings
    16 (they are also sometimes referred to as \emph{words}) are lists of characters drawn from an \emph{alphabet}. 
    12 (they are also sometimes referred to as \emph{words}) are lists of characters drawn from an \emph{alphabet}. 
    17 If nothing else is specified, we usually assume 
    13 If nothing else is specified, we usually assume 
    18 the alphabet consists of just the lower-case letters $a$, $b$, \ldots, $z$. Sometimes, however, we explicitly
    14 the alphabet consists of just the lower-case letters $a$, $b$, \ldots, $z$. Sometimes, however, we explicitly
    19 restrict strings to contain, for example, only the letters $a$ and $b$. In this case we say the alphabet is the set $\{a, b\}$.
    15 restrict strings to contain, for example, only the letters $a$ and $b$. In this case we say the alphabet is the set $\{a, b\}$.
    20 
    16