RationalHelper

com.phasmidsoftware.lascala.values.Rational.RationalHelper
final implicit class RationalHelper(val sc: StringContext) extends AnyVal

Implicit class RationalHelper to support the strings of form r"22/7", etc.

Value parameters

sc

the StringContext

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def r(args: Any*): Rational[Long]

Concrete fields

val sc: StringContext