Fn

fr.hammons.slinc.Fn$
See theFn companion trait
object Fn

Attributes

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

Members list

Type members

Types

type NativeOut[A] = A match { case Int => Int case Float => Float case Long => Long case Double => Double case Short => Short case Byte => Byte case Unit => Unit case Any => Object }

Value members

Concrete methods

transparent inline def toNativeCompatible[A](inline a: A): A
def toNativeCompatibleImpl[A](a: Expr[A])(using Quotes, Type[A]): Expr[A]

Givens

Givens

given given_Fn_Function_A_B_C_Z[A, B, C, Z]: given_Fn_Function_A_B_C_Z[A, B, C, Z]
given given_Fn_Function_A_B_Z[A, B, Z]: given_Fn_Function_A_B_Z[A, B, Z]
given given_Fn_Function_Tuple1_Z[A, Z]: given_Fn_Function_Tuple1_Z[A, Z]
given given_Fn_Z_EmptyTuple_Z[Z]: given_Fn_Z_EmptyTuple_Z[Z]

Extensions

Extensions

extension [F, Input <: Tuple, Output](fn: F)(fn: F)(using ftc: Fn[F, Input, Output])
def andThen(fn2: Output => Output): F