Cool new stream about F# from LaylaCodesIt
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNdwkmI9q6pml20a0aw2JEhXpdbwVKrrbtVfLtYn9MvyInqnj7OJxmSCCazm8lCugoW7RzeexuS2mVkrxOUDBSybtSH5QXaEwVlW2PXrc1743x9ggAl0Rg8ohxzNbkHYG_YkaNtpuixms/s320/Annotation+2021-12-02+142854.png)
There was a cool new series about F# on Twitch today. It was fun to see and I haven't used F# in a long time. I felt like it was my first time while watching the stream. https://www.twitch.tv/laylacodesit Here is my code inspired by Layla and Alyssa. https://gist.github.com/trendoid/ad4c5f3b58fc09c6a0ee472a0fd869d6 or if you want the whole project... https://github.com/trendoid/FsharpConsoleApp It just reads from a text file and prints the contents out to the console. // For more information see https://aka.ms/fsharp-console-apps printfn "Console App: Started!" open System.IO let baseDirectory = __SOURCE_DIRECTORY__ let filePath = "Text.txt" let fullPath = Path.Combine(baseDirectory, filePath) let readFilesTask (path1) = task { let! content = File.ReadAllTextAsync(path1) return content } printfn "Content: %s" (readFilesTask(fullPath).Result)