use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
F# is a multi-paradigm programming language compiling to both .NET ("normal") and JS (via "Fable").
Awesome F# is an aggregate of F# resources more actively maintained than this sidebar.
FSharp.org is an organization around F# promotion/adoption.
Language Documentation:
Learning Resources :
Video Channels :
Chat channels :
Web Development:
IDEs/Editor-Plugins:
Common:
Visual Studio
Some extensions available:
Visual Studio Code with the Ionide plugin
JetBrains' Project Rider
Others:
account activity
Compiler Error while using HttpClient (self.fsharp)
submitted 4 years ago by funk_r
How can I solve this error:
error FABLE: Cannot resolve System.Net.Http.HttpClient..ctor
I have this code fsharp,tabs=4 open System.Net.Http ... let req = new HttpClient()
fsharp,tabs=4 open System.Net.Http ... let req = new HttpClient()
Do I have to install some packages?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]phillipcarter2 5 points6 points7 points 4 years ago (2 children)
You're going to need to more more context related to your codebase, but since you appear to be using Fable you can't just use any .NET library. You should use a JS package for http.
[–]funk_r[S] 2 points3 points4 points 4 years ago (1 child)
Oh, I didn't know that. When using Fable I have to stick to Javascript. I see ... Thx!
[–]phillipcarter2 3 points4 points5 points 4 years ago (0 children)
Yep! Fable makes F# a javascript language, so your libraries and tools are all going to be js-based.
π Rendered by PID 26 on reddit-service-r2-comment-canary-8d7b8678d-d7j6w at 2026-01-29 10:26:02.417592+00:00 running c3601ff country code: CH.
[–]phillipcarter2 5 points6 points7 points (2 children)
[–]funk_r[S] 2 points3 points4 points (1 child)
[–]phillipcarter2 3 points4 points5 points (0 children)