simplify function parsing code

This commit is contained in:
Ilya Rezvov committed 2018-01-23 11:14:17 -08:00
1 parent 23aa6d5238
commit e9e59f1a9b
2 files changed
+41 -29

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ import qualified Language.Wasm.Parser as Parser
import qualified Debug.Trace as Debug
isRight :: (Show b) => Either a b -> Bool
isRight (Right x) = length (show x) > 0
isRight (Right x) = show x `seq` True
isRight _ = False
main :: IO ()