You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

7 lines
527 B

  1. \ifger{D.h. wenn wir verallgemeinern müssten, hat ein algebraischer Datentyp einen oder mehr \textbf{Konstruktoren}, von denen jeder null oder mehr \textbf{Argumente} hat. Z.B.:}{So if we want to generalize it, an algebraic data type has one or more \textbf{constructors}, and each of them can have zero or more \textbf{arguments}. E.g.:}
  2. \begin{haskellcode}
  3. data AlgDataType = Constr1 Type11 Type12
  4. | Constr2 Type21
  5. | Constr3 Type31 Type32 Type33
  6. | Constr4
  7. \end{haskellcode}