Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add devdocs on types #11185

Merged
merged 2 commits into from
May 7, 2015
Merged

Add devdocs on types #11185

merged 2 commits into from
May 7, 2015

Conversation

timholy
Copy link
Sponsor Member

@timholy timholy commented May 7, 2015

Inspired by trying to get a better handle on how types are handled internally (in the course of working on #10911).

@yuyichao, these are the promised docs on TypeVars and related topics.

jl_ (generic function with 1 method)

julia> jl_(start(methods(candid)))
Method(sig=Tuple{Array{#T<:Any, N<:Any}, #T<:Any}, va=false, isstaged=false, tvars=#T<:Any, func=#<function>, invokes=nothing, next=nothing)
Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does anyone know how to prevent these # from being interpreted as comment-characters?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disable the syntax highlighting for that block?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unicode equivalent?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does \# work?

@tkelman tkelman added the docs This change adds or pertains to documentation label May 7, 2015
-------------------------------------------------------

It's perhaps easiest to conceive of Julia's type system in terms of
sets. A concerete type corresponds to a single entity in the space of
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

concrete

@timholy
Copy link
Sponsor Member Author

timholy commented May 7, 2015

Thanks for the feedback, everyone. Unicode FF03 (but not 0023) works for the hash symbol.

timholy added a commit that referenced this pull request May 7, 2015
@timholy timholy merged commit 9fbbfb7 into master May 7, 2015
@timholy timholy deleted the teh/devdoc_types branch May 7, 2015 23:22
jiahao added a commit that referenced this pull request May 8, 2015
Minor formatting fixes. [ci skip]

Also turns code blocks into doctests where possible.
mbauman pushed a commit to mbauman/julia that referenced this pull request Jun 6, 2015
Minor formatting fixes. [ci skip]

Also turns code blocks into doctests where possible.
tkelman pushed a commit to tkelman/julia that referenced this pull request Jun 6, 2015
Minor formatting fixes. [ci skip]

Also turns code blocks into doctests where possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants