checker functions outline, pushing now but that's how it's meant to look in the future

This commit is contained in:
Armin Friedl 2016-08-06 15:07:27 +02:00
parent cd6d9e1e86
commit 573a164246

View file

@ -91,6 +91,12 @@ appEvent st ev
-- TODO Refactor parts into SyntaxChecker.hs somehow
-- Rough idea:
-- 1) make some monad that carries kind of markup-info
-- state from one checker function to the next
-- 2) call checker functions in editor
-- 3) get (combined) markup-info from checkers
-- 4) apply markup-info in editor function
brackets :: [(Char,Char)]
brackets = [('(',')'),('[',']'),('{','}')]