Code mirror language mode definition written in Purescript