ra’s avatarra’s Twitter Archive—№ 39,175

    1. in clojure (defn foo []) is just a macro for (def foo (fn [])) which is great, but jn is built on open generic functions w/multiple dispatch so its not really a *name* but a *signature* i.e. name+args that maps to a method body. def can be reused the way let is in F#. thoughts?
      oh my god twitter doesn’t include alt text from images in their API
  1. …in reply to @ra
    screenshot of F#'s let. i am hesitant about using the same syntax/symbol to mean different things, but in this case the act of defining something in a namespace seems like its the same? i also like that (def (greet name) ... ) syntax mirrors the usage of (greet name)
    oh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @ra
      a function in jn is really just a fully qualified name and isnt really stored in one place. the methods that make up a function's bodies are stored in CLR assemblies and can be live coded or generated by the compiler when need be (ie for specialization)