Skip to content

Commit 65d6005

Browse files
committed
Merge pull request #25 from Thimoteus/master
updated docs, fixed redundant/unused import warnings
2 parents 8a4ca42 + 110976b commit 65d6005

File tree

6 files changed

+13
-15
lines changed

6 files changed

+13
-15
lines changed

docs/Node/FS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ data FileFlags
3434

3535
##### Instances
3636
``` purescript
37-
instance showFileFlags :: Show FileFlags
38-
instance eqFileFlags :: Eq FileFlags
37+
Show FileFlags
38+
Eq FileFlags
3939
```
4040

4141
#### `fileFlagsToNode`
@@ -90,8 +90,8 @@ Symlink varieties.
9090

9191
##### Instances
9292
``` purescript
93-
instance showSymlinkType :: Show SymlinkType
94-
instance eqSymlinkType :: Eq SymlinkType
93+
Show SymlinkType
94+
Eq SymlinkType
9595
```
9696

9797
#### `symlinkTypeToNode`

docs/Node/FS/Perms.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ intersection respectively.
2323

2424
##### Instances
2525
``` purescript
26-
instance eqPerm :: Eq Perm
27-
instance ordPerm :: Ord Perm
28-
instance showPerm :: Show Perm
29-
instance semiringPerm :: Semiring Perm
26+
Eq Perm
27+
Ord Perm
28+
Show Perm
29+
Semiring Perm
3030
```
3131

3232
#### `none`
@@ -84,9 +84,9 @@ file owner, the group, and any other users.
8484

8585
##### Instances
8686
``` purescript
87-
instance eqPerms :: Eq Perms
88-
instance ordPerms :: Ord Perms
89-
instance showPerms :: Show Perms
87+
Eq Perms
88+
Ord Perms
89+
Show Perms
9090
```
9191

9292
#### `permsFromString`

docs/Node/FS/Stats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Stats wrapper to provide a usable interface to the underlying properties and met
1717

1818
##### Instances
1919
``` purescript
20-
instance showStats :: Show Stats
20+
Show Stats
2121
```
2222

2323
#### `isFile`

src/Node/FS/Async.purs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ import Data.Maybe
4343
import Data.Nullable
4444
import Node.Buffer (Buffer(), BUFFER(), size)
4545
import Data.Int (round)
46-
import Data.Maybe.Unsafe (fromJust)
4746
import Node.Encoding
4847
import Node.FS
4948
import Node.FS.Stats

src/Node/FS/Perms.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import Data.Maybe (Maybe(..), isNothing)
1818
import Data.Maybe.Unsafe (fromJust)
1919
import Data.Char (fromCharCode)
2020
import Data.String (toCharArray, joinWith, drop, charAt, indexOf)
21-
import Data.Int (fromNumber, toNumber)
21+
import Data.Int (fromNumber)
2222

2323
-- | A `Perm` value specifies what is allowed to be done with a particular
2424
-- | file by a particular class of user — that is, whether it is

src/Node/FS/Sync.purs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ import Control.Monad.Eff
3636
import Control.Monad.Eff.Exception
3737
import Data.Date
3838
import Data.Time
39-
import Data.Either
4039
import Data.Function
4140
import Data.Nullable (Nullable(), toNullable)
4241
import Data.Int (round)

0 commit comments

Comments
 (0)