ocaml/ocaml.org — pull request #57 by gasche (2012-09-27 21:58:40+00:00)
Title: Replace "News from INRIA" by a small code snippet

The "News from INRIA" feed was relatively outdated and, I think, used free space on the front page for something that wasn't really worth it (if one want to underline INRIA's role in OCaml development, I'm sure there are better ways to do, such as putting more emphasis on the research around OCaml).

I replaced it with a "minimum viable snippet" that shows a small example of OCaml code that is, I think, a reasonable compromise between "simple to understand" and "interesting". I think it's important to have such a snippet somewhere on the front page, but I'm not insisting on either this location on the page, or this particular snippet (which could be replaced by a simpler one).

In the process of putting this snippet, I've added a few options to the "binding" for OCaml code highlighting (having the toplevel output around like for all other code examples would consume too much space).