In windows batch, you chain commands with && operator. How do you do the same in scala interpreter? It looks stupid that I need :load file and call import mainobj._ after every load. Obviously, you want to chain them into one liner.
How do chain commands in Scala interpreter?
292 views Asked by Val At
        	1
        	
        
	
                        
You could write multiple statements in one line of Scala with
;Or first type
{then write your commands line by line finishing with}Or you can use
:pasteto turn on paste mode, and then enter your code.