Remove unnecessary functions in example

This commit is contained in:
Sven van Heugten 2026-05-12 16:31:05 +02:00
parent 500b3f0d8c
commit 9ff53f1803
No known key found for this signature in database
GPG key ID: D612F88666F4F660
2 changed files with 3 additions and 15 deletions

View file

@ -1,10 +1,4 @@
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)
let addOne value = value - 1