package
0.0.0-20250112020414-b7d121007f5a
Repository: https://github.com/tim-hardcastle/pipefish.git
Documentation: pkg.go.dev

# Functions

Provie the answer to `hub why <n>`.
Gets the trace report of a runtime error, in the form of a string that can be passed to the `PrettyString` function for highlighting.
Makes an InHandler which does nothing but get a string from terminal input and return it.
Makes an `InHandler` which will get input from the terminal using the string supplied to prompt the end user.
Returns a new service.
Turns the markup Pipefish uses internally into highlighting.

# Constants

Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.
Constants representing Pipefish types.

# Variables

What we convert to when we convert to `any`.

# Structs

No description provided by the author

# Type aliases

The representation of a Pipefish set in the `V` field of a `Value` with `T` = `ERROR`.
An interface with one method, `Get()`, which supplies a string when the Pipefish code does `get x from Input()`.
The representation of a Pipefish list in the `V` field of a `Value` with `T` = `LIST`.
An interface with two methods (1) `Out(v Value)` which takes the value supplied when the Pipefish code says `post x to Output()` and does something with it, presumably serializing it in some way and writing it somewhere; (2) a method `Write(s string)` which if necessary allows the user to write a string to the same place.
The representation of a Pipefish set in the `V` field of a `Value` with `T` = `SET`.
An InHandler which just gets an input from an io.Reader supplied at its construction.
An OutHandler which serializes the given value and writes it to an io.Writer supplied at its construction.
An InHandler which supplies a prompt and then gets its input from the terminal.
No description provided by the author
A struct representing a Pipefish value, consisting of fields `T“, a `Type`, and V, the payload, of type `any`.