adding type definitions to some Euler.hs functions