VisualFSharp
language-ext
Our great sponsors
VisualFSharp | language-ext | |
---|---|---|
47 | 16 | |
3,107 | 4,239 | |
1.2% | - | |
9.7 | 9.1 | |
5 days ago | 13 days ago | |
F# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
VisualFSharp
-
Help with trying to get a .NetFramework project running in VS2022
Have you tried the workaround listed here? https://github.com/dotnet/fsharp/issues/12239
-
How to install Homebrew package manager on Steam Deck to compile software and install command-line programs without disabling the read-only partition (allowing the installation to persist on SteamOS updates)
([email protected] bin)$ brew install --build-from-source mono ==> Downloading https://github.com/mono/mono/commit/3070886a1c5e3e3026d1077e36e67bd5310e0faa.patch?full_index=1 Already downloaded: /home/deck/.cache/Homebrew/downloads/77885651b42fb3b50e405e300ab4dce5d65e10eac8ee6b8d956b5240b58adcb3--3070886a1c5e3e3026d1077e36e67bd5310e0faa.patch ==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff Already downloaded: /home/deck/.cache/Homebrew/downloads/195208ba31cadc265ea97bb8aad4e78caab1200daf4d855e6c839b5f987f92db--configure-big_sur.diff ==> Downloading https://raw.githubusercontent.com/mono/mono/a22ed3f094e18f1f82e1c6cead28d872d3c57e40/packaging/MacSDK/patches/fsharp-portable-pdb.patch Already downloaded: /home/deck/.cache/Homebrew/downloads/81c9245ab2b5c07a5bc87a8792e374b22a652c14be27b73aa21c1948f1273464--fsharp-portable-pdb.patch ==> Downloading https://raw.githubusercontent.com/mono/mono/a22ed3f094e18f1f82e1c6cead28d872d3c57e40/packaging/MacSDK/patches/fsharp-netfx-multitarget.patch Already downloaded: /home/deck/.cache/Homebrew/downloads/13d3ba5313c9e2b60ebfa4c40d5039269485e75aa41fcf301cc55458382fcb29--fsharp-netfx-multitarget.patch ==> Downloading https://github.com/dotnet/fsharp/commit/be6b22d11ae996b2d9b8e0724d9cf05ad65a0485.patch?full_index=1 Already downloaded: /home/deck/.cache/Homebrew/downloads/c3d6a94f53c828d6ad7b5a563682a6de3d388644f3a33f1ea55ec28fa461e24b--be6b22d11ae996b2d9b8e0724d9cf05ad65a0485.patch ==> Cloning https://github.com/dotnet/fsharp.git Updating /home/deck/.cache/Homebrew/mono--fsharp--git ==> Checking out tag v11.0.0-beta.20471.5 HEAD is now at 03283e07f Merge pull request #10172 from dotnet/merges/main-to-release/dev16.8 HEAD is now at 03283e07f Merge pull request #10172 from dotnet/merges/main-to-release/dev16.8 ==> Downloading https://raw.githubusercontent.com/mono/mono/3070886a1c5e3e3026d1077e36e67bd5310e0faa/packaging/MacSDK/fsharp-layout.sh Already downloaded: /home/deck/.cache/Homebrew/downloads/85ab59b70661632962989d0527aa31b2a720c49968d45f368ff0a1fa190159b0--fsharp-layout.sh ==> Cloning https://github.com/mono/msbuild.git Updating /home/deck/.cache/Homebrew/mono--msbuild--git origin/HEAD set to xplat-master refs/remotes/origin/xplat-master ==> Checking out revision 70bf6710473a2b6ffe363ea588f7b3ab87682a8d HEAD is now at 70bf67104 prevent exception for increasing priority (#5547) HEAD is now at 70bf67104 prevent exception for increasing priority (#5547) ==> Downloading https://download.mono-project.com/sources/mono/mono-6.12.0.122.tar.xz Already downloaded: /home/deck/.cache/Homebrew/downloads/6092400166df5dee225b09670c68fa3aa400319e8871facaff0106aa143419fb--mono-6.12.0.122.tar.xz ==> Patching ==> Applying 3070886a1c5e3e3026d1077e36e67bd5310e0faa.patch patching file packaging/MacSDK/fsharp-layout.sh ==> Applying configure-big_sur.diff patching file configure Hunk #1 succeeded at 10928 (offset 2195 lines). ==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/mono/6.12.0.122_1 --enable-nls=no Last 15 lines from /home/deck/.cache/Homebrew/Logs/mono/01.configure: checking whether we are using the GNU C++ compiler... yes checking whether g++-11 accepts -g... yes checking dependency style of g++-11... gcc3 checking for a Python interpreter with version >= 3.2... python checking for python... /usr/bin/python checking for python version... 3.1 checking for python platform... linux checking for python script directory... ${prefix}/lib/python3.10/site-packages checking for python extension module directory... ${exec_prefix}/lib/python3.10/site-packages checking dependency style of gcc-11... gcc3 checking for gawk... (cached) gawk checking how to run the C preprocessor... /lib/cpp configure: error: in `/tmp/mono-20220328-41596-77f8ae/mono-6.12.0.122': configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details READ THIS: https://docs.brew.sh/Troubleshooting
-
How does F# (and SML?) handle end-of-line inference?
It will be in here somewhere but you’d need to dig: https://github.com/dotnet/fsharp/
-
Hot-reload in Fun.Blazor
I know csharp got hot-reload for blazor for a while, I also keep tracking on the fsharp issue and hope there is some miracle which can happen. But there is no progress here. So I decide to have a look for what I can do. To make dotnet watch work directly is too hard to me which required a lot of knowledge about FSharp.Compiler.Service and the IL format which csharp roslyn is using for patch the program for hot-reload.
-
F# Weekly #8, 2022 – 20 years of #dotnet, .NET 7 Preview 1
Better F# exception message formatting by default (same as if you override it and use %A) https://github.com/dotnet/fsharp/pull/12736
-
F# 7 hopes and wishes
] toggle in F# https://github.com/fsharp/fslang-suggestions/issues/919#issuecomment-905013334 which can guarantee AOT/linker compatibility - Reference assembly output https://github.com/dotnet/fsharp/pull/12334
-
Data Access in Fsharp
If you get a message like "warning FS3511: This state machine is not statically compilable." don't worry it is being tracked in https://github.com/dotnet/fsharp/issues/12038
-
What I wish I knew when learning F#
You can simply contribute to https://github.com/dotnet/fsharp/, the maintainers are very friendly to new contributors in my experience (though the codebase is old and often quite hard to understand).
-
FSharp.Core 6.0 released
It looks like FSharp.Core 6.0 has been released on Nuget. However, I haven't seen an announcement and there's no mention of it in the current release notes. Is there any official information on this?
-
The Very First Post
The F# Programming Language: I consider F# as the functional-oriented sibling of C#. This language offers a nice introduction to statically-typed functional programming. It offers a really nice ML-like syntax, as well as some features like type providers (a way to define a schema for data such as a database table, JSON file, etc.).
language-ext
- Ce ar trebui sa stie un mid .Net developer?
-
Looking for internships
We have some jobs open (the link is for a senior role, but don't worry about that, we're also interested in talented juniors). The role is primarily C#, but a functional version of that (I'm the author of https://github.com/louthy/language-ext - so that should give you an idea of how seriously we take FP). We have a new project in the offing which is pure Haskell, and the desire is to move the company entirely to the Haskell ecosystem over the next few years. But, I wouldn't want to paint the role as a Haskell one, because that's likely to be a couple of years away for any new hires.
-
Things I hate about Rust, redux
Option and Result make a lot of sense if you come from a language or toolkit that already does this for you. Java's Optional, Scala's Option, C# LanguageExt, JS Monet, and others are good places to start. Searching Youtube or Google for "maybe monad" might also turn up something useful.
-
And the award for the most stupid C# programmer goes to..... Me.
Check out https://github.com/louthy/language-ext which has an extensive implementation of this
Check out this library https://github.com/louthy/language-ext
-
Best data structures and algorithms packages?
language-ext Is a set of 'Functional' BCL Helpers and data structures. In other words lots of immutable tries and the like.
-
I don't like regex, so I wrote this
There's a C# version as part of language-ext
-
Copilot regurgitating Quake code, including sweary comments
It would certainly alleviate the license concerns. If it was possible to train it to a level (that produces effective output), then sure.
As a thought experiment, I thought "what would happen if we trained it on our 15 million lines of product code + my language-ext project". It would almost certainly produce something that looks like 'us'.
But it would also:
* Trip over a million or so lines of generated code and maybe start parroting that
* 'See' some of the extreme optimisations I've had to built into language-ext to make it performant. Something like the internals of the CHAMP hash-map data-structure [1]. That code is hideously ugly, but it's done for a good reason. I wouldn't want to see optimised code parroted out upfront. Maybe it wouldn't pick up on it, because it hasn't got a consistent shape like the majority of the code? Who knows.
Still, I'd be more willing to allow my team to use it if I could train it myself.
[1] https://github.com/louthy/language-ext/blob/main/LanguageExt...
-
Functional Programming in C# 9 by Simon Painter @ Func Prog Sweden
If going the C# route I strongly recommend LanguageExt (Simo Painter talks about it a bit in the video). The wiki is great, and if you go on the GitHub issues there's a lot of good explanation of some other concepts. The Enrico Buonanno book (Functional Programming in C#) is great as well, although I haven't read the second edition yet.
- A Brief F# Exploration
What are some alternatives?
OneOf - Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching
MoreLINQ - Extensions to LINQ to Objects
Optional - A robust option type for C#
CSharpFunctionalExtensions - Functional extensions for C#
Curryfy - Provides strongly typed extensions methods for C# delegates to take advantages of functional programming techniques, like currying and partial application.
FunScript - F# to JavaScript compiler with JQuery etc. mappings through a TypeScript type provider
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
ocaml - The core OCaml system: compilers, runtime system, base libraries
F# - Please file issues or pull requests here: https://github.com/dotnet/fsharp
csharplang - The official repo for the design of the C# programming language
Quake-III-Arena - Quake III Arena GPL Source Release
lobster - The Lobster Programming Language