This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-18
Channels
- # announcements (5)
- # aws (4)
- # babashka (30)
- # beginners (90)
- # calva (31)
- # clj-on-windows (16)
- # clojure (110)
- # clojure-dev (10)
- # clojure-europe (26)
- # clojure-nl (1)
- # clojure-norway (20)
- # clojure-spec (25)
- # clojure-uk (15)
- # clojured (2)
- # clojurescript (12)
- # code-reviews (2)
- # community-development (3)
- # conjure (14)
- # datomic (26)
- # defnpodcast (2)
- # events (1)
- # fulcro (17)
- # graalvm (8)
- # gratitude (1)
- # introduce-yourself (2)
- # jobs-discuss (7)
- # kaocha (6)
- # lsp (9)
- # luminus (5)
- # nextjournal (7)
- # observability (9)
- # off-topic (71)
- # portal (5)
- # practicalli (1)
- # rdf (21)
- # re-frame (15)
- # releases (1)
- # shadow-cljs (24)
- # testing (7)
- # tools-build (13)
- # tools-deps (14)
- # xtdb (7)
Wow @kelvin063 this is great!
Thank you! Indeed, IGraph has been an inspiration for Flint: • It has inspired some of Flint's syntactic conventions, namely the triple normal form map. • More broadly, Flint and IGraph both share the idea of being a Clojure data layer on top of RDF/SPARQL.
I noticed that you're using # inst. The ont-app/vocabulary module defines an # lstr reader macro. I know @U4P4NREBY has also found that useful. =ont-app/vocabulary has a bunch of other stuff that might be a bit more weight than you'd like to take on. Would it be of use to you if I broke # lstr into its own project?
@UB3R8UYA1 Yeah, ont-app/vocabulary is really nice, as are your other RDF libs. Speaking of… I just submitted a PR to ont-app/vocabulary with a tiny fix to a bug I found.
Oh. Thanks!
It had not occurred to me that a lstr would have \n's in them.
It does seem that # lstr could live independently of the rest of ont-app/vocabulary, yeah?
I guess it’s a trade-off. I do like mini-libs, but they can also get too small sometimes.
Yeah, maybe I'll let that season for a bit.
Strangely (s) is not supported in cljs
it is an easily solvable problem after all. Initially, I just made a non-capturing group of (?:.|\s)
, but then I decided to use the flag instead as it is the “cleaner” solution.
that would match any character as well as any whitespace, so essentially the same as a DOTALL .
This should fix it https://github.com/ont-app/vocabulary/pull/17
Awesome! Thanks! Clearly your regex-fu is top-notch. I'll incorporate this when I get back to my desk.