caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Yawar Amin <yawar.amin@gmail.com>
To: Lorenzo Pomili <lorenzo.pomili85@gmail.com>
Cc: Malcolm Matalka <mmatalka@gmail.com>,
	Ocaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Run time error on exception
Date: Mon, 5 Feb 2018 10:26:51 -0500	[thread overview]
Message-ID: <CAJbYVJ+P-Qnf4Dn6Oa=n6VhPaAKwGQnaVqgn__aGqVt0Wp+uVg@mail.gmail.com> (raw)
In-Reply-To: <CALJ6Lmh1-Tu89T3N6es4u+9cKDq=rGH=VuhabZJmNHHse+P59w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

Hi Lorenzo,

On Sun, Feb 4, 2018 at 1:14 PM, Lorenzo Pomili <lorenzo.pomili85@gmail.com>
wrote:

> Thanks for reply, one more question there is a way in OCaml, for know if
> function can produce side effects? I mean automatic way not read
> documentation or source code ^^"
>

Currently no. But there is ongoing research and development on introducing
algebraic effect handlers to OCaml, which will mark functions at the type
level (if I understand correctly) as effectful:
http://kcsrk.info/ocaml/multicore/2015/05/20/effects-multicore/

Regards,

Yawar

[-- Attachment #2: Type: text/html, Size: 1043 bytes --]

      parent reply	other threads:[~2018-02-05 15:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-31 21:14 Lorenzo Pomili
2018-01-31 21:35 ` Yawar Amin
2018-02-01  7:10 ` Malcolm Matalka
2018-02-04 18:14   ` Lorenzo Pomili
2018-02-05 10:49     ` Malcolm Matalka
2018-02-05 15:26     ` Yawar Amin [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='CAJbYVJ+P-Qnf4Dn6Oa=n6VhPaAKwGQnaVqgn__aGqVt0Wp+uVg@mail.gmail.com' \
    --to=yawar.amin@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=lorenzo.pomili85@gmail.com \
    --cc=mmatalka@gmail.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).