Skip to content

Commit 849c702

Browse files
committed
Update Perm docs
1 parent f23fc36 commit 849c702

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/Node/FS/Perms.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ allows you to combine permissions:
1717
permissions that two `Perm` values have in common. For example:
1818
`(read + write) * (write + execute) == write`.
1919

20-
20+
You can think also of a `Perm` value as a subset of the set
21+
`{ read, write, execute }`; then, `(+)` and `(*)` represent set union and
22+
intersection respectively.
2123

2224
##### Instances
2325
``` purescript

src/Node/FS/Perms.purs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ import Data.Int (fromNumber, toNumber)
3131
-- | permissions that two `Perm` values have in common. For example:
3232
-- | `(read + write) * (write + execute) == write`.
3333
-- |
34-
-- |
34+
-- | You can think also of a `Perm` value as a subset of the set
35+
-- | `{ read, write, execute }`; then, `(+)` and `(*)` represent set union and
36+
-- | intersection respectively.
3537
newtype Perm = Perm { r :: Boolean, w :: Boolean, x :: Boolean }
3638

3739
instance eqPerm :: Eq Perm where

0 commit comments

Comments
 (0)