For Visitors

I have not worked on this site for over two (2) years, but it covers many of the basics of F#, while trying to be idiomatically-correct and algorithmically efficient, solving mathematical problems functionally:

  • Functions (non-state, no side effects)
  • Tail recursion
  • Non-mutable variables
  • Currying
  • Lambda notation
  • Pattern matching
  • Sequences, arrays, lists, and tuples
  • Array slicing

Additionally, some solutions are improved upon using .NET components to speed the process, e.g., parallel processing.

Also, you might find these interesting, additional work done in F#:

Basic Statistical Functions,  a very basic F# class for performing standard deviation and variance calculations.

Various Number Functions, a collection of basic mathematical functions written in F# as part of my learning via Project Euler. This module has functions for creating arrays or calculating values for the following:
  • Primes
  • Factorials
  • Narcissism
  • Collatz Sequence
  • Terra Sequence
  • Fibonnaci
  • Distinct Primes
  • Random Numbers and Arrays

Popular posts from this blog

Digit cancelling fractions (Project Euler Problem 33)

Consecutive Prime Sum (Project Euler - Problem 50)

Microsoft Azure Notebooks - Live code - F#, R, and Python