Wow, there is at least 120 F# active devs 😄!
Wow, there is at least 120 F# active devs 😄!
Sharing the github repo link to the refreshed #fsharp Photino Feliz #react sample project with #shadcn #vite!
It comes with a File Explorer toy project!
github.com/OkayX6/deskt...
#dotnet #tauri
Reviving the #fsharp Photino Feliz #react sample project with Feliz.Shadcn / Vite
Here's a sample File Explorer toy project =)
#dotnet
Did you try with Cursor/Claude and see if it hallucinates less?
I had the same thoughts as you recently about #fsharp and happy so read another one voicing it out 👌😊
Thinking that LLM are so good now with F# that it might save/propel F#, as decision makers wouldn’t be scared of lack of content/exposure/training anymore.
Amazing 🤩
Would be nice to have it made equivalent of #npm npx http-server for #dotnet #fsharp
Have you ever tried asking #cursor, for example, to generate an easy #fable binding? Just curious
What would make you choose one over the other? I know very little about those toolings 😅
It’s true I can ask Feliz even if it doesn’t look maintained anymore
I took the out of the box Feliz template which was already using vite!
Follow up: is that I managed to make it work by hosting the tests in the browser using the SAFE Stack recipe
But that is a workaround I feel, I'd still like to have them in the CMD line. I posted a slack message in the #fsharp discord: discord.com/channels/196...
Hi #fsharp community
Any1 has a working Test project with a Fable/Feliz Vite setting?
Mine doesn't work.
When doing `dotnet test`, everything compiles, the test are discovered & run fine, except that the tested Function from the main App doesn't execute anything and returns the same input 😵💫??
Hey @jkone27.bsky.social
I realized that the #fsharp "dotnet feliz" template didn't have HMR working anymore, I had to press F5!
So then I just tried your template, very nice, other than the mention of Advent of Code 😅. HMR worked out of the box.
Would be amazing to have it as a dotnet template!
Since it became possible to do this, and when using #fsharp and #Fable or doing webdev/json, I almost exclusively write anonymous type definitions for complex fields 😍
This makes it as fluid as #typescript
I started with `dotnet new feliz` which comes with vite already
Then installing tailwind as per the official docs, I could not start or build the project.
Turned out I need to make package.json compatible with vite by adding type: “module” !
Im sorry I still didn’t take the time to properly respond, but I was basically thinking about this blog post paragraph with DaisyUI: www.compositional-it.com/news-blog/ge...
You know, by reading your website you inadvertently you made my project work! I realized that I just needed to add type: “module” to my package.json to make tailwind and vite happy 😆
Apart from the SAFE stack, do we have a minimalist F# Fable/React + Vite + Feliz that also has #tailwindcss setup premade without issue? cc @jkone27.bsky.social
All the blog posts from @compositional-it.com seem to mention friction with the tailwind + vite thing?
#dotnet #fsharp #react
I have the feeling that the type hints have been here for a while?
Ah sorry the bug is in the Javascript syntax
There are a few F# highlighting issues with function arguments especially - they’re so dark gray we barely can read them - cannot find Isaac ‘s tag?
Another way to do your clever impl mentioned at the end of your article is Seq.init count (fun i-> startDate.AddDays(i)) too :)
I’m curious why, in your #fsharp example, you didn’t use List module functions instead of Seq? There is a 1-1 mapping almost with the #ocaml std lib here?
If there's anything that surprisingly works more easily better in #fsharp than #react #typescript #python tooling, it is getting the autosave formatting working for a new project the 1st time!
Thks @nojaf.com for the work on Fantomas 🙂
what a long way since Visual F# PowerTools with AnhDung Phan!
github.com/dotnet/aspne... , please vote, if you are interested in support of #fsharp option type in OpenApi schema generator.
Going 15 Percent Faster with Graph-Based Type-checking (part one): www.gresearch.com/news/going-1...
#fsharp
Over the years I've become a fan of DB-first database design, lightweight ORMs, and domain driven design. These can all come together quite nicely in F#. I wrote about this in my post for F# Advent Calendar.
@sergeytihon.com
#fsharp #fsharpAdvent
blog.bencope.land/fsharp-du-wt...
It took me a while to move over from #csharp, but one of my main reasons for liking #fsharp so much is that I don't have to think as hard. You don't have to be an academic, it is a great language for idiots like me to get shit done.
My F# Advent Calendar post about a real-world SaaS product that has been in production for 5 years and whether we would choose F# today: ijrussell.github.io/posts/five-y...
#fsharp #FsAdvent #dotnet
(thanks @sergeytihon.com for organising)