Mon, 06 Dec 2010 13:22:10 +0000 Comments to “Pearls of OCaml Batteries (1)” Paolo Donadeo's personal Internet site and blog https://www.donadeo.net/post/2010/batteries-1 p.donadeo@gmail.com (Paolo Donadeo) By: Grant Rettke https://www.donadeo.net/post/2010/batteries-1#comment-1318 https://www.donadeo.net/post/2010/batteries-1#comment-1318 Sun, 05 Dec 2010 22:01:49 +0000 Grant Rettke <div><p>Thanks for posting something like this... it lowers the barrier to entry (real or perceived).</p></div> By: David https://www.donadeo.net/post/2010/batteries-1#comment-1319 https://www.donadeo.net/post/2010/batteries-1#comment-1319 Mon, 06 Dec 2010 09:14:42 +0000 David <div><p>I'm not sure only a "few" people like you (and me) are satisfied with the standard library. It's just that satisfied people don't spend time saying it.</p><p>Anyway, one question about the code example: Str is not thread safe, what about BatString?</p></div> By: Jaysean https://www.donadeo.net/post/2010/batteries-1#comment-1320 https://www.donadeo.net/post/2010/batteries-1#comment-1320 Mon, 06 Dec 2010 12:08:28 +0000 Jaysean <div><p>Hi, I've find an interesting article about Ocaml you had written for quite a long time ago (https://www.donadeo.net/post/2008/draw-something-on-the-screen-and-interact-with-it). This is what I am working for with lablgtk2 and cairo now. So I'd be very appreciate if you could send me the source code which had broken in the tgz file on its download link.</p><p>Thank you very much.</p><p>My email: hlongvu@gmail.com</p></div> By: Paolo Donadeo https://www.donadeo.net/post/2010/batteries-1#comment-1321 https://www.donadeo.net/post/2010/batteries-1#comment-1321 Mon, 06 Dec 2010 12:28:50 +0000 Paolo Donadeo <div><p>@David: Yes, BatString is thread safe, AFAIK.</p></div> By: Paolo Donadeo https://www.donadeo.net/post/2010/batteries-1#comment-1322 https://www.donadeo.net/post/2010/batteries-1#comment-1322 Mon, 06 Dec 2010 12:41:43 +0000 Paolo Donadeo <div><p>@Jaysean: the link in the article (https://www.donadeo.net/wp-content/uploads/2008/09/cairo_toy.tgz) works form me. Uncompress the tarball and compile with:</p><p><code>$ ocamlbuild demo_toy.native</code></p></div> By: Jaysean https://www.donadeo.net/post/2010/batteries-1#comment-1323 https://www.donadeo.net/post/2010/batteries-1#comment-1323 Mon, 06 Dec 2010 13:22:10 +0000 Jaysean <div><p>Thanks for your quick reply.</p><p>That was my fault. At first I can download the file but can not uncompress it. I try again and It's ok now.</p></div>