Context Navigation



Ignore:
Timestamp:
Jan 28, 2008, 1:38:00 PM (18 years ago)
Author:
neil.c.c.brown
Message:

Added a note about always using the 6.6 library documentation, and provided URLs for that version of the useful modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/trunk/hacking-guide/tock-intro.tex

    r196 r197
    521521The Utils (and to a lesser extent TestUtils) module are intended to contain functions that could have
    522522come straight out of the standard library. The standard library is also another place to look for
    523useful functions. The URL for the latest version is: \url{http://haskell.org/ghc/docs/latest/html/libraries/}.
    524Particularly useful modules are\footnote{The URLs are a bit fragile for the latest version, but
    525they are easy enough to find by searching the contents page at the URL given above}:
    523useful functions. The URL for the latest version is: \url{http://haskell.org/ghc/docs/6.6/html/libraries/}.
    524Make sure you always refer to the documentation for the lowest compiler version we support (currently
    5256.6) to avoid accidentally using a function that is only available in a later version.
    526
    527Particularly useful modules are:
    526528
    527529\begin{itemize}
    528\item \lstinline|Data.List| -- Contains various helper functions for dealing with lists, including map,
    530\item \href{http://haskell.org/ghc/docs/6.6/html/libraries/base/Data-List.html}{\lstinline|Data.List|}
    531 -- Contains various helper functions for dealing with lists, including map,
    529532foldl, zip, sum, and many others\footnote{A lot of these are technically in the standard Prelude, but
    530533it's easy to find all the documentation in one place in the \lstinline|Data.List| module, as well
    531534as several useful functions not in the Prelude.}. Probably the most useful module.
    532\item \lstinline|Control.Monad| -- Contains all the general monadic helper functions, such as
    535\item \href{http://haskell.org/ghc/docs/6.6/html/libraries/base/Control-Monad.html}{\lstinline|Control.Monad|}
    536 -- Contains all the general monadic helper functions, such as
    533537mapM, foldM, sequence. If you ever find yourself struggling to manipulate monadic types, there
    534538may be something to help you in here.
    535\item \lstinline|System.IO| -- Contains all the functions for printing to the screen, reading from
    539\item \href{http://haskell.org/ghc/docs/6.6/html/libraries/base/Control-Monad.html}{\lstinline|System.IO|}
    540 -- Contains all the functions for printing to the screen, reading from
    536541files, etc.
    537542\end{itemize}
    538543
    539Other useful modules are \lstinline|Data.Maybe|, \lstinline|Data.Generics|, \lstinline|Data.Map|,
    540 \lstinline|Data.Set| and \lstinline|Test.HUnit|.
    544Other useful modules are
    545 \href{http://haskell.org/ghc/docs/6.6/html/libraries/base/Data-Maybe.html}{\lstinline|Data.Maybe|},
    546 \href{http://haskell.org/ghc/docs/6.6/html/libraries/base/Data-Generics.html}{\lstinline|Data.Generics|},
    547 \href{http://haskell.org/ghc/docs/6.6/html/libraries/base/Data-Map.html}{\lstinline|Data.Map|},
    548 \href{http://haskell.org/ghc/docs/6.6/html/libraries/base/Data-Set.html}{\lstinline|Data.Set|} and
    549 \href{http://haskell.org/ghc/docs/6.6/html/libraries/HUnit/Test-HUnit.html}{\lstinline|Test.HUnit|}.
    541550
    542551\section{Test Your Code}
Note: See TracChangeset for help on using the changeset viewer.

AltStyle によって変換されたページ (->オリジナル) /