From 276f5bad5572f93c300611650c0316544e09071c Mon Sep 17 00:00:00 2001 From: EliasAAradsson Date: Sat, 2 Nov 2024 21:08:24 +0100 Subject: [PATCH] Update REPL with working runner instructions --- compendium/modules/w09-setmap-lab.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compendium/modules/w09-setmap-lab.tex b/compendium/modules/w09-setmap-lab.tex index d1ef948e..e16d7930 100644 --- a/compendium/modules/w09-setmap-lab.tex +++ b/compendium/modules/w09-setmap-lab.tex @@ -185,7 +185,7 @@ \subsection{Obligatoriska uppgifter} \Task Skapa ett huvudprogram som rapporterar valfria, intressanta mått om orden i en text. Programmet ska ta textens källa som argument, givet som en URL eller ett filnamn. Skriv huvudprogrammet i filen \code{Main.scala} i ett singelobjekt med namnet \code{Main}. Exempel på en rapport som ditt huvudprogram kan generera finns nedan. Här ges även ett heltal som argument som styr topplistornas längd. \begin{REPL} -> scala nlp.Main https://fileadmin.cs.lth.se/pgk/skattkammaron.txt 13 +> scala run . -- https://fileadmin.cs.lth.se/pgk/skattkammaron.txt 13 Källa: https://fileadmin.cs.lth.se/pgk/skattkammaron.txt