fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

M

composition.M

M
self application
Bird: Mockingbird
BQN: ?
Haskell: (cannot define)

This is not representable in Fuzion, we would need arguments with generic arguments
here. Using pseudo-syntax ((T,U : Any) <type using T,U>) to denote a type that is
itself type parameteric...:

public M(f ((T,U : Any) T -> U)) ((V,W : Any) V->W) => f f

we can emulate this if we require the argument to be given twice:

Type Parameters

T:Any[src]
U:Any[src]
V:Any[src]

Arguments

f0 Unary (Unary V T) (Unary U T)[src]
f1 Unary U T[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23