Importing function


I am trying to import a function to the other but its giving me unresolved reference

Hi,

First of all, it’s always nice to see Euclid :slight_smile:

Secondly, when you invoke gcd() inside simplify_fraction(), you don’t do anything with the computation (like store it in a variable). So at the moment your simplify_fraction() will return the very same input you give it (and maybe warm your computer up a little… haskell joke).

As for the error, can you copy and paste what the literal error the compiler gives you is?

I have managed to solve

Thanks