summaryrefslogtreecommitdiff
path: root/lec07/StringBufEditor.hs
diff options
context:
space:
mode:
authorEdoardo La Greca2025-09-09 20:38:00 +0200
committerEdoardo La Greca2025-09-09 20:38:00 +0200
commitf46dafc461e4ee3fa1637051284f89b443f00a51 (patch)
treebfc6b3aebbe12141d34b9727e11766bffdc2937e /lec07/StringBufEditor.hs
parent476ae2fe83ea46e3845b0c32afe7df57c8fb109b (diff)
add files for lecture 7's homework
Diffstat (limited to 'lec07/StringBufEditor.hs')
-rw-r--r--lec07/StringBufEditor.hs11
1 files changed, 11 insertions, 0 deletions
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."
+ ]