Each of these methods
|
, isFile :: Fn0 Boolean |
|
, isDirectory :: Fn0 Boolean |
|
, isBlockDevice :: Fn0 Boolean |
|
, isCharacterDevice :: Fn0 Boolean |
|
, isFIFO :: Fn0 Boolean |
|
, isSocket :: Fn0 Boolean |
has a corresponding standalone
Stats -> Boolean function so they seem redundant, and using the
isDirectory :: Fn0 Boolean directly resulted in this issue
aristanetworks/purescript-backend-optimizer#35 because
this context wasn't preserved after compilation.
Each of these methods
purescript-node-fs/src/Node/FS/Stats.purs
Lines 35 to 40 in a9da8b9
Stats -> Booleanfunction so they seem redundant, and using theisDirectory :: Fn0 Booleandirectly resulted in this issue aristanetworks/purescript-backend-optimizer#35 becausethiscontext wasn't preserved after compilation.