Fork me on GitHub
#clojure
<
2018-12-24
>
schmidt7302:12:32

what does #function[X/Y/fn--10200] mean?

schmidt7302:12:40

Is that like a function applied to arguments?

seancorfield03:12:20

#function is a reader literal that tells the reader how to process the form that follows it.

seancorfield03:12:38

X/Y/fn--10200 is the compiled symbol name of, I think, an anonymous function in a namespace X.Y...

seancorfield03:12:09

So the meaning depends on the code that is producing that and reading it.

seancorfield03:12:21

What's the context for that @henri.schmidt?

seancorfield03:12:10

Are you talking about this sort of output

user=> (defn f [] (fn [] 42))
#'user/f
user=> (f)
#object[user$f$fn__149 0x1eaf1e62 "user$f$fn__149@1eaf1e62"]
user=>                                                        

lilactown15:12:15

I feel like once you learn about Datomic, and how you can query for values over time, it’s frustrating that this feels like such a left-out feature of other relational DBs

💯 17