aboutsummaryrefslogtreecommitdiff
path: root/IO.dcl
diff options
context:
space:
mode:
authorCamil Staps2016-07-01 09:11:02 +0200
committerCamil Staps2016-07-01 09:11:02 +0200
commit55e6cadc298beda9d079d99147b3cb0f50ce25ec (patch)
treedd28e78845843d2dff7d2b3daa2b60f5520e8b7e /IO.dcl
parentFixes (diff)
Printing
Diffstat (limited to 'IO.dcl')
-rw-r--r--IO.dcl14
1 files changed, 13 insertions, 1 deletions
diff --git a/IO.dcl b/IO.dcl
index 3251b8d..c2634ea 100644
--- a/IO.dcl
+++ b/IO.dcl
@@ -1,3 +1,15 @@
definition module ABC.IO
-:: IO
+from StdOverloaded import class toString
+
+from ABC.Nodes import ::Node
+from ABC.GraphStore import ::Desc
+from ABC.Def import ::State
+
+:: IO (:== [Char])
+
+io_init :: IO
+io_print :: a IO -> IO | toString a
+
+show_node :: Node Desc -> String
+instance toString State