Logo RΞCURSION
  • Home
  • About
  • Recent Posts
  • Projects
  • Posts
  • Notes
  • Docs
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • Algorithmic Trading
  • Basic
  • Caching
  • Code Sustainability
  • Dependency Management
  • Exceptions
  • F#
  • Functional Programming
  • Functions
  • Language Features
  • Multi-Lingual
  • NuGet
  • Open Source
  • Optimization
  • Paket
  • Pattern Matching
  • Portfolio Managemnt
  • Project Management
  • Python
  • Quantitative Finance
  • Risk
  • Software Development
  • Time Series Analysis
  • Volatility
Hero Image
Currying and Partial Application in F#

The mathematical definition of a function can be denoted as a relationship between a set of inputs (the domain) and a single output (the co-domain). When a mathematical function is said to have only one parameter, it typically means that it takes a single value as input. However, in functional programming we build functions that theoretically “defy” this concept by taking in multiple input parameters. Traditionally, a mathematical function may only accept one input at a time.

  • F#
  • Functions
  • Code Sustainability
Monday, October 7, 2024 | 5 minutes Read
Hero Image
Enhancing Code Maintainability with the F# 'Option' Type

A common case in programming is handling variables that might or might not hold a value. The C# language for example, uses Nullable<T> to represent such cases. This enables you to declare variables as nullables that would otherwise not be assigned to Nulls (e.g a float or an int). Handling these null references in languages like C# or Java can often lead to bugs. A clean and powerful solution to this problem is provided in F#: the Option type.

  • F#
  • Functions
  • Code Sustainability
Tuesday, September 17, 2024 | 4 minutes Read
Navigation
  • About
  • Recent Posts
  • Projects
Contact me:
  • carlvinjerry@gmail.com | cmwange@beyondrawdata.co.ke
  • carlvinjerry
  • Carlvin Jerry Mwange
  • +254 (0)747 942 588
  • Carlvin Jerry Mwange

Liability Notice: This theme is under MIT license. So, you can use it for non-commercial, commercial, or private uses. You can modify or distribute the theme without requiring any permission from the theme author. However, the theme author does not provide any warranty or takes any liability for any issue with the theme.


Toha Theme Logo Toha
© 2020 Copyright.
Powered by Hugo Logo