Add example project

This commit is contained in:
Sven van Heugten 2026-04-27 22:51:25 +02:00
parent eed9190ddb
commit b05c2dc0a2
No known key found for this signature in database
GPG key ID: D612F88666F4F660
4 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,10 @@
namespace Example
module Calculator =
let addOne value = value + 1
let absoluteDifference left right =
if left >= right then left - right else right - left
let isLeapYear year =
year % 4 = 0 && (year % 100 <> 0 || year % 400 = 0)