Idris2Doc : Data.String.Builder

Data.String.Builder

(source)

Definitions

recordBuilder : Type->Type
  A simple mutable string builder based on a snoc list wrapped
in a mutable reference.

Totality: total
Visibility: export
Constructor: 
B : Refq (SnocListString) ->Builderq

Projection: 
.ref : Builderq->Refq (SnocListString)
builder : F1q (Builderq)
  Creates a new string builder.

Totality: total
Visibility: export
withBuilder : (Builderq=>F1'q) ->String
  Creates a string from a string building function.

Totality: total
Visibility: export
linebreak : Builderq=>F1'q
  Append a linebreak to the string builder.

Totality: total
Visibility: export
tab : Builderq=>F1'q
  Append a single tab to the string builder.

Totality: total
Visibility: export
space : Builderq=>F1'q
  Append a single space to the string builder.

Totality: total
Visibility: export
spaces : Builderq=>Nat->F1'q
  Append the given number of spaces to the string builder.

Totality: total
Visibility: export
putText : Builderq=>String->F1'q
  Append the given string to the string builder.

Totality: total
Visibility: export
putTextLn : Builderq=>String->F1'q
  Append the given string followed by a carriage return
to the string builder.

Totality: total
Visibility: export
putTextSep : Builderq=>String->F1'q
  Append the given string followed by a space character return
to the string builder.

Totality: total
Visibility: export
putChars : Builderq=>ListChar->F1'q
  Appends the given list of characters to the string builder.

Totality: total
Visibility: export
putCharsLn : Builderq=>ListChar->F1'q
  Append the given list of characters followed by a carriage return
to the string builder.

Totality: total
Visibility: export
putShow : Builderq=>Showa=>a->F1'q
  Show a value and append it to the string builder.

Totality: total
Visibility: export
putShowLn : Builderq=>Showa=>a->F1'q
  Show a value and append it to the string builder followed
by a carriage return.

Totality: total
Visibility: export
putShowSep : Builderq=>Showa=>a->F1'q
  Show a value and append it to the string builder followed
by a space character.

Totality: total
Visibility: export
putVal : Builderq=>Interpolationa=>a->F1'q
  Interpolate a value and append it to the string builder.

Totality: total
Visibility: export
putValLn : Builderq=>Interpolationa=>a->F1'q
  Interpolate a value and append it to the string builder followed
by a carriage return.

Totality: total
Visibility: export
putValSep : Builderq=>Interpolationa=>a->F1'q
  Interpolate a value and append it to the string builder followed
by a space character.

Totality: total
Visibility: export
putAll : Builderq=>ListString->F1'q
  Append a list of strings to the string builder.

Totality: total
Visibility: export
putLeftPadded : Builderq=>Nat->Char->String->F1'q
  Append a string, padding it on the left with the given character.

Totality: total
Visibility: export
padRightPadded : Builderq=>Nat->Char->String->F1'q
  Append a string, padding it on the right with the given character.

Totality: total
Visibility: export