hs_add_root is not necessary since GHC 7.2
n-ary int functions all working with error checking
Unify return/function type passing. Support bool