scala snips