caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kakadu <kakadu.hafanana@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: [Caml-list] Automatic fixing of error messages
Date: Sun, 3 Jul 2016 01:37:56 +0300	[thread overview]
Message-ID: <CAGmVoG1dkv4=CTp8h_4N7ymVBBaTqS=cNHA=MqgETBuzrj72NQ@mail.gmail.com> (raw)

Hey, folks

Do you have any scripts or tricks to force you favorite editor to help
you fixing compilation errors?

Like:
* Unused parameter ... => prepend a _ to the identifier binding)
* `in` is missing => add it
* Type for value x is bad => wrap x with function foo to make it right
* variable is unbound => Add rec definition on line 123.
* etc.

Fixing all error seems to be non trivial task but for something like
'module Lsit is unbound => replace Lsit by List` it should be doable
to add editor shortcut.

Happy hacking,
Kakadu

                 reply	other threads:[~2016-07-02 22:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAGmVoG1dkv4=CTp8h_4N7ymVBBaTqS=cNHA=MqgETBuzrj72NQ@mail.gmail.com' \
    --to=kakadu.hafanana@gmail.com \
    --cc=caml-list@inria.fr \
    /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).