Skip to content

Instead of having FileName and DirName introduce Name that can be Name Dir / Name File #30

Closed
@garyb

Description

@garyb

This means when we peel we don't have to account for a case that is known to be impossible, as peeling a DirPath would give you a Name Dir with:

peel
  :: forall a b s
   . Path a b s
-> Maybe (Tuple (Path a Dir s) (Name b))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions