[MLton-user] doc update
    Vesa Karvonen 
    vesa.a.j.k at gmail.com
       
    Thu Nov 22 22:26:33 PST 2007
    
    
  
On Nov 22, 2007 3:38 PM, Sean McLaughlin <seanmcl at gmail.com> wrote:
> Oh, I'm sorry!  I got the [annotation] syntax wrong.  I was using "error" instead
> of "default"
BTW, you can see the available annotations and their syntax using the
'-show anns' switch:
$ mlton -show anns
allowFFI {false|true}
allowOverload {false|true}
deadCode {false|true}
forceUsed
nonexhaustiveExnMatch {default|ignore}
nonexhaustiveMatch {warn|ignore|error}
redundantMatch {warn|ignore|error}
sequenceNonUnit {ignore|error|warn}
warnUnused {false|true}
With the switch -expert true, you can see a few more expert annotations.
-Vesa Karvonen
    
    
More information about the MLton-user
mailing list