<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/01/dada62d32711fa97d364d3a4758c7a44"
  from="Michal Moskal &lt;malekith@p...&gt;"
  author="Michal Moskal"
  date="2003-01-24T12:02:57"
  subject="Re: [Caml-list] Baby Steps (was: ChartPak - a data visualization library for the web)"
  prev="2003/01/eb3e199755827e6ec36840e2b70fec49"
  next="2003/01/523aa1b94528f58393e75c0c7c9d6a13"
  prev-in-thread="2003/01/9fc87d4341639803357cc36b0fe95ba9"
  next-in-thread="2003/01/02b41bab1ea263e761ecc6e779e4dd49"
  prev-thread="2003/01/7d4610f16e08aad0001774d1862258d2"
  next-thread="2003/01/f6c97f5cf0184a5e307bea200d59c628"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] ANN: ChartPak - a data visualization library for the web">
<msg 
  url="2003/01/e79a9acfb922cdb850c2b11651201b4f"
  from="Matt Gushee &lt;mgushee@h...&gt;"
  author="Matt Gushee"
  date="2003-01-16T10:31:13"
  subject="[Caml-list] ANN: ChartPak - a data visualization library for the web">
<msg 
  url="2003/01/c20cee03ba9ede0c351bc445bd32ef63"
  from="Mattias Waldau &lt;mattias.waldau@a...&gt;"
  author="Mattias Waldau"
  date="2003-01-16T12:31:00"
  subject="RE: [Caml-list] ANN: ChartPak - a data visualization library for the web">
<msg 
  url="2003/01/04cfd83a66964ee534585e7d9b3c2b41"
  from="Alessandro Baretta &lt;alex@b...&gt;"
  author="Alessandro Baretta"
  date="2003-01-16T12:42:48"
  subject="Re: [Caml-list] ANN: ChartPak - a data visualization library for the web">
</msg>
<msg 
  url="2003/01/091b5c4f613b9a79f3a3df89481937e9"
  from="Jérôme_Marant &lt;jerome.marant@f...&gt;"
  author="Jérôme_Marant"
  date="2003-01-16T23:11:40"
  subject="RE: [Caml-list] ANN: ChartPak - a data visualization library for the web">
</msg>
<msg 
  url="2003/01/2329d8c268cf6a7859a2817d48141ca9"
  from="Fabrice Le Fessant &lt;fabrice@l...&gt;"
  author="Fabrice Le Fessant"
  date="2003-01-20T14:53:43"
  subject="RE: [Caml-list] ANN: ChartPak - a data visualization library for the web">
<msg 
  url="2003/01/0488574b6da3876360b3a25c20766c05"
  from="Matt Gushee &lt;mgushee@h...&gt;"
  author="Matt Gushee"
  date="2003-01-20T16:47:21"
  subject="License wars (was Re: [Caml-list] ANN: ChartPak - a data visualization library for the web)">
<msg 
  url="2003/01/2202266fa468e13832ef926a01563066"
  from="Brian Hurt &lt;brian.hurt@q...&gt;"
  author="Brian Hurt"
  date="2003-01-20T17:14:05"
  subject="Re: License wars (was Re: [Caml-list] ANN: ChartPak - a data visualization library for the web)">
</msg>
<msg 
  url="2003/01/16e16a5f0080f22a4fef705480e751c9"
  from="michael-grunewald@w..."
  author="michael-grunewald@w..."
  date="2003-01-23T10:29:05"
  subject="[Caml-list] Re: License wars">
<msg 
  url="2003/01/17a6b3a5325779167400a849f44ab619"
  from="Alessandro Baretta &lt;alex@b...&gt;"
  author="Alessandro Baretta"
  date="2003-01-23T10:40:07"
  subject="Re: [Caml-list] Re: License wars">
<msg 
  url="2003/01/886fb576d6d7551e0110c4b027508f41"
  from="John Max Skaller &lt;skaller@o...&gt;"
  author="John Max Skaller"
  date="2003-01-24T15:31:54"
  subject="Re: [Caml-list] Re: License wars">
</msg>
</msg>
<msg 
  url="2003/01/1affb50e5d962f4bcb04523873b98eec"
  from="Matt Gushee &lt;mgushee@h...&gt;"
  author="Matt Gushee"
  date="2003-01-24T05:33:54"
  subject="Re: [Caml-list] Re: License wars">
<msg 
  url="2003/01/c7536faa6a91c5b1a83c95b78da4f5fd"
  from="Sven Luther &lt;luther@d...&gt;"
  author="Sven Luther"
  date="2003-01-24T08:46:10"
  subject="Re: [Caml-list] Re: License wars">
<msg 
  url="2003/01/54c2e02506db532b8666d9fb01dd4594"
  from="Dmitry Bely &lt;dbely@m...&gt;"
  author="Dmitry Bely"
  date="2003-01-24T11:16:50"
  subject="Re: [Caml-list] Re: License wars">
