Is there anyone using other languages than C# and F# on .NET ?
I remember back then there was the #boo language but looks like it's not much used now.
Other alternative languages like #ironpython and #ironruby are either lagging a lot on supported version or abandoned apparently.
I'm going the dramatic route on my next #fsharp post
"Oh no I typed 'dotnet new web' with F#"
but just with the title and the intro, the rest of the post will be about just going with raw aspnet, specially for those folks who are getting told "try out F#" without a clear path
If you’re interested in #AWS and seeing some #JetBrainsRider demos, head over to Twitch to watch a demo by Matt Ellis. I’ll be hanging out in the chat as well.
Due to the code signing problems caused by the .NET Foundation switchover to the Microsoft Time Stamping service, we were definitely going to want to ship a 2.5.1 release.
We also expected there to be issues with the overhauled assertion library changes in 2.5.0. We've already fixed a few:
Today I don't have any F# bits as I was in a bunch of meetings so... Let's feature another F# library!
Today we have : Fsharp.Control.Reactive https://github.com/fsprojects/FSharp.Control.Reactive
If you like rxjs/rxjava/rxnet then this is a library to look after!
It enables reactive functional programming over observables and subjects, I personally love this library quite a lot ☕
Sometimes when you have a workflow in your system you know in advance that there are some validations and other business rules that may make it fail these are expected errors (not to confuse with exceptions) and are quite cumbersome to handle with exceptions or other error handling techniques, in F# and other languages like rust you have the ability to define that via the Result<value></value> type!
Here we have a simple simulated workflow that may fail or not which will be handled later!
In the second picture we have our Featured F# library from today (link below) which provides a set of helpers and computation expressions that allows us to express these flows in a very convenient way.
Are you looking to write your next CLI app?
Today in F# Bits:
FSharp.SystemCommandLine is a framework like library that help you setup commands and handlers!
Argu is a library for argument parsing, it requires a bit of manual work but you have full control to call your handlers!
Learn how essential #JetBrainsRider IDE features like code completion, navigation, and syntax highlighting keep working when your #fsharp code just doesn’t, all explained by Eugene Auduchinok from #JetBrains at #amplifyfsharp. #dotnet
I'll be trying to do a few snippets like these and see how it goes :)
Today in F# bits:
How does a web server in fsharp looks like?
It might be more familiar than you think!
Here we have two common F# web frameworks https://www.falcoframework.com https://saturnframework.org
In both cases most of what it takes is a function that can handle an http context from aspnet and return an http response!
We just shipped v2 Core Framework 2.5.0, Analyzers 1.2.0, and Visual Studio adapter 2.5.0. This release includes a bunch of quality of life improvements, bug fixes, and an overhauled assertion library that includes new assertions, new overloads, and much better (and most consistent) assertion failure messages.
I didn't realize just how much I've come to lean on type-directed refactoring in languages like #typescript and #fsharp until I had to make a change to a massive chunk of PHP at work. Running through every possible execution path just to make sure I didn't miss any function arguments is a massive waste of time
We just shipped new prerelease versions of the core framework, the Visual Studio adapter, and analyzers.
This is primarily a bug fix/performance release, but it does include a new overload for Assert.NotNull when passed Nullable<T> values, returns the unwrapped T value as a result.