From 9901b1dfc4274dc4d8792fcbde27861b47173dfa Mon Sep 17 00:00:00 2001 From: Smaug123 <3138005+Smaug123@users.noreply.github.com> Date: Mon, 1 Sep 2025 18:38:50 +0100 Subject: [PATCH] Fix typo --- hugo/content/posts/2025-08-29-boolean-blindness.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugo/content/posts/2025-08-29-boolean-blindness.md b/hugo/content/posts/2025-08-29-boolean-blindness.md index 27bf9a7..dffa8db 100644 --- a/hugo/content/posts/2025-08-29-boolean-blindness.md +++ b/hugo/content/posts/2025-08-29-boolean-blindness.md @@ -82,7 +82,7 @@ let hasPermission (userId : int) : Option = ... And here is where we *don't* throw away that information: ```fsharp -let permission (userId : unit) : Option = ... +let permission (userId : int) : Option = ... ``` The "boolean-equivalent" example has effectively just shoved the result of `permission` through `Option.map ignore`; and `ignore` is a function that should always provoke a *little* unease.