# Calling a function inside other function

**URL:** <https://forum.elixirforum.com/t/calling-a-function-inside-other-function/35023>\
**Category:** Questions\
**Tags:** book-programming-elixir, deployment, troubleshooting, learning-elixir\
**Created:** [October 19, 2020, 1:39pm UTC](https://forum.elixirforum.com/t/calling-a-function-inside-other-function/35023 "2020-10-19T13:39:46Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Jcambass](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jcambass/32/18876_2.png) [@Jcambass](https://forum.elixirforum.com/u/Jcambass)\
**Post date:** [October 19, 2020, 2:06pm UTC](https://forum.elixirforum.com/t/calling-a-function-inside-other-function/35023/8 "2020-10-19T14:06:58Z")

</div>

> I want to use the output of a function A in let says function B. Sometimes we don’t have those parameters in function B, then how can we use the function A output in function B.

You can’t. If you need the output of function A you either need to call it and pass the output of it as an parameter to function B, or you need to call function A with arguments in function B.

Your question is quite theoretical, maybe you can share the problem you’re actually trying to solve (if you have a concrete thing you’re trying to achieve). Functional is a different way of programming but it can solve the same problems as OOP, it just needs a different way of thinking about the problem you want to solve.

---

_[View the full topic](https://forum.elixirforum.com/t/calling-a-function-inside-other-function/35023)._
