Basics

morphir.sdk.Basics$
object Basics extends SdkModule

Attributes

Graph
Supertypes
class SdkModule
class NativeModule
trait MorphirModule
class Object
trait Matchable
class Any
Show all
Self type
Basics.type

Members list

Type members

Classlikes

sealed abstract class Order(val value: Int) extends Product, Serializable

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object EQ.type
object GT.type
object LT.type
object Order

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Order.type

Types

type Bool = Boolean
type Float = MFloat
type Int = MInt

Value members

Concrete methods

def add(a: Int): Int => Int
def add(a: Int, b: Int): Int
def and(a: Bool): Bool => Bool
def and(a: Bool, b: Bool): Bool
def equal[A](a: A): A => Bool
def equal[A](a: A, b: A): Bool
def not(a: Bool): Bool
def notEqual[A](a: A): A => Bool
def notEqual[A](a: A, b: A): Bool
def or(a: Bool): Bool => Bool
def or(a: Bool, b: Bool): Bool
def xor(a: Bool): Bool => Bool
def xor(a: Bool, b: Bool): Bool

Inherited methods

def fun[T1, T2, R](localName: String)(f: (T1, T2) => R): NativeFunc2[T1, T2, R]

Attributes

Inherited from:
MorphirModule

Concrete fields

val EQ: Order
val False: Bool
val GT: Order
val LT: Order
val True: Bool
val modBy: NativeFunc2[MInt, MInt, MInt]

Inherited fields

val moduleName: String

Attributes

Inherited from:
NativeModule
val packageName: String

Attributes

Inherited from:
NativeModule