正文
增加 6 行删除 6 行
46 行未改动4748495051525354555657585960616263646566676869422 行未改动全部展开46 行未改动(define res '())(let loop ([i 0])(if (< i (string-length str))(case (string-ref str i)[(#\space)(if (null? res)(loop (+ i 1))(values #f(string->symbol (list->string (reverse res)))(substring str (+ i 1) (string-length str))))][(#\: #\( #\) #\= #\{ #\})(values(if (null? res) #f (string->symbol (list->string (reverse res))))(string->symbol (string (string-ref str i)))(substring str (+ i 1) (string-length str)))][else (set! res (cons (string-ref str i) res)) (loop (+ i 1))])(values(string->symbol (list->string (reverse res)))#f""))))422 行未改动全部展开46 行未改动4748495051525354555657585960616263646566676869422 行未改动全部展开46 行未改动(define res '())(let loop ([i 0])(if (< i (string-length str))(case (string-ref str i)[(#\space)(if (null? res)(loop (+ i 1))(values #f(string->symbol (list->string (reverse res)))(substring str (+ i 1) (string-length str))))][(#\: #\( #\) #\= #\{ #\})(values(if (null? res) #f (string->symbol (list->string (reverse res))))(string->symbol (string (string-ref str i)))(substring str (+ i 1) (string-length str)))][else (set! res (cons (string-ref str i) res)) (loop (+ i 1))])(values(string->symbol (list->string (reverse res)))#f""))))422 行未改动全部展开