/dhall-path/File/basename

Copy path to clipboard

Returns the name of the file, not as a Path.

Source

{-|
Returns the name of the file, _not_ as a `Path`.
-}
let Anc = ../Path/Anc

let File = ./Type

in λ(anchor : Anc) → λ(file : File anchor) → file.file