fsharp.fio
Advanced tools
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
@@ -5,3 +5,3 @@ <?xml version="1.0" encoding="utf-8"?> | ||
| <id>FSharp.FIO</id> | ||
| <version>0.0.34-alpha</version> | ||
| <version>0.0.35-alpha</version> | ||
| <title>FSharp.FIO</title> | ||
@@ -18,3 +18,3 @@ <authors>Daniel Larsen</authors> | ||
| <tags>fsharp effects async concurrent functional zio fibers</tags> | ||
| <repository type="git" url="https://github.com/fs-fio/FIO" commit="d0c5ac8c08507d87b4c032237de88f6af0f85b90" /> | ||
| <repository type="git" url="https://github.com/fs-fio/FIO" commit="27e5b3ada45608a76692e262fc706e34451ed270" /> | ||
| <dependencies> | ||
@@ -21,0 +21,0 @@ <group targetFramework="net10.0"> |
+12
-12
@@ -134,3 +134,3 @@ <a id="readme-top"></a> | ||
| open FSharp.FIO.DSL | ||
| open FSharp.FIO.Lib.IO | ||
| open FSharp.FIO.Console | ||
| open FSharp.FIO.Runtime.Concurrent | ||
@@ -141,5 +141,5 @@ | ||
| let askForName = fio { | ||
| do! FConsole.PrintLine "Hello! What is your name?" | ||
| let! name = FConsole.ReadLine () | ||
| do! FConsole.PrintLine $"Hello, %s{name}! Welcome to FIO! πͺ»π" | ||
| do! Console.PrintLine "Hello! What is your name?" | ||
| let! name = Console.ReadLine () | ||
| do! Console.PrintLine $"Hello, %s{name}! Welcome to FIO! πͺ»π" | ||
| } | ||
@@ -178,3 +178,3 @@ | ||
| open FSharp.FIO.DSL | ||
| open FSharp.FIO.Lib.IO | ||
| open FSharp.FIO | ||
| open FSharp.FIO.App | ||
@@ -186,5 +186,5 @@ | ||
| override _.effect = fio { | ||
| do! FConsole.PrintLine "Hello! What is your name?" | ||
| let! name = FConsole.ReadLine () | ||
| do! FConsole.PrintLine $"Hello, %s{name}! Welcome to FIO! πͺ»π" | ||
| do! Console.PrintLine "Hello! What is your name?" | ||
| let! name = Console.ReadLine () | ||
| do! Console.PrintLine $"Hello, %s{name}! Welcome to FIO! πͺ»π" | ||
| } | ||
@@ -218,8 +218,8 @@ | ||
| open FSharp.FIO.DSL | ||
| open FSharp.FIO.Lib.IO | ||
| open FSharp.FIO | ||
| let askForName = | ||
| FConsole.PrintLine "Hello! What is your name?" >>= fun _ -> | ||
| FConsole.ReadLine () >>= fun name -> | ||
| FConsole.PrintLine $"Hello, %s{name}, welcome to FIO! πͺ»π" | ||
| Console.PrintLine "Hello! What is your name?" >>= fun _ -> | ||
| Console.ReadLine () >>= fun name -> | ||
| Console.PrintLine $"Hello, %s{name}, welcome to FIO! πͺ»π" | ||
| ``` | ||
@@ -226,0 +226,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display