This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-07-04
Channels
- # announcements (6)
- # babashka (5)
- # beginners (57)
- # biff (6)
- # business (32)
- # clj-together (1)
- # clojars (10)
- # clojure (56)
- # clojure-europe (76)
- # clojure-nl (4)
- # clojure-norway (40)
- # clojure-serbia (1)
- # clojure-spec (5)
- # clojure-uk (10)
- # clojurescript (3)
- # cursive (12)
- # data-science (1)
- # datascript (4)
- # datomic (35)
- # docs (4)
- # emacs (28)
- # events (5)
- # hyperfiddle (9)
- # matrix (1)
- # off-topic (28)
- # practicalli (4)
- # re-frame (14)
- # shadow-cljs (2)
- # testing (5)
Goedemorgen, kan iemand uitleggen waarom ik een 'Could not resolve symbol: .getPath' foutmelding krijg met
(require '[
(map .getPath (.listFiles (io/file "Z:/Fotos/ZZZ")))
terwijl
(map println (.listFiles (io/file "Z:/Fotos/ZZZ")))
;; =>(#object[java.io.File 0x66444618 Z:\Fotos\ZZZ\618--.jpg]
;; #object[java.io.File 0x1b60561d Z:\Fotos\ZZZ\618--2023-07-02_15-46-02.jpg]
;; nil nil)
(.getPath (io/file "Z:/Fotos/ZZZ"); => "Z:\\Fotos\\ZZZ"
oplevert?
Thanks for your help; I finally settled for babashka.fs:
(require '[babashka.fs :as fs])
(map println (map str (fs/list-dir "Z:/Fotos/ZZZ")))
Thanks for your help; I finally settled for babashka.fs:
(require '[babashka.fs :as fs])
(map println (map str (fs/list-dir "Z:/Fotos/ZZZ")))