From: Christiaan Baaij Date: Wed, 24 Feb 2010 14:12:46 +0000 (+0100) Subject: Fix some typo's in the polymorphism section X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=b70320599df1351798d1d726614b2203db6e882e;p=matthijs%2Fmaster-project%2Fdsd-paper.git Fix some typo's in the polymorphism section --- diff --git "a/c\316\273ash.lhs" "b/c\316\273ash.lhs" index 9c5e5bd..643d41c 100644 --- "a/c\316\273ash.lhs" +++ "b/c\316\273ash.lhs" @@ -815,7 +815,7 @@ by any (optimizing) \VHDL\ synthesis tool. \end{code} This type is parameterized by \hs{a}, which can contain any type at - all. This means that append can append an element to a vector, + all. This means that \hs{append} can append an element to a vector, regardless of the type of the elements in the list (as long as the type of the value to be added is of the same type as the values in the vector). This kind of polymorphism is extremely useful in hardware designs to make @@ -861,8 +861,8 @@ by any (optimizing) \VHDL\ synthesis tool. for the type parameters). \CLaSH\ does not support user-defined type classes, but does use some - of the built-in type classes for its built-in function, such asL \hs{Num} - for numerical operations, \hs{Eq} for the equality operators, and + of the built-in type classes for its built-in function, such as: \hs{Num} + for numerical operations, \hs{Eq} for the equality operators, and \hs{Ord} for the comparison/order operators. \subsection{Higher order}