fix build
This commit is contained in:
parent
38a27ecc43
commit
01617b6264
1 changed files with 14 additions and 0 deletions
|
|
@ -566,6 +566,14 @@
|
||||||
(str begins newl)
|
(str begins newl)
|
||||||
)))
|
)))
|
||||||
|
|
||||||
|
#?(:cljs cljs.core/MapEntry)
|
||||||
|
#?(:cljs
|
||||||
|
(update-first [e afn]
|
||||||
|
(cljs.core/->MapEntry (-> e key afn) (val e) nil)))
|
||||||
|
#?(:cljs
|
||||||
|
(update-last [e afn]
|
||||||
|
(cljs.core/->MapEntry (key e) (-> e val afn) nil)))
|
||||||
|
|
||||||
#?(:clj Object :cljs default)
|
#?(:clj Object :cljs default)
|
||||||
(update-first [l val]
|
(update-first [l val]
|
||||||
(update-first-list l val))
|
(update-first-list l val))
|
||||||
|
|
@ -586,6 +594,12 @@
|
||||||
(get-last [s]
|
(get-last [s]
|
||||||
(last s))
|
(last s))
|
||||||
|
|
||||||
|
#?(:cljs cljs.core/MapEntry)
|
||||||
|
(get-first [e]
|
||||||
|
(key e))
|
||||||
|
(get-last [e]
|
||||||
|
(val e))
|
||||||
|
|
||||||
#?(:clj String :cljs string)
|
#?(:clj String :cljs string)
|
||||||
(get-first [s]
|
(get-first [s]
|
||||||
(nth s 0))
|
(nth s 0))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue