Browse thread
[Caml-list] date manipulation library
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Mattias Waldau <mattias.waldau@a...> |
| Subject: | Re: [Caml-list] date manipulation library |
If you are going to implement a Date-library from scratch, please steal the interface. Either you make a ripoff of Microsoft or Java. The advantages are obvious: 1. You do not have to document the interface 2. You do not waste time reimplementing the wheel 3. Fewer bugs 4. The library will be complete from start 5. Porting applications to/from Ocaml gets easier The source for Java's implementation can be found at http://korea.gnu.org/gcc/src/gcc-3.1/libjava/java/util/Date.java -- Mattias ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners