File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ allows you to combine permissions:
14
14
- ` (+) ` adds ` Perm ` values together. For example, ` read + write ` means
15
15
"readable and writable".
16
16
- ` (*) ` masks permissions. It can be thought of as selecting only the
17
- permissions that two ` Perm ` values have in common. For example: `(read
18
- + write) * (write + execute) == write`.
17
+ permissions that two ` Perm ` values have in common. For example:
18
+ ` (read + write) * (write + execute) == write` .
19
19
20
20
21
21
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ import Data.Int (fromNumber, toNumber)
28
28
-- | - `(+)` adds `Perm` values together. For example, `read + write` means
29
29
-- | "readable and writable".
30
30
-- | - `(*)` masks permissions. It can be thought of as selecting only the
31
- -- | permissions that two `Perm` values have in common. For example: `(read
32
- -- | + write) * (write + execute) == write`.
31
+ -- | permissions that two `Perm` values have in common. For example:
32
+ -- | `(read + write) * (write + execute) == write`.
33
33
-- |
34
34
-- |
35
35
newtype Perm = Perm { r :: Boolean , w :: Boolean , x :: Boolean }
You can’t perform that action at this time.
0 commit comments