Haskell/Experimental Modules/Cheat sheet prototype 1

Cheat sheet
''The table is built with templates to make things less tedious. Bold face usage on the function names is a naïve first approach on how to call the attention of newbies for the bread-and-butter functions (when contrasted to the advanced stuff). To trigger bold face, set the "key" parameter of the template to some non-null value.''

''Naming the last column "Evaluates to" is quite clever because the entries can be really short that way. Doesn't always work, but I like it.'' -- apfe&lambda;mus 19:15, 15 May 2010 (UTC)

We can steal the categorization and such from the Prelude documentation.

General notes
''Here we might put some general discussion on the functions. In my opinion, however, general comments would fit better in the actual "Building a vocabulary" module, while the cheat sheet pages would stay as a separate appendices linked from the main body of the book.''

Notes on the functions
''More detailed notes. The auto-generated hyperlinks on the table point to the lv. 3 headers here.''

head&#173;
''I don't know if it is a good idea to repeat information from the table on the comments section. If we choose to do so, templates could be used to help with the formatting as well.''

Type signature:

Description:

Evaluates to the first element of a given list. Additional remarks:

Triggers an error if applied on an empty list.

tail
Type signature:

Description:

Evaluates to the list obtained by dropping the first element of the argument. Additional remarks:

Triggers an error if applied on an empty list. Evaluates to  []  if the list has just a single element.