-- -*- M2-comint -*- hash: 13324205539716050915

i1 : server = new JSONRPCServer

o1 = server

o1 : JSONRPCServer

i2 : registerMethod(server, "add", (x, y) -> x + y)

i3 : registerMethod(server, "subtract", {"x", "y"}, (x, y) -> x - y)

i4 : methods server

o4 = {0 => (subtract,x,y)}
     {1 => 1 : (add)     }

o4 : NumberedVerticalList

i5 : locate 0

o5 = currentString:3:47-3:62

o5 : FilePosition

i6 : 
