Re: [Caml-list] Format OCaml Code

2011-12-24 Thread Jun Furuse
Hi, ocaml-indent may help you, at least around indentations:  https://bitbucket.org/camlspotter/ocaml-indent/wiki/Home Jun On Fri, Dec 23, 2011 at 3:57 PM, haihao shen haihaos...@gmail.com wrote: Hi All, Does anyone know whether there is some tools or scripts to format ocaml code in a unified

Re: [Caml-list] try ocaml website

2011-12-24 Thread Stéphane Glondu
Le 23/12/2011 19:40, oliver a écrit : From the js_of_ocaml page it looks like it's based on Ocsigen. Maybe it's time to explore it. :-) It's the other way around: Ocsigen is based on js_of_ocaml. The examples on [1] (and Try OCaml AFAICT) don't need Ocsigen. [1]

Re: [Caml-list] try ocaml website

2011-12-24 Thread Dominique Martinet
Hi, oliver wrote on Sat, Dec 24, 2011 : Is there also something like Python's Django for this project, or planned at least? Django is a Python-based Webframework that also integrates usage of databases. And there are good reasons to have access to a databases in Web-applications. I have only

[Caml-list] SELinux and FastCGI netplex applications

2011-12-24 Thread Paolo Donadeo
Sorry for cross posting in two mailing lists, but I'm going mad with SELinux on a server of mine equipped with CentOS 6.2. The problem is to run a FastCGI netplex application in peace with Apache and SELinux. Apache and the application communicate using a socket, provided by netplex. In the

Re: [Caml-list] SELinux and FastCGI netplex applications

2011-12-24 Thread Török Edwin
On 12/24/2011 03:50 PM, Paolo Donadeo wrote: Sorry for cross posting in two mailing lists, but I'm going mad with SELinux on a server of mine equipped with CentOS 6.2. The problem is to run a FastCGI netplex application in peace with Apache and SELinux. Apache and the application communicate

Re: [Caml-list] SELinux and FastCGI netplex applications

2011-12-24 Thread Paolo Donadeo
Thanks Edwin! Starting from an init script solved the problem. -- Paolo -- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports:

Re: [Caml-list] Need help for a practical hacking book about ocaml

2011-12-24 Thread Alex Rubinsteyn
This looks good, though it could benefit from some more exposition and editing. Any chance you'll put what you've already written in a wiki? That would make it easier for other OCaml programmers to contribute. --Alex 2011/12/24 bobzhang bobzhang1...@gmail.com Hi, all, I was writing(or

Re: [Caml-list] Need help for a practical hacking book about ocaml

2011-12-24 Thread bob zhang
Thanks. Sure. I can publish it to github. I write the documentation using latex, I tried to export it as html file using hevea, but it does not work unfortunately.. On Sat, Dec 24, 2011 at 8:25 PM, Alex Rubinsteyn alex.rubinst...@gmail.comwrote: This looks good, though it could benefit from

Re: [Caml-list] Need help for a practical hacking book about ocaml

2011-12-24 Thread oliver
Hello, On Sat, Dec 24, 2011 at 04:55:26PM -0500, bobzhang wrote: [...] My book mainly focus on how to make ocaml programmers more productive, quite different from other existing books. [...] A good idea. [...] I have been digging haskell, ocaml, lisp for several years, honestly speaking,

Re: [Caml-list] Need help for a practical hacking book about ocaml

2011-12-24 Thread bob zhang
Thanks. About why ocaml is more productive, probably my explanation will cause a flaming war, so correct me if I am wrong. Of course, I understand monad, arrow, frp, TH, ST monad or other topics in haskell, but that does not really help solve the *real wolrd problems*. And laziness/purity is