* Primops: baseNameOf, toString.
This commit is contained in:
parent
c8268ca991
commit
adf9a45469
4 changed files with 30 additions and 4 deletions
|
|
@ -19,4 +19,13 @@ Expr primImport(EvalState & state, Expr arg);
|
|||
Expr primDerivation(EvalState & state, Expr args);
|
||||
|
||||
|
||||
/* Return the base name of the given string, i.e., everything
|
||||
following the last slash. */
|
||||
Expr primBaseNameOf(EvalState & state, Expr arg);
|
||||
|
||||
|
||||
/* Convert the argument (which can be a path or a uri) to a string. */
|
||||
Expr primToString(EvalState & state, Expr arg);
|
||||
|
||||
|
||||
#endif /* !__PRIMOPS_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue