generalize array offset calculations
hlint
printInt -> print_int
replace examples with a submodle example repo