From f46dafc461e4ee3fa1637051284f89b443f00a51 Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Tue, 9 Sep 2025 20:38:00 +0200 Subject: add files for lecture 7's homework --- lec07/StringBufEditor.hs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lec07/StringBufEditor.hs (limited to 'lec07/StringBufEditor.hs') diff --git a/lec07/StringBufEditor.hs b/lec07/StringBufEditor.hs new file mode 100644 index 0000000..e40cc5e --- /dev/null +++ b/lec07/StringBufEditor.hs @@ -0,0 +1,11 @@ +module Main where + +import StringBuffer +import Editor + +main = runEditor editor $ unlines + [ "This buffer is for notes you don't want to save, and for" + , "evaluation of steam valve coefficients." + , "To load a different file, type the character L followed" + , "by the name of the file." + ] -- cgit v1.2.3