I am having a problem understanding the use of brackets in F #. To illustrate with a simple example, the following two console applications behave differently. The first did not wait when I type something:
open System let Main = Console.WriteLine "Hello" Console.ReadLine
While the second one does:
open System let Main = Console.WriteLine "Hello" Console.ReadLine()
How should I understand the difference?
source share