Current section

Files

Jump to
gextra src gextra@function.erl
Raw

src/gextra@function.erl

-module(gextra@function).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([pipe1/2, pipe2/3, pipe3/4, pipe4/5, pipe5/6, pipe6/7, pipe7/8, pipe8/9, hole/2, hole2/2, hole3/2, hole4/2, hole5/2, hole6/2, hole7/2, hole8/2]).
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 13).
-spec pipe1(fun((FVH, FYE) -> FYH), FVH) -> fun((FYE) -> FYH).
pipe1(Func, A) ->
fun(_capture) -> Func(A, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 18).
-spec pipe2(fun((FVK, FVL, FYI) -> FYM), FVK, FVL) -> fun((FYI) -> FYM).
pipe2(Func, A, B) ->
fun(_capture) -> Func(A, B, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 23).
-spec pipe3(fun((FVO, FVP, FVQ, FYN) -> FYS), FVO, FVP, FVQ) -> fun((FYN) -> FYS).
pipe3(Func, A, B, C) ->
fun(_capture) -> Func(A, B, C, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 28).
-spec pipe4(fun((FVT, FVU, FVV, FVW, FYT) -> FYZ), FVT, FVU, FVV, FVW) -> fun((FYT) -> FYZ).
pipe4(Func, A, B, C, D) ->
fun(_capture) -> Func(A, B, C, D, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 33).
-spec pipe5(fun((FVZ, FWA, FWB, FWC, FWD, FZA) -> FZH), FVZ, FWA, FWB, FWC, FWD) -> fun((FZA) -> FZH).
pipe5(Func, A, B, C, D, E) ->
fun(_capture) -> Func(A, B, C, D, E, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 38).
-spec pipe6(
fun((FWG, FWH, FWI, FWJ, FWK, FWL, FZI) -> FZQ),
FWG,
FWH,
FWI,
FWJ,
FWK,
FWL
) -> fun((FZI) -> FZQ).
pipe6(Func, A, B, C, D, E, F) ->
fun(_capture) -> Func(A, B, C, D, E, F, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 43).
-spec pipe7(
fun((FWO, FWP, FWQ, FWR, FWS, FWT, FWU, FZR) -> GAA),
FWO,
FWP,
FWQ,
FWR,
FWS,
FWT,
FWU
) -> fun((FZR) -> GAA).
pipe7(Func, A, B, C, D, E, F, G) ->
fun(_capture) -> Func(A, B, C, D, E, F, G, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 48).
-spec pipe8(
fun((FWX, FWY, FWZ, FXA, FXB, FXC, FXD, FXE, GAB) -> GAL),
FWX,
FWY,
FWZ,
FXA,
FXB,
FXC,
FXD,
FXE
) -> fun((GAB) -> GAL).
pipe8(Func, A, B, C, D, E, F, G, H) ->
fun(_capture) -> Func(A, B, C, D, E, F, G, H, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 52).
-spec hole(fun((FXH, GAM) -> GAP), FXH) -> fun((GAM) -> GAP).
hole(Func, A) ->
fun(_capture) -> Func(A, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 56).
-spec hole2(fun((FXK, GAQ, GAR) -> GAV), FXK) -> fun((GAQ, GAR) -> GAV).
hole2(Func, A) ->
fun(B, C) -> Func(A, B, C) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 60).
-spec hole3(fun((FXN, GAW, GAX, GAY) -> GBD), FXN) -> fun((GAW, GAX, GAY) -> GBD).
hole3(Func, A) ->
fun(B, C, D) -> Func(A, B, C, D) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 64).
-spec hole4(fun((FXQ, GBE, GBF, GBG, GBH) -> GBN), FXQ) -> fun((GBE, GBF, GBG, GBH) -> GBN).
hole4(Func, A) ->
fun(B, C, D, E) -> Func(A, B, C, D, E) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 68).
-spec hole5(fun((FXT, GBO, GBP, GBQ, GBR, GBS) -> GBZ), FXT) -> fun((GBO, GBP, GBQ, GBR, GBS) -> GBZ).
hole5(Func, A) ->
fun(B, C, D, E, F) -> Func(A, B, C, D, E, F) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 72).
-spec hole6(fun((FXW, GCA, GCB, GCC, GCD, GCE, GCF) -> GCN), FXW) -> fun((GCA, GCB, GCC, GCD, GCE, GCF) -> GCN).
hole6(Func, A) ->
fun(B, C, D, E, F, G) -> Func(A, B, C, D, E, F, G) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 76).
-spec hole7(fun((FXZ, GCO, GCP, GCQ, GCR, GCS, GCT, GCU) -> GDD), FXZ) -> fun((GCO, GCP, GCQ, GCR, GCS, GCT, GCU) -> GDD).
hole7(Func, A) ->
fun(B, C, D, E, F, G, H) -> Func(A, B, C, D, E, F, G, H) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 80).
-spec hole8(fun((FYC, GDE, GDF, GDG, GDH, GDI, GDJ, GDK, GDL) -> GDV), FYC) -> fun((GDE, GDF, GDG, GDH, GDI, GDJ, GDK, GDL) -> GDV).
hole8(Func, A) ->
fun(B, C, D, E, F, G, H, I) -> Func(A, B, C, D, E, F, G, H, I) end.