RationalHelper

com.phasmidsoftware.number.core.inner.Rational.RationalHelper
final implicit class RationalHelper(val sc: StringContext) extends AnyVal

Implicit class RationalHelper to allow definition of Rationals by Strings of the form r"n/d".

Value parameters

sc

a StringContext.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def r(args: Any*): Rational

Concrete fields

val sc: StringContext