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:
1414- ` (+) ` adds ` Perm ` values together. For example, ` read + write ` means
1515 "readable and writable".
1616- ` (*) ` 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` .
1919
2020
2121
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ import Data.Int (fromNumber, toNumber)
2828-- | - `(+)` adds `Perm` values together. For example, `read + write` means
2929-- | "readable and writable".
3030-- | - `(*)` 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`.
3333-- |
3434-- |
3535newtype Perm = Perm { r :: Boolean , w :: Boolean , x :: Boolean }
You can’t perform that action at this time.
0 commit comments