CoreMill

com.phasmidsoftware.number.core.mill.CoreMill
See theCoreMill companion trait
object CoreMill

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
CoreMill.type

Members list

Value members

Concrete methods

Method to take a sequence of Items and create an appropriate Mill.

Method to take a sequence of Items and create an appropriate Mill.

Value parameters

xs

a comma-separated sequence of Item.

Attributes

Returns

an appropriate Mill.

def create(items: Seq[CoreMillItem]): CoreMill

Alternative method of creating a Mill from a list of Items.

Alternative method of creating a Mill from a list of Items.

Value parameters

items

sequence of Item.

Attributes

Returns

a new Mill.

def parse(w: String): Try[CoreMill]

Method to parse a String in RPN (may extend over multiple lines) into a Mill.

Method to parse a String in RPN (may extend over multiple lines) into a Mill.

Value parameters

w

the input String.

Attributes

Returns

a Mill, wrapped in Try.

def parseInfix(w: String): Try[CoreMill]

Method to parse a String in infix notation (may extend over multiple lines) into a Mill.

Method to parse a String in infix notation (may extend over multiple lines) into a Mill.

Value parameters

w

the input String.

Attributes

Returns

a Mill, wrapped in Try.

Concrete fields

Empty Mill value.

Empty Mill value.

Attributes

Returns

Empty