N-ary simple (non-dependent) functions using telescopes Compare with `base/Data.Fun` and `contrib/Data.Fun.Extra` and with: Guillaume Allais. 2019. Generic level polymorphic n-ary functions. TyDe 2019.
0 SimpleFun : Environment gamma -> (0 _ : Segment n gamma) -> Type -> TypeAn n-ary function whose codomain does not depend on its
arguments. The arguments may have dependencies.
target : SimpleFun env delta cod -> Typeuncurry : SimpleFun env delta cod -> Environment env delta -> codcurry : (Environment env delta -> cod) -> SimpleFun env delta cod