<msg 
  url="2003/01/b6213794f0678aa0ba9cfc6cf75184a0"
  from="Sven Luther &lt;luther@d...&gt;"
  author="Sven Luther"
  date="2003-01-24T11:28:18"
  subject="Re: [Caml-list] Re: License wars">
</msg>
<msg 
  url="2003/01/3c456f3074065855049032709971e188"
  from="Alessandro Baretta &lt;alex@b...&gt;"
  author="Alessandro Baretta"
  date="2003-01-24T11:28:52"
  subject="Re: [Caml-list] Re: License wars">
<msg 
  url="2003/01/3c3cf12c25fab4fa3c81a3f8ffc7ca55"
  from="John Max Skaller &lt;skaller@o...&gt;"
  author="John Max Skaller"
  date="2003-01-24T16:16:32"
  subject="Re: [Caml-list] Re: License wars">
</msg>
</msg>
</msg>
<msg 
  url="2003/01/c580abbd3939d9ea05746164c0b9cf8e"
  from="John Max Skaller &lt;skaller@o...&gt;"
  author="John Max Skaller"
  date="2003-01-24T15:49:32"
  subject="Re: [Caml-list] Re: License wars">
</msg>
</msg>
<msg 
  url="2003/01/0d3ea6b38c3d2795d646ccd3e6d36abf"
  from="michael-grunewald@w..."
  author="michael-grunewald@w..."
  date="2003-01-27T06:45:27"
  subject="[Caml-list] Re: License wars">
</msg>
</msg>
</msg>
</msg>
<msg 
  url="2003/01/ba321269c5b016a5ee20a206dc41c530"
  from="Mattias Waldau &lt;mattias.waldau@a...&gt;"
  author="Mattias Waldau"
  date="2003-01-20T19:49:17"
  subject="RE: [Caml-list] ANN: ChartPak - a data visualization library for the web">
<msg 
  url="2003/01/b88cd7c071a69b46c1f1ab2c43a2bb81"
  from="Brian Hurt &lt;brian.hurt@q...&gt;"
  author="Brian Hurt"
  date="2003-01-20T20:28:56"
  subject="RE: [Caml-list] ANN: ChartPak - a data visualization library for the web">
<msg 
  url="2003/01/9fc87d4341639803357cc36b0fe95ba9"
  from="Oleg &lt;oleg_inconnu@m...&gt;"
  author="Oleg"
  date="2003-01-24T04:20:17"
  subject="[Caml-list] Baby Steps (was: ChartPak - a data visualization library for the web)">
<msg 
  url="2003/01/dada62d32711fa97d364d3a4758c7a44"
  from="Michal Moskal &lt;malekith@p...&gt;"
  author="Michal Moskal"
  date="2003-01-24T12:02:57"
  subject="Re: [Caml-list] Baby Steps (was: ChartPak - a data visualization library for the web)">
<msg 
  url="2003/01/02b41bab1ea263e761ecc6e779e4dd49"
  from="Michal Moskal &lt;malekith@p...&gt;"
  author="Michal Moskal"
  date="2003-01-24T21:55:25"
  subject="Re: [Caml-list] Baby Steps (was: ChartPak - a data visualization library for the web)">
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
On Thu, Jan 23, 2003 at 11:19:59PM -0500, Oleg wrote:
&gt; On Monday 20 January 2003 03:37 pm, Brian Hurt wrote:
&gt; &gt; The trend here is that the mainstream only takes baby steps.
&gt; 
&gt; If someone merely added
&gt; - ADTs
&gt; - variant types
&gt; - GC
&gt; - strict[er] typing
&gt; - and perhaps polymorphism
&gt; 
&gt; to C, I wonder if such a language would take off.

Take a look at http://www.research.att.com/projects/cyclone/ and
&lt;advertise&gt; http://gont.pld.org.pl/ &lt;/advertise&gt;.

But if you want to know my opinion... I designed such a language, wrote
compiler for it in OCaml, rewrote compiler in this language (getting
it to bootstrap was a lot of fun :-), and finally coded something else
(kind of extended lambda calculus interpreter) in OCaml. And the final
impression was: it's far easier in OCaml. The main difference between
OCaml (the part that I was using) and Gont was syntax.  And OCaml syntax
is better, once you get used to FP. For example:

&lt;'b&gt;list map(*('b ('a)) f, &lt;'a&gt;list l)
{
        switch l {
        case Nil: return Nil;
        case Cons(hd, tl): return Cons(f(hd), map(f, tl));
        }
}

Or version using type inference:

def map2(f, l)
{
        switch l {
        case Nil: return Nil;
        case Cons(hd, tl): return Cons(f(hd), map2(f, tl));
        }
}

And now in OCaml

let rec map f = function
  | [] -&gt; []
  | x :: xs -&gt; f x :: map f xs

-- 
: Michal Moskal ::::: malekith/at/pld-linux.org :  GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept :  {E-,w}-- {b++,e}&gt;+++ h
-------------------
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

</contents>

</message>

