aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-05-25 17:36:54 +0200
committertomsmeding <tom.smeding@gmail.com>2017-05-25 17:36:54 +0200
commited813ac55310dfb1fbc391bcfbce7d5e44c64114 (patch)
tree970f95dae74b3dcaa069d83e6d7a3dc9b7125b3e
parent20b6ef15c03fb442eb6c96e1aaa301805be74c1e (diff)
Fix comments
-rw-r--r--rip.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rip.hs b/rip.hs
index 6660c76..553d881 100644
--- a/rip.hs
+++ b/rip.hs
@@ -139,10 +139,9 @@ getfuncname' (_:xs) =
rip :: String -> IO ([Stackelem],Map.Map Stackelem Handle)
rip s = rip' s Map.empty Map.empty []
--- code function map filedesc table stack resulting stack
rip' :: String -- code
-> Map.Map String String -- function map
- -> Map.Map Stackelem Handle -- filedecs table
+ -> Map.Map Stackelem Handle -- filedesc table
-> [Stackelem] -- stack
-> IO ([Stackelem],Map.Map Stackelem Handle) -- resulting stack and filedesc table
rip' [] _ conns st = return (st,conns)