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((HAE, HDB) -> HDE), HAE) -> fun((HDB) -> HDE).
pipe1(Func, A) ->
fun(_capture) -> Func(A, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 18).
-spec pipe2(fun((HAH, HAI, HDF) -> HDJ), HAH, HAI) -> fun((HDF) -> HDJ).
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((HAL, HAM, HAN, HDK) -> HDP), HAL, HAM, HAN) -> fun((HDK) -> HDP).
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((HAQ, HAR, HAS, HAT, HDQ) -> HDW), HAQ, HAR, HAS, HAT) -> fun((HDQ) -> HDW).
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((HAW, HAX, HAY, HAZ, HBA, HDX) -> HEE), HAW, HAX, HAY, HAZ, HBA) -> fun((HDX) -> HEE).
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((HBD, HBE, HBF, HBG, HBH, HBI, HEF) -> HEN),
HBD,
HBE,
HBF,
HBG,
HBH,
HBI
) -> fun((HEF) -> HEN).
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((HBL, HBM, HBN, HBO, HBP, HBQ, HBR, HEO) -> HEX),
HBL,
HBM,
HBN,
HBO,
HBP,
HBQ,
HBR
) -> fun((HEO) -> HEX).
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((HBU, HBV, HBW, HBX, HBY, HBZ, HCA, HCB, HEY) -> HFI),
HBU,
HBV,
HBW,
HBX,
HBY,
HBZ,
HCA,
HCB
) -> fun((HEY) -> HFI).
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((HCE, HFJ) -> HFM), HCE) -> fun((HFJ) -> HFM).
hole(Func, A) ->
fun(_capture) -> Func(A, _capture) end.
-file("/home/joe/Projects/gleam/utils/src/gextra/function.gleam", 56).
-spec hole2(fun((HCH, HFN, HFO) -> HFS), HCH) -> fun((HFN, HFO) -> HFS).
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((HCK, HFT, HFU, HFV) -> HGA), HCK) -> fun((HFT, HFU, HFV) -> HGA).
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((HCN, HGB, HGC, HGD, HGE) -> HGK), HCN) -> fun((HGB, HGC, HGD, HGE) -> HGK).
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((HCQ, HGL, HGM, HGN, HGO, HGP) -> HGW), HCQ) -> fun((HGL, HGM, HGN, HGO, HGP) -> HGW).
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((HCT, HGX, HGY, HGZ, HHA, HHB, HHC) -> HHK), HCT) -> fun((HGX, HGY, HGZ, HHA, HHB, HHC) -> HHK).
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((HCW, HHL, HHM, HHN, HHO, HHP, HHQ, HHR) -> HIA), HCW) -> fun((HHL, HHM, HHN, HHO, HHP, HHQ, HHR) -> HIA).
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((HCZ, HIB, HIC, HID, HIE, HIF, HIG, HIH, HII) -> HIS), HCZ) -> fun((HIB, HIC, HID, HIE, HIF, HIG, HIH, HII) -> HIS).
hole8(Func, A) ->
fun(B, C, D, E, F, G, H, I) -> Func(A, B, C, D, E, F, G, H, I) end.