[Caml-list] Type Safety comes to the iPad

2010-11-09 Thread Jonathan Kimmitt
I thought you might be interested to know that my new OCAML App for the iPad was published on the iTunes Store yesterday. I believe this is a significant achievement given the notorious reluctance of Apple to embrace languages other than C/obj-C/C++ and I would hope it would promote wider

Re: [Caml-list] Type Safety comes to the iPad

2010-11-09 Thread Vincent Aravantinos
Wow! This seems hugely interesting to me. Actually I've been wondering a while to know if I would buy an ipad, and my conclusion was only if I can do Ocaml on it. Can you report a bit more on your experience ? Which tools did you use? How convenient it is? What drawback did you encounter?

[Caml-list] Re: Type Safety comes to the iPad

2010-11-09 Thread Sylvain Le Gall
Hello, On 09-11-2010, Jonathan Kimmitt jonat...@kimmitt.co.uk wrote: I thought you might be interested to know that my new OCAML App for the iPad was published on the iTunes Store yesterday. I believe this is a significant achievement given the notorious reluctance of Apple to embrace

Re: [Caml-list] Type Safety comes to the iPad

2010-11-09 Thread Jonathan Kimmitt
Hi, Perhaps a further explanation is necessary. What I have done is ported the interpreter ocamlrun to the iPad and added a gui based on Graphics.cma and bound ancillary libraries such as Num.cma into the executable. The ocaml interpreter itself is written in ocaml and is identical to the

Re: [Caml-list] Type Safety comes to the iPad

2010-11-09 Thread Jonathan Kimmitt
Hi, The application itself is written in Xcode. You need to be a member of the development program at £59/$99 or equivalent per year to get access to the signing keys if you need to modify 'extern' functions (native C code of the interpreter) You don't need anything apart from iTunes to

Re: [Caml-list] Type Safety comes to the iPad

2010-11-09 Thread Daniel Bünzli
Which tools did you use? There are a few instructions here [1]. Best, Daniel [1] http://web.yl.is.s.u-tokyo.ac.jp/~tosh/ocaml-on-iphone/ ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list

Re: [Caml-list] MLbrot: Mandelbrot Set in OCaml

2010-11-09 Thread Daniel de Rauglaudre
Hi, On Mon, Nov 08, 2010 at 05:07:33PM +0100, Goswin von Brederlow wrote: Only looked at the pictures so far but they do look good. I'm missing some screenshots though. How does the interface look like? I assume you have some way to select a part of the image to zoom? When clicking with left

Re: [Caml-list] MLbrot: Mandelbrot Set in OCaml

2010-11-09 Thread Goswin von Brederlow
Daniel de Rauglaudre daniel.de_rauglau...@inria.fr writes: Hi, On Mon, Nov 08, 2010 at 05:07:33PM +0100, Goswin von Brederlow wrote: Only looked at the pictures so far but they do look good. I'm missing some screenshots though. How does the interface look like? I assume you have some way

[Caml-list] Infix function composition operator

2010-11-09 Thread Arlen Christian Mart Cuss
Hi all, I know this was asked at least 12 years ago[1], but is there any consensus or reason for there not being a compose function in standard OCaml, nor an infix operator? At the moment I tend to let compose or let (-) f g x = f (g x), but I wish I didn't have to! Thanks, Arlen [1]

Re: [Caml-list] Infix function composition operator

2010-11-09 Thread Yaron Minsky
This is probably a minority opinion, but I have written and read quite a lot of OCaml code over the years, and I've seen surprisingly few effective uses of the composition operator. Somehow, I usually find that code that avoids it is simpler and easier to read. I'm not averse to infix operators.

Re: [Caml-list] Infix function composition operator

2010-11-09 Thread Arlen Christian Mart Cuss
Hi Yaron, On Tue, 2010-11-09 at 22:45 -0500, Yaron Minsky wrote: This is probably a minority opinion, but I have written and read quite a lot of OCaml code over the years, and I've seen surprisingly few effective uses of the composition operator. Somehow, I usually find that code that avoids

Re: [Caml-list] Infix function composition operator

2010-11-09 Thread mark
on 10/11/10 3:45 AM, ymin...@gmail.com wrote: This is probably a minority opinion, but I have written and read quite a lot of OCaml code over the years, and I've seen surprisingly few effective uses of the composition operator. Somehow, I usually find that code that avoids it is simpler and