caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: stephane.duprat@atosorigin.com
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] designing Ocaml programs with a graphical modeling language ?
Date: Fri, 26 Jan 2007 01:18:06 +1100	[thread overview]
Message-ID: <1169734687.5714.15.camel@rosella.wigram> (raw)
In-Reply-To: <45B88884.4060300@atosorigin.com>

On Thu, 2007-01-25 at 11:37 +0100, Stéphane DUPRAT wrote:
> > Can you elaborate?
> >   
> To be more precise, I'm searching a modeling language (such as UML for 
> OO methods) and a tool to design my developments in ocaml. That tool 
> doesn't need to be written in ocaml.
> 
> As for uml, it seems to be not very convenient for functional languages 
> (i didn't use oo features of ocaml) and not very popular in fp community.
> 
> After a short search on the web, i didn't find anything for that. The 
> main argument is that functional languages don't need heavy design 
> methods based on graphical representations.
> As for me, I think that designing with a graphical modeling language 
> could be profitable.

I think part of the argument is: design is basically abstraction.
OO does not provide a scalable concept of abstraction, so it uses
a distinct language .. this is a serious flaw in OO.

Functional languages provide better abstraction with better
scalability, so don't need a distinct modelling language.

This is not to say it is not worthwhile drawing pictures.
Note that ML is a *procedural* programming language not
a functional one, and even Haskell can sequence imperative
operations like I/O. 

The traditional graphical design tool here is the flow chart.
There are lots of tools than can draw flow charts.

There is a formal connection between flow charts and the
category theory underlying computing, developed by RFC Walters:
see "Categories and Computer Science", ISBN 1 875399 01 1
(but this version is impossible to obtain outside Australia,
there's a reprint by another institution).

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


      parent reply	other threads:[~2007-01-25 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-24 10:36 Stéphane DUPRAT
     [not found] ` <200701241901.37939.jon@ffconsultancy.com>
2007-01-25 10:37   ` [Caml-list] " Stéphane DUPRAT
2007-01-25 12:21     ` Jon Harrop
2007-01-25 14:42       ` Yoann Padioleau
2007-01-25 14:18     ` skaller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1169734687.5714.15.camel@rosella.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@yquem.inria.fr \
    --cc=stephane.duprat@atosorigin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).