mint.printer - Palamecia/mint GitHub Wiki

Module

load mint.printer

This module provides a set of functions to perform operations on a range of elements. The range of elements must implement the in operator.

Classes

Printer

This class provides access to the current printer.

Public members

Modifiers Member Description
const new Creates a new instance pointing to the current printer.
const write Writes the content of data to the printer.

Private members

Modifiers Member Description
final d_ptr Object data.
@ g_lib Global library handle.

Functions

Descriptions

Printer.d_ptr

null

Object data.

Printer.g_lib

lib ('libmint-mint')

Global library handle.

Printer.new

def (self)

Creates a new instance pointing to the current printer.

Printer.write

def (self, data)

Writes the content of data to the printer.

println

def (str)

Prints str to the standard output, with a newline.

def (printer, str)

Prints str to the printer, with a newline.