Assignment, Binding, Mutation
- Creating copies in Julia with = operator
- Values vs. Bindings: The Map is Not the Territory
- The Metaphor: A Table of Boxes and Forms and Colorful Stickers
- Passing expressions by reference inside expressions
- Mutating function in Julia (function that modifies its arguments)
- Create a type with pointer to array
Scope of Variables
Pass by Sharing(rebinding + local scope)
- wiki: Evaluation_strategy
- In julia functions : passed by reference or value?
- Julia function argument by reference
Function Specialization
- Meaning of {T}
- Strict typing and restricting types in a method’s signature
- Function type specification
- Optimally passing dimensions of fixed size array in julia
- How to declare array type that can have int and floats
Method
- [ ] Design Patterns with Parametric Methods
- lispy tuple recursion
- julia-lang Check element type of arbitrarily nested array
- How to find if a method is implemented for an interface?
Constructors
- Generic constructors for subtypes of an abstract type
- Convert() vs constructors
- Inner constructor with type parameter not in signature
- Difference between two forms of inner constructors
Pits & Falls
- Constructors a la AbstractArray
Callable Object aka Functor
- Pass a formula as a function parameter in Julia
- Function in type definition
- FunctionWrappers.jl
- Want a field signature more specific than ‘Function’
- Proposal for a first-class dispatch wrapper
- Functor abstract types
Introspection & Reflection
- Julia Introspects
- What is the difference between @code_native, @code_typed and @code_llvm in Julia?
- What is the equivalent of Python's ast.literal_eval() in Julia?
- *Type conversion for
Tuple
withoutmemcpy
- How do I check if a given
Method
object accepts a givenTuple
of types in Julia 0.6?Macro
expand
- Julia does not appear to be using string to perform interpolation
Lowering
- Retrieve method content as an
Expr
ession - What exactly code lowering is an how to do “unlowering”?
String
- Number to string with leading (left padded) zeros in Julialang
- Creating strings of full precision arrays
- Insert a newline character every 10 characters in a string using Julia
- How to convert from string to array?
- Truncate string in Julia
- Case-insensitive string comparison in Julia
- A function or a macro for retrieving attributes of annotated strings
- Julia: find numeric placement of letters
Indexing
julia> str = "αβγdef";
julia> nextind(str, 1)
3
julia> endof(str)
9
julia> prevind("αβγdef", 3)
1
julia> prevind("αβγdef", 1)
0