================================================================================
a module header names its module
:error
================================================================================

module

--------------------------------------------------------------------------------

================================================================================
a string literal ends on its line
:error
================================================================================

let a = "one
let b = 1

--------------------------------------------------------------------------------

================================================================================
a fractional literal carries the m suffix
:error
================================================================================

let a = 1.5

--------------------------------------------------------------------------------

================================================================================
a byte order mark is a character no token begins
:error
================================================================================

﻿let a = 1

--------------------------------------------------------------------------------

================================================================================
a numeric literal is written in the digits 0 to 9
:error
================================================================================

let a = ١٢٣

--------------------------------------------------------------------------------

================================================================================
a name does not begin with an underscore
:error
================================================================================

let _a = 1

--------------------------------------------------------------------------------

================================================================================
there is no block comment
:error
================================================================================

/* note */
let a = 1

--------------------------------------------------------------------------------

================================================================================
a definition written with no parameters writes no parentheses
:error
================================================================================

let f () = 1

--------------------------------------------------------------------------------

================================================================================
a block ends in an expression
:error
================================================================================

let f = {
    let a = 1
}

--------------------------------------------------------------------------------

================================================================================
comparisons do not chain
:error
================================================================================

let f = a < b < c

--------------------------------------------------------------------------------

================================================================================
a match arm names a case and not the discard
:error
================================================================================

let f = match x with
    | _ -> 1

--------------------------------------------------------------------------------

================================================================================
an example has a row
:error
================================================================================

example t

--------------------------------------------------------------------------------

================================================================================
depends is followed by on
:error
================================================================================

behavior b : (x: Int) -> Int
    depends now

--------------------------------------------------------------------------------

================================================================================
an anonymous union is not a field's type
:error
================================================================================

data R = { a: A | B }

--------------------------------------------------------------------------------

================================================================================
an optional is not written inside another type
:error
================================================================================

data R = { a: List<A?> }

--------------------------------------------------------------------------------

================================================================================
a newtype does not wrap a tuple
:error
================================================================================

data R = (A, B)

--------------------------------------------------------------------------------

================================================================================
a sum's cases are bare names
:error
================================================================================

data R = a.B | C

--------------------------------------------------------------------------------

================================================================================
a header is at the top of the file
:error
================================================================================

let a = 1
module m

--------------------------------------------------------------------------------
