On 18 Nov 2010, at 07:43, ri...@happyleptic.org wrote:
Each time I need more debug information for the ocaml runtime itself
(which hopefully is not often) I recompile Ocaml adding various -g
and -O0 here and there in some makefiles.
But I've noticed there are some special targets and rules,
On 15 Nov 2010, at 18:50, Daniel de Rauglaudre wrote:
On Mon, Nov 15, 2010 at 07:38:25PM +0100, Jamie Brandon wrote:
ja...@jamie-aspire:~$ cat segfault.ml
let rec ints n = n :: ints (n+1)
let _ = ints 0
ja...@jamie-aspire:~$ ocamlopt segfault.ml
ja...@jamie-aspire:~$ ./a.out
On 24 Oct 2010, at 09:17, Jake Donham wrote:
On Sun, Oct 24, 2010 at 3:34 AM, Jon Harrop j...@ffconsultancy.com wrote:
Is there a tutorial on using something like LWT for asynchronous programming
in OCaml? I'm looking for an example like an echo server that handles
clients concurrently
Here's a (very) quick and dirty implementation that will automatically populate
data, using our dynamic typing library ( http://github.com/mirage/dyntype ).
You just need to fill in desc_of_license with the matching descriptions, and
data will be auto-populated at program startup.
-anil
--
On 24 Aug 2010, at 15:52, Till Varoquaux wrote:
On Tue, Aug 24, 2010 at 10:21 AM, Florent Monnier
monnier.flor...@gmail.com wrote:
Le lundi 23 août 2010 22:24:48, Romain Beauxis a écrit :
Le lundi 23 août 2010 07:09:05, Florent Monnier a écrit :
an alternative method is to provide a string
On 23 Aug 2010, at 13:12, Paul Steckler wrote:
On Mon, Aug 23, 2010 at 10:05 PM, Mark Shinwell
mshinw...@janestreet.com wrote:
Have you tried using gdb to determine the stack backtrace when it segfaults?
Also, if it can be done without disturbing too much code, it might be worth
trying to
On 24 Sep 2009, at 13:19, Martin Jambon wrote:
Oh yes, there's type-conv too. I don't know the pros and cons of
using either
type-conv or deriving. If anyone knows, a brief comparison would be
helpful.
The nice thing about using type-conv is that syntax extensions can be
composed
On 3 Oct 2009, at 18:27, blue storm wrote:
On Sat, Oct 3, 2009 at 2:16 PM, Anil Madhavapeddy a...@recoil.org
wrote:
The only thing I haven't quite worked out yet is the quotation to
pattern-match type applications to detect things like (string, unit)
Hashtbl.t the way the current json-static
I dont believe you can add comments with camlp4; I'm using type-conv
to hack on an ORM layer, and it would be lovely to have the generated
functions also have comments to not dirty up the OCamldoc. And also,
to maintain sanity when reading through pages of generated OCaml...
-anil
On 15
On 3 Jul 2009, at 18:28, Richard Jones wrote:
On Fri, Jul 03, 2009 at 06:19:49PM +0100, Anil Madhavapeddy wrote:
Do you have a patch for this at all? I need to stick it into OpenBSD
fairly urgently as we're in release lock.
Yes, I worked up a patch here:
https://bugzilla.redhat.com
I've been using OCaml in a few server projects which need a light-
weight database, and so I wrote a library to map OCaml objects
directly to a SQLite3 backend database.
Like other ORM systems, you define a schema based on sets of named
fields. The Sql_orm library then generates an OCaml
On 30 Mar 2009, at 10:10, Zheng Li wrote:
Is extra separators acceptable?
# let ($) f x = f x;;
val ( $ ) : ('a - 'b) - 'a - 'b = fun
# foo --- %s %s %s $ bar1 $ bar2 $ bar3;;
- : string = foo: bar1 bar2 bar3
Aha ... using the identity function like this works great, thanks!
-anil
and,
12 matches
Mail list logo