This would definitely be a helpful feature in a "warning mode" – it would
be great to have a pull request for this.

On Fri, Apr 29, 2016 at 7:01 AM, Ben Southwood <[email protected]>
wrote:

> I really like the functional style of Julia as I primarily code in OCaml.
> One of the cool optional features of the OCaml compiler is that if you
> define a function and a variable is unused, the compiler will complain that
> you have a variable that was never used.  I'm surprised how many bugs have
> been caught by this functionality, and I have already been bitten twice by
> this bug in Julia in my 1st week of using it!
>
> Is there a chance we will get the ability for the compiler to complain
> about unused variables?
>
>  - Ben
>

Reply via email to