Logo RΞCURSION
  • Home
  • About
  • Recent Posts
  • Projects
  • Posts
  • Notes
  • Docs
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • Introduction
  • Life
    • Mentorship
      • One Year in HOD
    • Two Wheels and a Heartbeat
  • Programming
    • Code Sustainability
      • Error Handling
        • Exception Handling in Python
      • Succint FSharp
        • Currying and Partial Application
        • A Better Way to Manage Dependencies in F#
        • Memoization in F#
        • Pattern Matching in F#
        • Understanding the F# Option Type
    • Functional Programming
      • Discriminated Unions in F#
      • Functional Programming Nuances
      • Functors and Monads in F#
    • Interoperability
      • R.NET Integration in .NET
    • Languages
      • fsharp
        • fsharp-9-review
  • Quantitative-Finance
    • Introduction to SDEs
    • Portfolio Risk Attribution
    • Risk Parity Mathematics
    • Simple Moving Average
Hero Image
Modelling Relationships in F# for Domain-Driven Design

This post explores F#’s discriminated unions for domain-driven design, focusing on financial systems. Through examples like modeling financial instruments, transactions, and account types, we demonstrate how to encode business rules, ensure type safety, and simplify complex domains using F#.

  • functional programming
  • F#
  • language features
  • Discriminated Unions
Monday, July 21, 2025 Read
Hero Image
Understanding Functors and Monads in F# with Statistical and Financial Models

This blog post demystifies functors and monads in F# through real-world statistical and financial modeling examples. Learn how Option, Result, and Async types simplify handling missing data, errors, and asynchronous computations, enabling robust and composable code for data processing, risk modeling, and Monte Carlo simulations.

  • functional programming
  • F#
  • language features
Monday, April 28, 2025 Read
Hero Image
Functional Programming

This post introduces functional programming principles such as pure functions, immutability, first-class functions, and higher-order composition, with practical F# examples.

  • functional programming
  • F#
  • language features
Thursday, April 20, 2023 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