diff options
author | Camil Staps | 2016-07-01 19:37:38 +0200 |
---|---|---|
committer | Camil Staps | 2016-07-01 19:37:38 +0200 |
commit | b3f1e3ff0404a5182b6eed2d88014b4b4fbd69c2 (patch) | |
tree | c2dbd5b0a43fffc6119510bdc2f5324aa3a0e3b5 /ABC/IO.dcl | |
parent | Assembler (diff) |
Moved to directory, added test program
Diffstat (limited to 'ABC/IO.dcl')
-rw-r--r-- | ABC/IO.dcl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ABC/IO.dcl b/ABC/IO.dcl new file mode 100644 index 0000000..501d8cc --- /dev/null +++ b/ABC/IO.dcl @@ -0,0 +1,17 @@ +definition module ABC.IO + +from StdOverloaded import class toString + +from ABC.Nodes import ::Node +from ABC.GraphStore import ::Desc +from ABC.Def import ::State + +:: IO (:== [Char]) + +instance toString IO + +io_init :: IO +io_print :: a IO -> IO | toString a + +show_node :: Node Desc -> String +instance toString State |