update helloWorld
parent
d91d06a303
commit
81ad85ccb7
|
@ -1,3 +1,9 @@
|
||||||
--Schreibe ein HelloWorld und führe es aus
|
--Schreibe ein HelloWorld und führe es aus
|
||||||
|
|
||||||
main = putStrLn "Hello World"
|
|
||||||
|
|
||||||
|
|
||||||
|
--Anleitung zum kompilieren
|
||||||
|
--1. gehe via Konsole/Terminal in das Verzeichnis der helloWorld.hs Datei
|
||||||
|
--2. Gebe folgenden Befehl ein: $ ghc --make helloworld
|
||||||
|
--3. Gibt es keine Fehlermeldung lasse Programm laufen: $ ./helloworld
|
Loading…
Reference in New Issue