F Sharp
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using F Sharp.
This programming language may be used to instruct a computer to perform a task.
Lang tag(s): | fsharp |
---|---|
See Also: |
|
Your Help Needed
If you know F Sharp, please write code for some of the tasks not implemented in F Sharp.
If you know F Sharp, please write code for some of the tasks not implemented in F Sharp.
F# is a multi-paradigm (functional and object-oriented), strongly typed language created by Don Syme at Microsoft Research for Microsoft's .NET platform. It is based on the Caml language, and resembles it in syntax.
F# is included as an 'official' .NET language in Visual Studio 2010.
External Links[edit]
Subcategories
This category has the following 3 subcategories, out of 3 total.
Pages in category "F Sharp"
The following 623 pages are in this category, out of 623 total.
A
- A+B
- Abbreviations, automatic
- ABC problem
- Abelian sandpile model
- Abelian sandpile model/Identity
- Abstract type
- Abundant, deficient and perfect number classifications
- Accumulator factory
- Ackermann function
- Active Directory/Connect
- Active object
- Align columns
- Almost prime
- Amb
- Amicable pairs
- Anagrams
- Anagrams/Deranged anagrams
- Angle difference between two bearings
- Animate a pendulum
- Animation
- Anonymous recursion
- Anti-primes
- Apply a callback to an array
- Arbitrary-precision integers (included)
- Arithmetic evaluation
- Arithmetic-geometric mean
- Arithmetic/Complex
- Arithmetic/Integer
- Arithmetic/Rational
- Array concatenation
- Array length
- Arrays
- Aspect oriented programming
- Assertions
- Associative array/Creation
- Associative array/Iteration
- Associative array/Merging
- Atomic updates
- Attractive numbers
- Average loop length
- Averages/Arithmetic mean
- Averages/Mean angle
- Averages/Mean time of day
- Averages/Median
- Averages/Mode
- Averages/Pythagorean means
- Averages/Root mean square
- Averages/Simple moving average
B
- Babbage problem
- Balanced brackets
- Base64 decode data
- Base64 encode data
- Bell numbers
- Bernoulli numbers
- Bilinear interpolation
- Binary digits
- Binary search
- Bitmap
- Bitmap/Bresenham's line algorithm
- Bitmap/Bézier curves/Cubic
- Bitwise operations
- Boolean values
- Box the compass
- Brazilian numbers
- Break OO privacy
C
- Caesar cipher
- Calculating the value of e
- Calendar
- Calkin-Wilf sequence
- Call a function
- Carmichael 3 strong pseudoprimes
- Cartesian product of two or more lists
- Case-sensitivity of identifiers
- Catalan numbers
- Catalan numbers/Pascal's triangle
- Catamorphism
- Chaocipher
- Chaos game
- Character codes
- Check that file exists
- Chernick's Carmichael numbers
- Cheryl's birthday
- Chinese remainder theorem
- Chinese zodiac
- Cholesky decomposition
- Church numerals
- Cipolla's algorithm
- Circles of given radius through two points
- Classes
- Closest-pair problem
- Closures/Value capture
- Color of a screen pixel
- Combinations
- Comma quibbling
- Command-line arguments
- Comments
- Compare a list of strings
- Compound data type
- Concurrent computing
- Constrained genericity
- Constrained random points on a circle
- Continued fraction
- Continued fraction/Arithmetic/Construct from rational number
- Convert seconds to compound duration
- Convex hull
- Conway's Game of Life
- Copy a string
- Copy stdin to stdout
- Count in factors
- Count in octal
- Count occurrences of a substring
- Count the coins
- CRC-32
- Create a file
- Create a two-dimensional array at runtime
- Create an HTML table
- CSV data manipulation
- CSV to HTML translation
- Cuban primes
- Currency
- Currying
D
- Damm algorithm
- Data Encryption Standard
- Date format
- Date manipulation
- Day of the week
- Deal cards for FreeCell
- Delegates
- Delete a file
- Department numbers
- Detect division by zero
- Determine if a string has all the same characters
- Determine if a string has all unique characters
- Determine if a string is collapsible
- Determine if a string is numeric
- Determine if a string is squeezable
- Determine if two triangles overlap
- Digital root
- Dijkstra's algorithm
- Dinesman's multiple-dwelling problem
- Dining philosophers
- Discordian date
- Display a linear combination
- Dot product
- Doubly-linked list/Definition
- Doubly-linked list/Element definition
- Doubly-linked list/Traversal
- Dragon curve
- Draw a clock
- Draw a pixel
- Dutch national flag problem
E
- Echo server
- Egyptian division
- EKG sequence convergence
- Elementary cellular automaton
- Elementary cellular automaton/Random Number Generator
- Emirp primes
- Empty directory
- Empty program
- Empty string
- Enforced immutability
- Entropy
- Enumerations
- Environment variables
- Esthetic numbers
- Ethiopian multiplication
- Euler method
- Euler's sum of powers conjecture
- Evaluate binomial coefficients
- Even or odd
- Events
- Evolutionary algorithm
- Execute a Markov algorithm
- Execute a system command
- Execute Brain****
- Execute SNUSP
- Exponentiation operator
- Exponentiation with infix operators in (or operating on) the base
- Extensible prime generator
- Extra primes
- Extreme floating point values
F
- Factorial
- Factorial base numbers indexing permutations of a collection
- Factors of an integer
- Faulhaber's triangle
- Feigenbaum constant calculation
- Fibonacci n-step number sequences
- Fibonacci sequence
- Fibonacci word
- Fibonacci word/fractal
- File input/output
- File modification time
- File size
- Filter
- Find common directory path
- Find largest left truncatable prime in a given base
- Find limit of recursion
- Find palindromic numbers in both binary and ternary bases
- Find the intersection of a line with a plane
- Find the intersection of two lines
- Find the last Sunday of each month
- First perfect square in base n with n unique digits
- First-class functions
- First-class functions/Use numbers analogously
- Five weekends
- Fivenum
- FizzBuzz
- Flatten a list
- Floyd's triangle
- Floyd-Warshall algorithm
- Forest fire
- Formatted numeric output
- Forward difference
- Four bit adder
- Four is magic
- Fractal tree
- Function composition
- Function definition
- Function prototype
- Fusc sequence
G
- Gamma function
- Gaussian elimination
- Generate lower case ASCII alphabet
- Generator/Exponential
- Generic swap
- Geohash
- Get system command output
- Globally replace text in several files
- Gray code
- Greatest common divisor
- Greatest element of a list
- Greatest subsequential sum
- Guess the number/With feedback
- GUI component interaction
H
- Hailstone sequence
- Hamming numbers
- Handle a signal
- Happy numbers
- Harshad or Niven series
- Hash from two arrays
- Hash join
- Haversine formula
- Hello world/Graphical
- Hello world/Newline omission
- Hello world/Standard error
- Hello world/Text
- Here document
- Higher-order functions
- Hofstadter Figure-Figure sequences
- Hofstadter Q sequence
- Hofstadter-Conway $10,000 sequence
- Horizontal sundial calculations
- Horner's rule for polynomial evaluation
- Host introspection
- Hostname
- HTTP
- HTTPS
- Huffman coding
- Humble numbers
I
- I'm a software engineer, get me out of here
- IBAN
- Identity matrix
- Idiomatically determine all the characters that can be used for symbols
- Idiomatically determine all the lowercase and uppercase letters
- Image noise
- Increment a numerical string
- Infinity
- Inheritance/Multiple
- Inheritance/Single
- Input loop
- Integer comparison
- Integer roots
- Integer sequence
- Interactive programming
- Intersecting number wheels
- Inverted index
- Isqrt (integer square root) of X
J
K
L
- Langton's ant
- Largest int from concatenated ints
- Latin Squares in reduced form
- Latin Squares in reduced form/Randomizing using Jacobson and Matthews’ Technique
- Leap year
- Least common multiple
- Left factorials
- Leonardo numbers
- Letter frequency
- Levenshtein distance
- Linear congruential generator
- List comprehensions
- Literals/Integer
- Logical operations
- Long multiplication
- Long primes
- Longest common subsequence
- Longest palindromic substrings
- Look-and-say sequence
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Continue
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Foreach
- Loops/Increment loop index within loop body
- Loops/Infinite
- Loops/N plus one half
- Loops/Nested
- Loops/While
- Lucas-Lehmer test
- Lucky and even lucky numbers
- Luhn test of credit card numbers
M
- Magnanimous numbers
- Make directory path
- Man or boy test
- Mandelbrot set
- Markov chain text generator
- Matrix multiplication
- Matrix transposition
- Maze generation
- McNuggets problem
- MD5
- MD5/Implementation
- Menu
- Merge and aggregate datasets
- Mersenne primes
- Metallic ratios
- Metronome
- Mian-Chowla sequence
- Mind boggling card trick
- Minimum positive multiple in base 10 using only 0 and 1
- Modular exponentiation
- Modular inverse
- Modulinos
- Monads/Maybe monad
- Monte Carlo methods
- Monty Hall problem
- Morse code
- Mouse position
- Multifactorial
- Multiline shebang
- Multiple distinct objects
- Multiplication tables
- Multisplit
- Munchausen numbers
- Mutual recursion
N
- N'th
- N-queens problem
- Narcissistic decimal number
- Negative base numbers
- Non-continuous subsequences
- Non-decimal radices/Input
- Non-decimal radices/Output
- Non-transitive dice
- Nonogram solver
- Nth root
- Null object
- Number names
- Number reversal game
- Numbers with equal rises and falls
- Numbers with prime digits whose sum is 13
- Numeric error propagation
- Numerical integration
O
P
- Palindrome dates
- Palindrome detection
- Palindromic gapful numbers
- Pancake numbers
- Pangram checker
- Parallel brute force
- Parallel calculations
- Parametric polymorphism
- Parametrized SQL statement
- Parsing/RPN calculator algorithm
- Parsing/RPN to infix conversion
- Parsing/Shunting-yard algorithm
- Partial function application
- Partition an integer x into n primes
- Pascal's triangle
- Pascal's triangle/Puzzle
- Password generator
- Pattern matching
- Percentage difference between images
- Perfect numbers
- Perfect shuffle
- Permutations
- Permutations by swapping
- Permutations/Derangements
- Pernicious numbers
- Pi
- Pick random element
- Plot coordinate pairs
- Poker hand analyser
- Polymorphic copy
- Polymorphism
- Power set
- Price fraction
- Primality by trial division
- Primality by Wilson's theorem
- Prime conspiracy
- Prime decomposition
- Primorial numbers
- Priority queue
- Problem of Apollonius
- Program name
- Program termination
- Proper divisors
- Pseudo-random numbers/PCG32
- Pseudo-random numbers/Xorshift star
- Pythagoras tree
- Pythagorean triples
R
- Random Latin squares
- Random numbers
- Range expansion
- Range extraction
- Rare numbers
- Read a file line by line
- Read a specific line from a file
- Read entire file
- Real constants and functions
- Regular expressions
- Remove duplicate elements
- Remove lines from a file
- Remove vowels from a string
- Rename a file
- Rendezvous
- Rep-string
- Repeat
- Repeat a string
- Retrieve and search chat history
- Return multiple values
- Reverse a string
- Rock-paper-scissors
- Roman numerals/Decode
- Roman numerals/Encode
- Rosetta Code/Count examples
- Rosetta Code/Fix code tags
- Rosetta Code/Rank languages by popularity
- Rot-13
- RSA code
- Run-length encoding
- Runge-Kutta method
S
- S-expressions
- Safe primes and unsafe primes
- Sattolo cycle
- Search a list
- SEDOLs
- Self numbers
- Semiprime
- Semordnilap
- Sequence of non-squares
- Sequence of primes by trial division
- Sequence: smallest number greater than previous term with exactly n divisors
- Sequence: smallest number with exactly n divisors
- Set
- Set consolidation
- Set of real numbers
- Set puzzle
- Sexy primes
- SHA-1
- SHA-256
- Shell one-liner
- Shoelace formula for polygonal area
- Short-circuit evaluation
- Show the epoch
- Sierpinski carpet
- Sierpinski triangle
- Sieve of Eratosthenes
- Simple windowed application
- Sleep
- Smarandache prime-digital sequence
- Smith numbers
- SOAP
- Sort an array of composite structures
- Sort an integer array
- Sort disjoint sublist
- Sort stability
- Sort three variables
- Sort using a custom comparator
- Sorting algorithms/Bead sort
- Sorting algorithms/Bubble sort
- Sorting algorithms/Gnome sort
- Sorting algorithms/Heapsort
- Sorting algorithms/Insertion sort
- Sorting algorithms/Merge sort
- Sorting algorithms/Pancake sort
- Sorting algorithms/Quicksort
- Sorting algorithms/Selection sort
- Sorting algorithms/Sleep sort
- Soundex
- Sparkline in unicode
- Spiral matrix
- Split a character string based on change of character
- Square but not cube
- Square root by hand
- Stable marriage problem
- Stack
- Stack traces
- Stem-and-leaf plot
- Stern-Brocot sequence
- Straddling checkerboard
- String append
- String case
- String comparison
- String concatenation
- String interpolation (included)
- String length
- String matching
- String prepend
- Strip a set of characters from a string
- Strip block comments
- Strip comments from a string
- Strip control codes and extended characters from a string
- Strip whitespace from a string/Top and tail
- Substring
- Substring/Top and tail
- Subtractive generator
- Successive prime differences
- Sudoku
- Sum and product of an array
- Sum digits of an integer
- Sum multiples of 3 and 5
- Sum of a series
- Sum of squares
- Sum to 100
- Super-d numbers
- Symmetric difference
- Synchronous concurrency
- System time
T
- Take notes on the command line
- Teacup rim text
- Temperature conversion
- Terminal control/Clear the screen
- Terminal control/Coloured text
- Terminal control/Cursor positioning
- Terminal control/Dimensions
- Terminal control/Ringing the terminal bell
- Test a function
- Text processing/2
- The Name Game
- The Twelve Days of Christmas
- Tic-tac-toe
- Time a function
- Tokenize a string
- Tokenize a string with escaping
- Top rank per group
- Towers of Hanoi
- Trabb Pardo–Knuth algorithm
- Tree traversal
- Trigonometric functions
- Truncate a file
- Twin primes
- Two sum