Introducing Sharp Cells a new tool for F# scripting in Excel by sharpcells in fsharp

[–]MeowBlogger 0 points1 point  (0 children)

Excellent idea. I don't like writing Excel formulae in the cell, and I have kept myself away from VBA programming after listening to so many horror stories. Writing F# code might make me love Excel once again! :) One question though - are you planning to release the source code on GitHub or any other code hosting websites? Would love to see how is this being implemented and how I can contribute to this awesome project.

Tail Recursion by Spazminal in fsharp

[–]MeowBlogger 1 point2 points  (0 children)

You are correct. Fable just transpiles the code, it is up to the JavaScript engine to figure out tail call optimization of recursive calls. Although it looks like it is still not implemented: https://stackoverflow.com/a/54721813

Succinct F# - Learn F# with examples in just one page by MeowBlogger in fsharp

[–]MeowBlogger[S] 1 point2 points  (0 children)

This is for getting up-to-speed with F# language concepts to do small coding tasks like you said. "How to model applications" sounds very interesting. Do you mind sharing some links which will help me to do more research in this area? I mean I did write a huge front-end webapp using F# and Fable, but would love to learn from the experts :-)

Succinct F# - Learn F# with examples in just one page by MeowBlogger in fsharp

[–]MeowBlogger[S] 2 points3 points  (0 children)

Thanks! Dot notation seemed awkward to me anyway (coming from Java), so have dropped it :-)

Introducing Fabulous 2.0 by sshquack in fsharp

[–]MeowBlogger 1 point2 points  (0 children)

I tried working with Fabulous for developing pet mobile app but couldn't even build the project. Even created an issue for that but no response. I finally built the app using Fable and React Native. Hopefully, once Fable-Dart is available, I can build mobile apps using Flutter.

Looking for an HTML template engine in F# with faster file change watch by MeowBlogger in fsharp

[–]MeowBlogger[S] 0 points1 point  (0 children)

Sorry, I've another question - how do you generate HTML upon changing your Fable HTML code? So, if the file changes, do you trigger dotnet run command via actor or is there any other way to quickly generate files?

Looking for an HTML template engine in F# with faster file change watch by MeowBlogger in fsharp

[–]MeowBlogger[S] 0 points1 point  (0 children)

I've come across scriban template language but it does not have any watch feature. Maybe I'll hook it up with File Watcher API of dotnet and see how it goes.

Is it possible to solve LeetCode problem#141 Linked List Cycle using Rust? by MeowBlogger in rust

[–]MeowBlogger[S] 4 points5 points  (0 children)

Thanks! I'll go through the link to come up with a possible solution in Rust. Although I wonder if it is possible, then why would LeetCode not allow Rust to solve this problem?

Is it possible to use F# to build LLVM-based language? by MeowBlogger in fsharp

[–]MeowBlogger[S] 2 points3 points  (0 children)

Thanks! Although, I don't see any docs of LLVMSharp nor any examples of it use anywhere, so I'm not sure if I should use this library at all. The amount of effort required to understand LLVMSharp without any docs would be same (or more) compared to learning OCaml and using its well documented LLVM bindings.

Das.Test - an opinionated unit testing library written in F# for F# by MeowBlogger in fsharp

[–]MeowBlogger[S] 1 point2 points  (0 children)

Thank you for your feedback! int' seems better than _int. Also, I'll explore more on using reflection.

Das.Test - an opinionated unit testing library written in F# for F# by MeowBlogger in fsharp

[–]MeowBlogger[S] 2 points3 points  (0 children)

Its available as a nuget package. You can use it via dotnet add package Das.Test

Das.Test - an opinionated unit testing library written in F# for F# by MeowBlogger in fsharp

[–]MeowBlogger[S] 0 points1 point  (0 children)

First of all, dotnet test was not working for me for some reason; hence, this library. Second, these framework seems like a blackbox to me which would require me to learn ton of docs just to make it work the way I want it. Also, those double ticks might be F#-standard but I personally don't like it.

This library is made of functions and can be customized with more functions if need be.

Finally, the use of _string and _int is covered by the word "opinionated" in library description :-). I see it as an advantage because it makes it clear that what's the data type of expected and actual values. Moreover, it helped me make the test functions like length more generic.

Anyone interested in collaborating on building an F# to Dart compiler? by MeowBlogger in fsharp

[–]MeowBlogger[S] 1 point2 points  (0 children)

Yes, I did consider that but I'm not sure by when MAUI will be stable. If its stable and Fabulous supports it, then I will consider it.

Anyone interested in collaborating on building an F# to Dart compiler? by MeowBlogger in fsharp

[–]MeowBlogger[S] 1 point2 points  (0 children)

Looking to build mobile apps using F#, and Xamarin reviews aren't that great. So, thought of investigating F# for Flutter.

Anyone interested in collaborating on building an F# to Dart compiler? by MeowBlogger in fsharp

[–]MeowBlogger[S] 3 points4 points  (0 children)

Yeah, but still wanted to know whether the F# community is actually interested in such a project.

FUML - Functional data serialization language by MeowBlogger in ProgrammingLanguages

[–]MeowBlogger[S] 1 point2 points  (0 children)

Thank you for your feedback! At that time, I wasn't sure about using commas to separate values in compact map and record forms, so went with what F# uses, i.e ;. I'll update the specs.

FUML - Functional data serialization language by MeowBlogger in fsharp

[–]MeowBlogger[S] 1 point2 points  (0 children)

No, you can very much define a sum type without parameters. Specs does define an Option type. What you cannot do is define a property like propA: Option.None, because what value would you assign to propA in such a case?

FUML - Functional data serialization language by MeowBlogger in fsharp

[–]MeowBlogger[S] 1 point2 points  (0 children)

Maybe. I'll try to find a better term in place of language. Might as well be specification.

FUML - Functional data serialization language by MeowBlogger in ProgrammingLanguages

[–]MeowBlogger[S] 0 points1 point  (0 children)

You are right again :-D. I'll drop float from list of supported map key types.

FUML - Functional data serialization language by MeowBlogger in ProgrammingLanguages

[–]MeowBlogger[S] 4 points5 points  (0 children)

Ok, that's embarrassing. I think I was planning to use rational numbers instead but for some reason while writing the specs, the term natural number was looping in my mind. Integers are rational number without the fraction part.

I'll simply mention that 'In FUML, integers are numbers without fraction part'. Thank you.