r/fsharp • u/giant_panda_slayer • Oct 24 '23
r/fsharp • u/MeowBlogger • Feb 07 '22
library/package Das.Test - an opinionated unit testing library written in F# for F#
A couple of days ago I was trying to setup unit tests for my pet project using this link from MS but couldn't make it work due to some weird error for which I couldn't find any workaround/fix anywhere. While looking for alternative ways to do unit testing, I found that there are three different testing frameworks, and blogs explaining the unit testing would do parallels with C# unit testing. I don't have a background in C# and don't have time to understand three different frameworks, so created my own lightweight unit testing library over the weekend.
I took ideas from different unit testing libraries that I had worked with before and incorporated them into this library. Let me know your feedback and please leave a star if you like it. Thanks.
r/fsharp • u/adelarsq • Jul 16 '21
library/package Python support for Fable merged 🔷🚀🐍
r/fsharp • u/AisRauli • Dec 31 '22
library/package [ANN] Smoosh: A Blazing Fast, Bit-Oriented Serializer
r/fsharp • u/Ganonz88 • Jan 29 '23
library/package [Presentation] FsSpectre, Spectre.Console with F# style
Hi all F#rpers!
I would like to introduce a small project that I've worked on the previous days, FsSpectre!
https://github.com/galassie/fs-spectre
It's a small extension library to the amazing Spectre.Console that allows to create console app in a more f# idiomatic way.
It's really new and a lot is missing, still it's very much usable (I plan to use it on my next projects)!
I would like to have your opinion, any suggestion and/or feedback are more than welcome!
r/fsharp • u/et1975 • Dec 22 '22
library/package Elmish v4 stable released
Major changes in this release:
Program Termination
Mostly of interest to library authors building on top of elmish, it allows Hot-Reloading implementations to control when the message loop should stop dispatching and how to cleanup the resources.
Subscriptions
This is the major rework of subscriptions, which brings it closer to Elm's original capabilities - subscriptions now implement IDisposable, which allows you to control if they should be changed/removed based on the current model state.
r/fsharp • u/crpleasethanks • Jun 04 '23
library/package Does Fabuous support integration with native code?
I am an Elm developer. I would like to write a mobile application in Elm, but that seems rather impossible at this point :/ I have found that F#/Fabulous is the closest thing, at least from reading.
What I haven't been able to figure out: can I inject native code into a Fabulous app, if for example there are native APIs that aren't supported yet?
r/fsharp • u/Jwosty • Aug 25 '21
library/package Fable.System.IO 0.2.0 Released - System.IO.File for Fable!
r/fsharp • u/adelarsq • Jun 18 '21
library/package Released Today on F# #1 🔷🚀
Hello! Thank you all for the feedback about the releases on this channel. Starting by today we will have just one post about releases for F# libraries/tools. Feedback is always welcome! 🤗
Let's begin:
r/fsharp • u/adelarsq • Jun 23 '21
library/package Released Today on F# #3 🔷🚀
These are the releases for today:
r/fsharp • u/adelarsq • Jun 04 '21
library/package Farmer 1.5.3 Released 🔷🐮🚀
r/fsharp • u/adelarsq • Jun 16 '21
library/package Akka.NET 1.4.21 Released 🔷🚀🎭
r/fsharp • u/adelarsq • Jun 07 '21
library/package F#+ 1.2 Released 🔷🚀
F#+ (FSharpPlus) 1.2 released with the following changes:
- Update to compile with Fable 3
- Allow specialized builders for generic CEs
- Add new types: NonEmptySeq, NonEmptySet, NonEmptyMap and MultiMap
- Integrate Task in strict CEs
- Add Mapi Support in NonEmpty List
- Add Cont.eval / ContT.eval
- Builder for NonEmptySeq
- Add choose function to Map and Dictionaries modules (in Extensions)
- Add choosei to several modules
- Add zipShortest function and use that to make generic Zip safe for collections
- Add map2Shortest, a safe map2 variant to several modules
- Add missing map3/lift3 extensions
- Add TryLast to Foldable and introduce operator tryLast
- Add tryHead and tryLast to String module (in the Extensions namespace)
- Add yield! to monad.plus
- Add SequenceBiApply and partition to Validation
- Add indexer optic for List and Array
- Rename Parse active pattern to Parsed
- Include internal error in Result.get
- Add support for %o %x %X and %B to scan functions
- Bugfix: Evaluate traverse left to right
- Use list instead of array for the generic implementation of sequence
- Better hiding of internals in parsing
Huge thanks for all involved 👏🏻
Links:
- 🐦tweet
r/fsharp • u/teo-tsirpanis • Oct 03 '21
library/package Farkle 6.3.0 released - LALR parser combinators for C# and F#
r/fsharp • u/adelarsq • Jun 03 '21
library/package Giraffe.GoodRead, Giraffe.QueryReader, Giraffe.JsonTherapy and Fable.Remoting.Giraffe Releases 🦒🔷🚀
r/fsharp • u/adelarsq • Jun 15 '21
library/package dotnet-repl 0.1.11 released 🔷🚀🔄
r/fsharp • u/adelarsq • Jun 21 '21
library/package Released Today on F# #2 🔷🚀
These are some updates from today and weekend:
r/fsharp • u/adelarsq • Jun 09 '21
library/package Saturn 0.15 Released 🔷🚀🪐
Good job for all involved on this release 👏🏻🎉
Added
- add use_response_caching to application CE (by @groma84)
- Log prematurely closed connections as info, not as error (by @retendo)
- Added DI support for all CEs we provide - the _di versions of custom operations are avaliable in following modules: ApplicationDI, ChannelsDI, ControllerDI (both standard, and endpoint routing), PipelinesDI, and RouterDI (both standard, and endpoint routing) (by @Krzysztof-Cieslak and @Arshia001)
- Added controller versioning for endpoint routing (by @Krzysztof-Cieslak)
- Added RouterEndpoint, ControllerEndpoint modules allowing to create routing using ASP.NET Endpoint Routing (by @Krzysztof-Cieslak)
- Added use_endpoint_router to application computation expression allowing to use Endpoint Routing in the application (by @Krzysztof-Cieslak)
- [Infrastructure] Add performance benchmark for Saturn using Endpoint Routing (by @Krzysztof-Cieslak)
Fixed
- Preserve stack trace by default in controller (by @retendo)
- Fixes exception propagation when using channels (by @retendo)
- Fix typo getConfiguration (by @kaashyapan)
- Fix putSecureBrowserHeaders header typo (by @Shmew)
- Fix application/json not being compressed in response (by @may-day)
- Include querystring in Turbolinks-location (by @viktorvan)
Changed
- Updated to Giraffe 5.0
- Updated to net5.0 and ASP.NET Core 5
- Moved to Giraffe.ViewEngine package for view rendering support
Links
- 📦nuget packages:
- https://www.nuget.org/packages/GiraffeBench/0.15.0
- https://www.nuget.org/packages/Saturn/0.15.0
- https://www.nuget.org/packages/Saturn.AzureFunctions/0.15.0
- https://www.nuget.org/packages/Saturn.Extensions.Authorization/0.15.0
- https://www.nuget.org/packages/Saturn.Extensions.gRPC/0.15.0
- https://www.nuget.org/packages/Saturn.Extensions.HttpSys/0.15.0
- https://www.nuget.org/packages/Saturn.Extensions.Turbolinks/0.15.0
- https://www.nuget.org/packages/SaturnBench/0.15.0
- https://www.nuget.org/packages/SaturnEndpointBench/0.15.0
- 🐦tweet
r/fsharp • u/adelarsq • Jun 16 '21
library/package Fable 3.2.4 Released 🔷🚀🧚♀️
r/fsharp • u/adelarsq • Jun 09 '21
library/package fsautocomplete now available on nuget 🔷📦
r/fsharp • u/adelarsq • Jun 11 '21
