update readme

This commit is contained in:
Simon Cruanes 2015-08-02 12:39:30 +02:00
parent cb551b33e6
commit 157cce9f6e

View file

@ -60,6 +60,18 @@ don't have additional dependencies nor build complications (and it may enable
more inlining). Since modules have a friendly license and are mostly
independent, both options are easy.
In a toplevel, using ocamlfind:
```ocaml
# #use "topfind";;
# #require "containers";;
# CCList.flat_map;;
- : ('a -> 'b list) -> 'a list -> 'b list = <fun>
# open Containers;; (* optional *)
# List.flat_map ;;
- : ('a -> 'b list) -> 'a list -> 'b list = <fun>
```
If you have comments, requests, or bugfixes, please share them! :-)
## License