# Uncategorized

**URL:** https://forums.fsharp.org/c/uncategorized/1.md

[Latest](https://forums.fsharp.org/latest.md) · [Categories](https://forums.fsharp.org/categories.md) · [Tags](https://forums.fsharp.org/tags.md)

---

## [Welcome to the F# Software Foundation Community Forums](https://forums.fsharp.org/t/welcome-to-the-f-software-foundation-community-forums/8)

<div class="topic-metadata">

**Author:** [@system](https://forums.fsharp.org/u/system)\
**Replies:** 0\
**Last updated:** [April 25, 2018, 9:39pm UTC](https://forums.fsharp.org/t/welcome-to-the-f-software-foundation-community-forums/8 "2018-04-25T21:39:52Z")

</div>

These forums are a place to discuss F# related topics for the entire F# community. The forums are managed by the F# Software Foundation, and are under the Foundation’s Code of Conduct. Please keep all discussions friend…

---

## [Fsi show module signature](https://forums.fsharp.org/t/fsi-show-module-signature/5042)

<div class="topic-metadata">

**Author:** [@altbodhi](https://forums.fsharp.org/u/altbodhi)\
**Replies:** 0\
**Last updated:** [January 20, 2026, 1:33am UTC](https://forums.fsharp.org/t/fsi-show-module-signature/5042 "2026-01-20T01:33:06Z")

</div>

utop of ocaml has #show. It is command show module signature. I know what exists typeof who allow list all property. But it bad readable. How to easy get sign mod in repl?

---

## [Improper AttributeTargets enforcement](https://forums.fsharp.org/t/improper-attributetargets-enforcement/4565)

<div class="topic-metadata">

**Author:** [@qnc](https://forums.fsharp.org/u/qnc)\
**Replies:** 2\
**Last updated:** [May 29, 2025, 8:21am UTC](https://forums.fsharp.org/t/improper-attributetargets-enforcement/4565 "2025-05-29T08:21:51Z")

</div>

The F# 9 release introduced attribute targets enforcement on let binding, as illustrated by the following example from the blog: \[\<Fact\>\] let \`\`this test always fails\`\` = Assert.True(false) In this snippet, an attrib…

---

## [Full analog csharp interface declaration for fsharp missing](https://forums.fsharp.org/t/full-analog-csharp-interface-declaration-for-fsharp-missing/4293)

<div class="topic-metadata">

**Author:** [@altbodhi](https://forums.fsharp.org/u/altbodhi)\
**Replies:** 5\
**Last updated:** [March 7, 2025, 1:32am UTC](https://forums.fsharp.org/t/full-analog-csharp-interface-declaration-for-fsharp-missing/4293 "2025-03-07T01:32:28Z")

</div>

I wrote sometime fsharp code for me, but i feel wrong that type Inter = abstract DoIt: string -\> unit I do not have name for string. It make hard for mind reading code. It imposible? public interface Inter { void D…

---

## [गूगल पे गलत ट्रांजेक्शन मनी?gl](https://forums.fsharp.org/t/gl/4288)

<div class="topic-metadata">

**Author:** [@Hrfjji](https://forums.fsharp.org/u/Hrfjji)\
**Replies:** 1\
**Last updated:** [February 22, 2025, 2:08pm UTC](https://forums.fsharp.org/t/gl/4288 "2025-02-22T14:08:23Z")

</div>

गूगल पे से गलत अकाउंट में पैसे ट्रांसफर हो गए हैं, उन्हें वापस पाने के लिए क्या करे? गूगल पे के कस्टमर केयर Number (O955-686-4710✓) या पर कॉल करें.

---

## [F# backend developer position in Bregenz (AT)](https://forums.fsharp.org/t/f-backend-developer-position-in-bregenz-at/3651)

<div class="topic-metadata">

**Author:** [@htc](https://forums.fsharp.org/u/htc)\
**Replies:** 3\
**Last updated:** [December 12, 2024, 2:28pm UTC](https://forums.fsharp.org/t/f-backend-developer-position-in-bregenz-at/3651 "2024-12-12T14:28:53Z")

</div>

Hi everybody. We have an open F# backend developer position in Bregenz. See the german announcement in announcement. Some points for context (and which also do not fit into the official announcement format): Fluent Ger…

---

## [Is it a good idea that a union's deconstructor is publicized while the constructor remains private?](https://forums.fsharp.org/t/is-it-a-good-idea-that-a-unions-deconstructor-is-publicized-while-the-constructor-remains-private/3808)

<div class="topic-metadata">

**Author:** [@qnc](https://forums.fsharp.org/u/qnc)\
**Replies:** 1\
**Last updated:** [December 12, 2024, 2:28pm UTC](https://forums.fsharp.org/t/is-it-a-good-idea-that-a-unions-deconstructor-is-publicized-while-the-constructor-remains-private/3808 "2024-12-12T14:28:10Z")

</div>

Suppose I want to define a domain type NonEmptyString, a typical solution would look like this: type NonEmptyString = private NonEmptyString of string module NonEmptyString = let create = ... let value (NonEmpty…

---

## [Is there any difference between the dotnet command parameters](https://forums.fsharp.org/t/is-there-any-difference-between-the-dotnet-command-parameters/3858)

<div class="topic-metadata">

**Author:** [@Gail207Martinez](https://forums.fsharp.org/u/Gail207Martinez)\
**Replies:** 5\
**Last updated:** [October 28, 2024, 9:51am UTC](https://forums.fsharp.org/t/is-there-any-difference-between-the-dotnet-command-parameters/3858 "2024-10-28T09:51:06Z")

</div>

Is there any difference between the dotnet command parameters -o , --output and -n, --name Should one prefer one over the other for any reason those two commands seem to do the exact same thing dotnet new console -…

---

## [Numerical code, floating point divergence](https://forums.fsharp.org/t/numerical-code-floating-point-divergence/3720)

<div class="topic-metadata">

**Author:** [@patrick-nicodemus](https://forums.fsharp.org/u/patrick-nicodemus)\
**Replies:** 6\
**Last updated:** [August 29, 2024, 8:50am UTC](https://forums.fsharp.org/t/numerical-code-floating-point-divergence/3720 "2024-08-29T08:50:18Z")

</div>

Hi all; What is wrong with the following code? It prints “Infinity” when I run it in the interactive interpreter. let pi\_approx = let rec sum n accum = if n = 0 then accum else sum (n - 1) (accum + (1. / (float (n …

---

## [Type abbreviations and private fields](https://forums.fsharp.org/t/type-abbreviations-and-private-fields/3710)

<div class="topic-metadata">

**Author:** [@patrick-nicodemus](https://forums.fsharp.org/u/patrick-nicodemus)\
**Replies:** 8\
**Last updated:** [August 29, 2024, 8:49am UTC](https://forums.fsharp.org/t/type-abbreviations-and-private-fields/3710 "2024-08-29T08:49:38Z")

</div>

The behavior for type abbreviations and the private keyword is difficult to understand. module Pair = type private pair = int \* string let f x y : pair = (x, y) open Pair printf "%d" (fst (f 3 "Hello")) (\* Pr…

---

## [Is record type updating optimized?](https://forums.fsharp.org/t/is-record-type-updating-optimized/3567)

<div class="topic-metadata">

**Author:** [@altbodhi](https://forums.fsharp.org/u/altbodhi)\
**Replies:** 1\
**Last updated:** [March 6, 2024, 8:16pm UTC](https://forums.fsharp.org/t/is-record-type-updating-optimized/3567 "2024-03-06T20:16:20Z")

</div>

In clojure hashmap used Software transactional memory - Wikipedia. If I will be to use this code for update record this is will be equivalent? open Avalonia open Avalonia.Controls open Avalonia.Markup.Xaml open FSharp…

---

## [Can i write a fortran library and call it from F#](https://forums.fsharp.org/t/can-i-write-a-fortran-library-and-call-it-from-f/3550)

<div class="topic-metadata">

**Author:** [@devosalain](https://forums.fsharp.org/u/devosalain)\
**Replies:** 3\
**Last updated:** [March 1, 2024, 4:45pm UTC](https://forums.fsharp.org/t/can-i-write-a-fortran-library-and-call-it-from-f/3550 "2024-03-01T16:45:50Z")

</div>

Can i write a fortran library and call it from F# ?

---

## [Of syntax and ml](https://forums.fsharp.org/t/of-syntax-and-ml/3544)

<div class="topic-metadata">

**Author:** [@systems](https://forums.fsharp.org/u/systems)\
**Replies:** 1\
**Last updated:** [February 21, 2024, 9:52am UTC](https://forums.fsharp.org/t/of-syntax-and-ml/3544 "2024-02-21T09:52:20Z")

</div>

Out of curiosity why the syntax for Discriminating Unions in ML languages uses the Of Syntax type Shape = | Rectangle of width : float \* length : float | Circle of radius : float | Prism of width : float \* …

---

## [Looking for: Senior Backend Developer Wiesbaden Area!](https://forums.fsharp.org/t/looking-for-senior-backend-developer-wiesbaden-area/3508)

<div class="topic-metadata">

**Author:** [@LHH\_Frankfurt](https://forums.fsharp.org/u/LHH_Frankfurt)\
**Replies:** 1\
**Last updated:** [January 15, 2024, 6:18pm UTC](https://forums.fsharp.org/t/looking-for-senior-backend-developer-wiesbaden-area/3508 "2024-01-15T18:18:49Z")

</div>

Hi, there! We are currently looking for a German speaking Senior Backend Developer, ideally someone who can programm in F#. The position not only offers exciting challenges and the opportunity to take ownership of exis…

---

## [FSI Current Directory](https://forums.fsharp.org/t/fsi-current-directory/3470)

<div class="topic-metadata">

**Author:** [@altbodhi](https://forums.fsharp.org/u/altbodhi)\
**Replies:** 1\
**Last updated:** [December 13, 2023, 6:50am UTC](https://forums.fsharp.org/t/fsi-current-directory/3470 "2023-12-13T06:50:02Z")

</div>

Many library such as BenchmarkDotNet attempting to write to disk, but is always set any system folder as current directory. And i get System.UnauthorizedAccessException. In case with benchmark it is Application Data. I…

---

## [Does \`paket\` update the project file (\`.fsproj\`) once a package has been installed?](https://forums.fsharp.org/t/does-paket-update-the-project-file-fsproj-once-a-package-has-been-installed/3406)

<div class="topic-metadata">

**Author:** [@toraritte](https://forums.fsharp.org/u/toraritte)\
**Replies:** 0\
**Last updated:** [November 12, 2023, 3:39am UTC](https://forums.fsharp.org/t/does-paket-update-the-project-file-fsproj-once-a-package-has-been-installed/3406 "2023-11-12T03:39:59Z")

</div>

Just getting into F#, finally figured out how to add .NET packages to projects, but the way I managed to get it to work doesn’t make sense. Once the package is installed (either with nuget or paket), I have to manually a…

---

## [Syntax missed opporunities, or else?](https://forums.fsharp.org/t/syntax-missed-opporunities-or-else/3099)

<div class="topic-metadata">

**Author:** [@systems](https://forums.fsharp.org/u/systems)\
**Replies:** 1\
**Last updated:** [May 15, 2023, 3:40pm UTC](https://forums.fsharp.org/t/syntax-missed-opporunities-or-else/3099 "2023-05-15T15:40:49Z")

</div>

Hi when binding a value with explicit type we use let x:float = 1 so this to me says, x returns a float but when binding a function we use let add (x:float) (y:float) :float = x + y when I honestly first guessed the…

---

## [Mocking of type/class with static method in fsharp](https://forums.fsharp.org/t/mocking-of-type-class-with-static-method-in-fsharp/3094)

<div class="topic-metadata">

**Author:** [@Aman](https://forums.fsharp.org/u/Aman)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 9:29pm UTC](https://forums.fsharp.org/t/mocking-of-type-class-with-static-method-in-fsharp/3094 "2023-05-08T21:29:08Z")

</div>

We are trying to mock type/class with static method , but unable to do it in fSharp, Is there any way to mock it? we are getting "\* Type to mock ( TestRepository) must be an interface, a delegate, or a non-sealed, non…

---

## [Job offer to develop a medical application](https://forums.fsharp.org/t/job-offer-to-develop-a-medical-application/2993)

<div class="topic-metadata">

**Author:** [@Carlos](https://forums.fsharp.org/u/Carlos)\
**Replies:** 0\
**Last updated:** [March 23, 2023, 11:35am UTC](https://forums.fsharp.org/t/job-offer-to-develop-a-medical-application/2993 "2023-03-23T11:35:55Z")

</div>

Hi all, I know that this is probably not the best forum for this kind of topics, but I wanted to reach out and see if anything could be of interest. We’re a medical company that delivers teleradiology services and we’r…

---

## [What are these unicode symbols in the Language spec?](https://forums.fsharp.org/t/what-are-these-unicode-symbols-in-the-language-spec/2443)

<div class="topic-metadata">

**Author:** [@same](https://forums.fsharp.org/u/same)\
**Replies:** 2\
**Last updated:** [November 3, 2022, 7:09pm UTC](https://forums.fsharp.org/t/what-are-these-unicode-symbols-in-the-language-spec/2443 "2022-11-03T19:09:07Z")

</div>

I’m reading the language spec here and in section “3.4 Identifiers and Keywords” (page 24) I see unicode characters like ‘\\Lu’, ‘\\Nl’, ‘\\Mn’, etc. It says I can “see the C# specification for a list of the Unicode chara…

---

## [Foundation, Microsoft, Donation](https://forums.fsharp.org/t/foundation-microsoft-donation/380)

<div class="topic-metadata">

**Author:** [@systems](https://forums.fsharp.org/u/systems)\
**Replies:** 2\
**Last updated:** [September 15, 2022, 11:13am UTC](https://forums.fsharp.org/t/foundation-microsoft-donation/380 "2022-09-15T11:13:12Z")

</div>

Hi, I just noticed today that the Fsharp foundation accepts donations For me, this raises few questions F#, although open source, is still a product owned or at least supported and actively developed by Microsoft a mu…

---

## [How to open modules in F# Interactive?](https://forums.fsharp.org/t/how-to-open-modules-in-f-interactive/822)

<div class="topic-metadata">

**Author:** [@egp](https://forums.fsharp.org/u/egp)\
**Replies:** 6\
**Last updated:** [September 9, 2022, 12:33pm UTC](https://forums.fsharp.org/t/how-to-open-modules-in-f-interactive/822 "2022-09-09T12:33:24Z")

</div>

Been learning F# for a while, I do like it. In Visual Studio 2017, for some reason on some .fs files I can open a module and it will work just fine in the editor. When I try to run scripts in F# interactive that rely o…

---

## [May have mistakenly created a second login](https://forums.fsharp.org/t/may-have-mistakenly-created-a-second-login/2313)

<div class="topic-metadata">

**Author:** [@GarryP](https://forums.fsharp.org/u/GarryP)\
**Replies:** 0\
**Last updated:** [August 1, 2022, 1:09pm UTC](https://forums.fsharp.org/t/may-have-mistakenly-created-a-second-login/2313 "2022-08-01T13:09:36Z")

</div>

Apologies if I have posted this in the wrong place (I didn’t know where else to post/send it). A few days ago I tried to join the Foundation but I think I might have simply created a new login by mistake. I thought I w…

---

## [Getting Variable to Printf Outside of Closed Functions](https://forums.fsharp.org/t/getting-variable-to-printf-outside-of-closed-functions/2306)

<div class="topic-metadata">

**Author:** [@Americore](https://forums.fsharp.org/u/Americore)\
**Replies:** 6\
**Last updated:** [July 22, 2022, 7:52pm UTC](https://forums.fsharp.org/t/getting-variable-to-printf-outside-of-closed-functions/2306 "2022-07-22T19:52:23Z")

</div>

What needs to happen for this regular expression and Seq combinations to IO: let str = File.ReadAllText “input.csv” let str = Regex.Matches(str, “.+”) str |\> Seq.cast |\> Seq.iter (fun i → printf “%s” i)

---

## [Is it acceptable to use mutable values to avoid passing values through many ‘levels’ of code?](https://forums.fsharp.org/t/is-it-acceptable-to-use-mutable-values-to-avoid-passing-values-through-many-levels-of-code/2245)

<div class="topic-metadata">

**Author:** [@GarryP](https://forums.fsharp.org/u/GarryP)\
**Replies:** 2\
**Last updated:** [May 24, 2022, 8:25am UTC](https://forums.fsharp.org/t/is-it-acceptable-to-use-mutable-values-to-avoid-passing-values-through-many-levels-of-code/2245 "2022-05-24T08:25:34Z")

</div>

I have a number of values - for example, maximum number of decimal places that numbers should be printed with, etc. - which are defined by the user in the UI but are only used by the code at the ‘deepest’ level of the co…

---

## [FSI: error FS0193: internal error: Could not load type '\<X\>' from assembly](https://forums.fsharp.org/t/fsi-error-fs0193-internal-error-could-not-load-type-x-from-assembly/2235)

<div class="topic-metadata">

**Author:** [@GarryP](https://forums.fsharp.org/u/GarryP)\
**Replies:** 4\
**Last updated:** [May 7, 2022, 7:30am UTC](https://forums.fsharp.org/t/fsi-error-fs0193-internal-error-could-not-load-type-x-from-assembly/2235 "2022-05-07T07:30:38Z")

</div>

I have this code: let maximumResidual = 50.0m let calculateResidual balance = if balance \< maximumResidual then balance else maximumResidual type BasicAccountDetails = { Balance: decimal } type JointAccount = …

---

## [How do I convert this code from using two separate types into code which uses a DU?](https://forums.fsharp.org/t/how-do-i-convert-this-code-from-using-two-separate-types-into-code-which-uses-a-du/2234)

<div class="topic-metadata">

**Author:** [@GarryP](https://forums.fsharp.org/u/GarryP)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 12:14pm UTC](https://forums.fsharp.org/t/how-do-i-convert-this-code-from-using-two-separate-types-into-code-which-uses-a-du/2234 "2022-05-04T12:14:16Z")

</div>

I started off with the code below, with which I can create two types of very simplistic bank accounts: PersonalAccount and JointAccount. PersonalAccounts are for one person, JointAccounts are for two people to share. W…

---

## [Is this an acceptable method of temporarily replacing functions with new versions?](https://forums.fsharp.org/t/is-this-an-acceptable-method-of-temporarily-replacing-functions-with-new-versions/2229)

<div class="topic-metadata">

**Author:** [@GarryP](https://forums.fsharp.org/u/GarryP)\
**Replies:** 2\
**Last updated:** [April 29, 2022, 8:15am UTC](https://forums.fsharp.org/t/is-this-an-acceptable-method-of-temporarily-replacing-functions-with-new-versions/2229 "2022-04-29T08:15:10Z")

</div>

In the script below I have created a module LoggedCalculations which ‘hides’ the functions in the module Calculations and provides new functions with the same names. module Logging = open System let logEntry rem…

---

## [Is there something like Scalas \_ placeholder in F# lambdas?](https://forums.fsharp.org/t/is-there-something-like-scalas-placeholder-in-f-lambdas/2193)

<div class="topic-metadata">

**Author:** [@flx](https://forums.fsharp.org/u/flx)\
**Replies:** 3\
**Last updated:** [March 10, 2022, 3:05pm UTC](https://forums.fsharp.org/t/is-there-something-like-scalas-placeholder-in-f-lambdas/2193 "2022-03-10T15:05:15Z")

</div>

I am new to F# and relatively new to functional programming as a whole. I have spent some time on Scala and was wondering if F# has something similar so that i could write a lambda along the lines of: Array.filter x.End…

---

## [Type-safe Deedle Columns](https://forums.fsharp.org/t/type-safe-deedle-columns/2141)

<div class="topic-metadata">

**Author:** [@jim108dev](https://forums.fsharp.org/u/jim108dev)\
**Replies:** 0\
**Last updated:** [January 31, 2022, 3:50pm UTC](https://forums.fsharp.org/t/type-safe-deedle-columns/2141 "2022-01-31T15:50:28Z")

</div>

Hey everybody! I would like to aggregate, sort and select data from csv-files. In the deedle documentation columns are addressed by “string”. I have used module Columns = let Month = "Month" let Year = "Year"…

[Next page](https://forums.fsharp.org/c/uncategorized/1.md?page=1)
