ocaml/*.cmx
ocaml/*.o
ocaml-extlib/extlib-1.5.1.tar.gz
+ocaml-extlib/NUL
+ocaml-extlib/test1
+ocaml-extlib/*.exe
+ocaml-extlib/*.cmi
+ocaml-extlib/*.cmx
+ocaml-extlib/*.o
openssl/openssl-0.9.8g-usa.tar.bz2
pango/pango-1.21.6.tar.bz2
pango/pango-1.22.1.tar.bz2
--- /dev/null
+# -*- Makefile -*-
+# Test programs for extlib
+
+OCAMLOPTFLAGS = -I +extlib extLib.cmxa
+
+all: test1 test1.exe
+
+test1: test1.ml
+ ocamlopt $(OCAMLOPTFLAGS) $< -o $@
+
+test1.exe: test1.ml
+ i686-pc-mingw32-ocamlopt $(OCAMLOPTFLAGS) $< -o $@
+
+clean:
+ rm -f test1 *.exe *.cmi *.cmx *.o
--- /dev/null
+module StringMap = Map.Make (String)
+
+let () =
+ let map = StringMap.empty in
+ let map = StringMap.add "foo" "bar" map in
+ let map = StringMap.add "bar" "baz" map in
+ let map = StringMap.add "baz" "bil" map in
+ let map = StringMap.add "bil" "biz" map in
+ print_endline (Std.dump map)
+