Fork me on GitHub
#hoplon
<
2017-03-02
>
micha00:03:32

there are a lot of compromises that need to be made there to make it really work

jesse.rosalia00:03:10

gotcha. just out of curiosity, do you mean compromises on my side? or compromises in making it stable in the hoplon core?

micha00:03:45

mostly compromises in the way you express clojurescript source code in the .html.hl file

micha00:03:59

because clojure syntax isn't really s-expressions

micha00:03:42

like (defn foop [x y] #(-> f g h [x y]))

micha00:03:13

all the non-sexp syntax that is allowed in the clojure reader

micha00:03:46

so when you want to interleave code and markup it can be confusing

micha00:03:04

also like (foo :bar/baz baf)

micha00:03:31

you can't do <foo bar/baz=baf></foo>

jesse.rosalia00:03:45

that makes sense

micha00:03:00

so you would do <foo bar.baz="{{baf}}"></foo>

micha00:03:16

but you can see it starts to get more complicated

jesse.rosalia00:03:56

yea, for sure. ok, ill start working with the cljs syntax. thanks!

micha00:03:09

have fun!

thedavidmeister12:03:25

@flyboarder could you tell me a bit more about hoplon/brew?

flyboarder14:03:26

@thedavidmeister yes! Hoplon brew is where we put user contrib things that aren't for hoplon core

flyboarder14:03:51

But are useful for everyone

flyboarder14:03:18

This way we get to test things before working them into core

mudphone20:03:54

Hi, I don’t know if this is a hoplon specific problem, but I thought I would try here first. I’ve just created a blank lein new hoplon-castra project and ran boot dev in it, which results in the following exception:

java.lang.RuntimeException: No such var: string/includes?
clojure.lang.ExceptionInfo: No such var: string/includes?
    file: "cljs/util.cljc"
    line: 156

mudphone20:03:02

Has anyone seen this before?

mudphone21:03:04

I suppose my real question is, “is the lein new hoplon-castra the idiomatic way to start a new hoplon castra project?"

candera21:03:48

I don’t know the answer, and haven’t used castra at all yet (other than at work a tiny bit on an existing project) but I tend to use boot new to start projects.

thedavidmeister23:03:16

@mudphone once you've done things a few times you can just copy and paste the relevant stuff by hand 🙂

thedavidmeister23:03:43

but yeah, maybe the dependencies are out of whack in the boot file