Hindley Milner type system modeled in Agda