Skip to main content

Questions tagged [f#]

F# is a succinct, expressive, and efficient functional and object-oriented language for .NET

2 votes
1 answer
149 views

I have the following EF Core table: ...
Parsa99's user avatar
  • 267
4 votes
2 answers
921 views

The following code is an example of railway-oriented programming that allows a password string to be validated: ...
Parsa99's user avatar
  • 267
3 votes
2 answers
139 views

I stumbled across something a long while ago, fetching the environments variables from say env under linux (say on a pod via argos), anyway, point is I could fetch ...
Natalie Perret's user avatar
0 votes
1 answer
161 views

I have two collections: A list of strings A hashtable ...
Alex_P's user avatar
  • 123
3 votes
0 answers
278 views

I am seeking a review of my command line wordle game. Having only recently started exploring functional programming, I expect that there will be no shortage of areas to improve. This is my first ...
Adam Hodgson's user avatar
2 votes
1 answer
206 views

after looking at the pseudocode for the Sieve of Eratosthenes on wikipedia I tried implementing a similar version using F#. The code runs just fine, that is, it returns all prime numbers up until a ...
Antônio Salomão's user avatar
2 votes
0 answers
138 views

The purpose This code is intended to achieve the following goals:- Create a hard coded list of lifts, this is pretty static and I add some extra info so I'm ok with this being in the code but I may ...
David Hayes's user avatar
1 vote
1 answer
106 views

I've been experimenting with the F# Bolero environment to learn F# a bit and I was trying to get the hang of pattern matching by generating ordinal numbers (1st, 2nd, 3rd, ...) from cardinal numbers (...
JansthcirlU's user avatar
2 votes
1 answer
117 views

I am a new F# programmer, and a student in a security class. As part of my notes, I wrote a small implementation of a monoalphabetic cipher as follows: ...
TimeTravelPenguin's user avatar
2 votes
1 answer
101 views

This code represents logic used to retry failed calls to a crypto exchange: ...
Thomas's user avatar
  • 173
2 votes
3 answers
196 views

I have a list of path I want to filter out. I want to keep only paths matching a specific pattern and remove all paths matching another specific pattern. To achieve this I pattern matched on each ...
aloisdg's user avatar
  • 561
-1 votes
1 answer
155 views

I am writing a credit card generator. I have method GenerateVisa() who will return either a 13 or 16 numbers string. This is the default value but GenerateVisa can ...
aloisdg's user avatar
  • 561
3 votes
1 answer
330 views

this is my first F# program, very simple concept but took me a few minutes to get it. I'm new to functional programming so I'd appreciate if you could have a look ...
Santanor's user avatar
  • 131
0 votes
1 answer
99 views

This code succeeds in downloading log text files from multiple URLs. Can this be made more efficient? ...
user1206480's user avatar
1 vote
2 answers
925 views

In the context of a library to generate random credit card, it would be nice to let the user the possibility to set some optional options on some cards. Lets take Visa. Two lengths are available: 13 ...
aloisdg's user avatar
  • 561

15 30 50 per page
1
2 3 4 5
24