nanop's scala toolbox