From d033ac36fbfe6a45b353f53aa69d145426df76e0 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sat, 18 Apr 2015 22:33:00 +0200 Subject: [PATCH] SimpleFileIO.dcl --- fp2/week1/camil/SimpleFileIO.dcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fp2/week1/camil/SimpleFileIO.dcl b/fp2/week1/camil/SimpleFileIO.dcl index 5e38af3..1bd97da 100644 --- a/fp2/week1/camil/SimpleFileIO.dcl +++ b/fp2/week1/camil/SimpleFileIO.dcl @@ -3,12 +3,12 @@ definition module SimpleFileIO import StdFile, StdOverloaded, StdMaybe // 1. -//readFile :: String *env -> (Maybe String, *env) | FileSystem env -//writeFile :: String String *env -> (Bool, *env) | FileSystem env +readFile :: String *env -> (Maybe String, *env) | FileSystem env +writeFile :: String String *env -> (Bool, *env) | FileSystem env // 2. readLines :: String *env -> (Maybe [String],*env) | FileSystem env -//writeLines :: String [String] *env -> (Bool, *env) | FileSystem env +writeLines :: String [String] *env -> (Bool, *env) | FileSystem env // 3. //mapFile :: String String (a -> b) *env -> (Bool, *env) | FileSystem env & ... a & ... b -- 2.20.1