split triggers.sml into module and test script
initial work on Haskell expressions