Skip to content

Remove redundant/impure StatsObj Fn0 methods #71

@pete-murphy

Description

@pete-murphy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions