[Question][Hw0-2] How to call multiple functions from each other? #642
Replies: 3 comments
-
The Therefore,
will work well. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh thanks for the quick reply!! I was adding |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi. Keyword |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Name: Murad Bashirov
Hello! When I was doing homework 0-2, I faced a problem with ocaml language. Because the language symbols are defined and available from top to bottom, the function on the top cannot call function on the bottom. And this I needed this while doing calculator problem. I found that when I deal with 2 functions I can use
and
keyword such (I use:
showing that this function calls listed functions in their body:But I have a bit more complicated situation:
In this case I cannot arrange functions and use
and
keyword to callf3
from both functions and callf1
andf2
fromf3
. I am not sure what to do.An example for second case(I know this looks silly):
ocamlc x.ml
givesBeta Was this translation helpful? Give feedback.
All reactions