Add tags

Add tags to the following comment

もっと素直にやっても結構短くなるみたいですよ(262bytes)。

1
(use file.util)(use util.list)(use srfi-13)(do((t(make-hash-table 'string=?))(ls(file->string-list(car *argv*))(cdr ls))(n 1 (+ n 1)))((null? ls)(print(hash-table->alist t)))(dolist(w(string-split(car ls)#[\W]))(hash-table-push! t (string-downcase w) n)))

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...