(source, setState, f)
| 14 | CodeMirror.defineMode("haskell", function(_config, modeConfig) { |
| 15 | |
| 16 | function switchState(source, setState, f) { |
| 17 | setState(f); |
| 18 | return f(source, setState); |
| 19 | } |
| 20 | |
| 21 | // These should all be Unicode extended, as per the Haskell 2010 report |
| 22 | var smallRE = /[a-z_]/; |