mirror of
https://github.com/Smaug123/static-site-pipeline
synced 2025-10-05 08:18:39 +00:00
Fix typo
This commit is contained in:
@@ -82,7 +82,7 @@ let hasPermission (userId : int) : Option<unit> = ...
|
||||
And here is where we *don't* throw away that information:
|
||||
|
||||
```fsharp
|
||||
let permission (userId : unit) : Option<UserPermissions> = ...
|
||||
let permission (userId : int) : Option<UserPermissions> = ...
|
||||
```
|
||||
|
||||
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.
|
||||
|
Reference in New Issue
Block a user