Fork me on GitHub
#clojure
<
2016-04-03
>
tungsten01:04:46

Hi I am trying to print out a lazy seq of strings

tungsten01:04:02

does anyone know how to do this

cky02:04:31

@bfast: Are you wanting each string printed out on its own line? (doseq [str my-lazy-seq] (println str))

dominicm15:04:18

@jaydeesimon function declaration

lwhorton16:04:26

does anyone use [prismatic/schema] regularly? I’m wondering how/if it’s possible to do this...

lwhorton16:04:02

(def AppSchema {:component {(s/Keyword) s/Any} .. I want this to read “my app schema has a map with :component, which is itself a map of ‘any keyword -> anything else`… basically I want to declare and enforce unique keywords inside :component {}

anders16:04:51

@lwhorton: (def AppSchema {:component {s/Keyword s/Any}})

lwhorton16:04:17

wow, really… thanks. I could’ve sworn I tried that in a repl ...

sveri16:04:54

Hi I am using schema in a library and when I call that library from a different project via lein run -m foo.bar/exec it validates the schema. Can I turn that off somehow?

sveri17:04:09

@rauh I figured out that the problem was different schema versions between the project and the library

josh.freckleton21:04:10

Developing according to the Data: --------------------------------- I am progressively catching the vision that Clojure/it's Ecosystem inspires. Data is king, so make sure you "do" data correctly. IE if data is well-behaved, the rest of development is greatly simplified. Immutability makes data safe. Purity makes code predictable. React-y frameworks move data in predictable flows. Datomic makes data immutable, and accessing it declarative. Schema allows you to define data models. Plumbing allows declarative, and structured computations on data. So my question is a bit subjective and open ended: what are some of the best Libs/Tools/Blog posts/Philosophies/Best practices/People to follow/Videos/Books that helps a developer develop well-behaved data systems, and maybe automating parts of that development?

sveri21:04:12

@josh.freckleton: The readme of re-frame is considered to be a hell of a beast: https://github.com/Day8/re-frame I liked it very much.

sveri21:04:26

In a positive sense of course

josh.freckleton21:04:59

@sveri : ya, re-frame is the best, agreed!

bwstearns22:04:37

@josh.freckleton: check out http://www.infoq.com/presentations/ClojureScript-Javelin it's linked in the re-frame readme but it's definitely worth noting as a great source of inspiration in its own right