Fixed some stuff in hack branch

Fixed some fatal issues in hack lang.
oops :smile: , thanks for pointing it out, gonna close this pull request here.
Will you be fixing it in the repo or I should send a new pull request with `fun` instead of `func`?