module ExpF(expF) where import Fudgets import Show import Parser import Lex import Diff import Exp(Exp) expF = noStretchF False True $ loopLeftF (toBothF>==<((throughExpInputF,LeftOf)>#====<(throughExpInputF>==^=< throughF expInputF expInputF = concatMapF parse>==< (inputDoneSP>^^= case x of Left d -> buf (Just d) Right _ -> case b of Nothing -> buf b Just d -> putSP d $ buf b in buf Nothing