From d5a018b9f96b33ce5a0adc9389bc14e1a750b4af Mon Sep 17 00:00:00 2001 From: andrew-kwong Date: Thu, 4 Oct 2018 00:27:02 -0400 Subject: [PATCH 1/2] Create HelloWorld.fs --- F/HelloWorld.fs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 F/HelloWorld.fs diff --git a/F/HelloWorld.fs b/F/HelloWorld.fs new file mode 100644 index 000000000..969853c9c --- /dev/null +++ b/F/HelloWorld.fs @@ -0,0 +1,7 @@ +let f ()= + printfn "Hello World" + +[] +let main argv = + f() + 0 From 2a566fd38698ec058a57c6dec5e56c7a7dd72cf9 Mon Sep 17 00:00:00 2001 From: andrew-kwong Date: Thu, 4 Oct 2018 00:31:05 -0400 Subject: [PATCH 2/2] Update HelloWorld.fs --- F/HelloWorld.fs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/F/HelloWorld.fs b/F/HelloWorld.fs index 969853c9c..e4d98ec60 100644 --- a/F/HelloWorld.fs +++ b/F/HelloWorld.fs @@ -1,7 +1,7 @@ -let f ()= - printfn "Hello World" +open System [] let main argv = - f() + printfn "Hello World" + Console.ReadLine() |> ignore 0