Core scala musings