F# Programming Language | Reddit
0 FOLLOWERS
A subreddit for F# programming language. F# is a multi-paradigm programming language created by Microsoft Research .
F# Programming Language | Reddit
2d ago
I'm creating a translator to convert python code to fsharp for a school project. But I have no I dea how to begin this. I need help. What do I do.
submitted by /u/index_456
[visit reddit] [comments ..read more
F# Programming Language | Reddit
1w ago
A fun little game I wrote in F# that compiles to JavaScript via Fable and runs in your browser.
Play the game here: https://brianberns.github.io/Tactix/
Source code is here: https://github.com/brianberns/Tactix
Runs best on a desktop, but I've tried to support mobile as well. Let me know what you think!
submitted by /u/brianberns
[visit reddit] [comments ..read more
F# Programming Language | Reddit
1w ago
Hello,
I'm sorry for advertising, but we have just released a new book that I wanted to share with the community. Please remove the post if you don't find value in it.
F# in Action is based on author and Microsoft F# MVP Isaac Abraham’s years of experience working with developers as an F# consultant. By reading this book, you'll learn practical F# development skills that enable you to explore #dotNET libraries and packages more efficiently. You'll also improve your .NET skills for data analysis and exploration by using scripts. Additionally, F#'s "light touch" approach to functional programmi ..read more
F# Programming Language | Reddit
1w ago
CQRS session recap:
? Why embrace Command Query Separation (CQS)?
It's simple: segregating the effectful sections of your code from the query areas minimizes the exposure of invariants. This sharp strategy cuts down on critical bugs—keeping your code clean and robust!
♦️ What's the buzz about Command Query Responsibility Segregation (CQRS)?
CQRS takes the CQS concept further by dividing the model into distinct read and write segments. This separation allows each part to develop independently, further reducing invariant exposure and shielding your core model from frequent tweaks. It's like giv ..read more
F# Programming Language | Reddit
1w ago
Hello
Thanks in advance for any and all help.
let add n1 n2 = n1 + n2
Underneath the hood, how does F# implement the currying of the 2 parameters? I don't think it is similiar to an S expression. My guess is that it is some structure/object on the heap that is akin to a delegate,etc and knows how to invoke the + operation once all parameters are applied.
Peace
submitted by /u/fhunters
[visit reddit] [comments ..read more
F# Programming Language | Reddit
1w ago
Hey, im just curious if anyone has any idea what would keep the FluentAutoComplete blazor component from firing the search function when you type into it?
I've got no build errors, I'm doing server side rendering, I'm assigning a type to it properly, populating the Items, doing everything I can think of, but it doesn't call my function I passed it, nor does it call a lambda given right to it.. It's like it doesn't know it's supposed to search on the text change.
Any ideas?
submitted by /u/willehrendreich
[visit reddit] [comments ..read more
F# Programming Language | Reddit
2w ago
I need a couple eyes on my code - I'am trying to create a wrapper for minimal apis.
Here is a test calling the web services
[<Theory>] [<InlineData("/", "Hello World!")>] [<InlineData("/John", "Hello John!")>] [<InlineData("/alt/John", "Hello John!")>] [<InlineData("/Mary/Pets", "Hello Mary! Pets")>] let ``My test`` ((path:string), expected) = let client = factory.CreateClient() let response = client.GetAsync(path).Result let content = response.Content.ReadAsStringAsync().Result |> JsonSerializer.Deserialize<string> Assert.Equal(expected, content)
The ..read more
F# Programming Language | Reddit
2w ago
Time Discovers Truth: The Red Pill of CQRS, Fri, Apr 12, 2024, 7:00 PM | Meetup
https://preview.redd.it/18fmualo32tc1.jpg?width=1024&format=pjpg&auto=webp&s=d0daed0cde24603f92cb700699be7ce235e38e70
Agenda:
CQS, CQRS and Event Sourcing
A walkthrough of a demo app with full cycle
Sagas
Motivation and Challenges
submitted by /u/ReverseBlade
[visit reddit] [comments ..read more
F# Programming Language | Reddit
2w ago
submitted by /u/Swimming-Ad-9848
[visit reddit] [comments ..read more
F# Programming Language | Reddit
2w ago
I have just been discovering F# and learning functional code. I am use to C# for Microsoft programming and I use Visual Studios. But I really love how streamlined F# is.
So, I use VSCode for python and I love how lightweight it is. I am curious, could I program F# in VSCode and how practical is it? I would love to be able to open up VSCode, and put it on the side of the monitor so I could write snippets or so.
I also would like to know how to get F# to work in VSCode, probably a few extensions to install, what are the main ones??
Any help on this is appreciated.Thanks!
EDIT:
Wow, thanks for ..read more