【文件属性】:
文件名称:uritemplate-clj:URI模板的Clojure实现,如RFC 6570(http
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-23 10:26:33
Clojure
uritemplate-clj
符合RFC 6570( )中指定的URI模板的Clojure实现,符合级别4
uritemplate
uritemplate-clj首先公开uritemplate函数,以URI模板和值映射为输入并返回填充的模板:
user=> ( ns test
# _=> ( :require [uritemplate-clj.core :as templ]))
nil
test=> ( templ/uritemplate " http://example.org/abc{/type}{/agent*}{/year}{/natural_identifier,version,language} " { " type " " dir " ,
#_=> " agent " [ " ep " " consil " ],
#_
【文件预览】:
uritemplate-clj-master
----src()
--------uritemplate_clj()
----LICENSE(11KB)
----README.md(3KB)
----test()
--------uritemplate_clj()
----project.clj(537B)