Pudu programming language
Menu
API reference

Std.Env.searchPath

1 declaration

fn

searchPath: Array[Str]

This is a callable function.

What it does

The program's search path, split on the separator its platform uses.

The separator is asked for rather than written down: it is a colon on one

family of operating system and a semicolon on the other, so a program that

splits on a colon reads the whole of PATH as a single entry everywhere

else.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Names inside [ ] are type arguments, such as the item type held by a collection.

Back to Std.EnvSearch related declarations