1. 8

  2. 1

    intrigued by the ::MIME"text/html" - julia folks, what’s going on there, syntactically?

    1. 2

      There’s a trivial mapping in Julia between strings and symbols. Customize this a little bit and you can make little, DSL-like quality-of-life improvements with ease in Julia, which is what’s happening.

      1. 1

        yes, but i’m assuming from context that MIME"text/html" is a typename. is it equivalent to ::"MIMEtext/html"? or are the quotes part of the name too? i’m wondering how it all works at the parser level.