I think he might have been looking for syntax hightlighting, like
http://pygments.org/docs/lexers/#lexers-for-the-julia-language?
On Fri, Oct 2, 2015 at 2:24 PM Stefan Karpinski
wrote:
> The default printing of Julia ASTs is the best I'm aware of. Does it not
> do the
The default printing of Julia ASTs is the best I'm aware of. Does it not do
the trick?
On Fri, Oct 2, 2015 at 2:09 PM, Michael Turok
wrote:
> Anyone have a preferred pretty printer for julia source code - or any
> enscript states file around?
>
> Michael
>
>
>
Dear Julia Users,
I have been coding various Bayesian spatial econometric models and have a
question that is probably very basic but the solution eludes me.
I'd like to be able to pretty print the output from the models akin to a
standard regression package like so:
Direct Effects
Variable
Hi all,
I'm trying to write some pretty-print code for one of my packages. In
particular, I want to print tensors, e.g. rand(3,3,3)
Now the (exported) options seem to be print and dump
For 2D:
julia print(rand(3,3))
[0.9848410067397786 0.7395088321894974 0.08335407347392443
0.9908990998709222
Suppose I define a composite type T.
type T
xx::Int
yy::Int
end
juliaT
(xx,yy)
I want to change what the repl prints when I do T[enter] on the command
line. Which function should I change to to do this (the equivalent of
T.__repr__() in Python).
Thanks,
Shoibal.
You need to override Base.show(io::IO, foo:T)
show()’s definition provides the basis for most other printing methods.
— John
On Jan 25, 2014, at 3:22 AM, Shoibal Chakravarty shoib...@gmail.com wrote:
Suppose I define a composite type T.
type T
xx::Int
yy::Int
end
juliaT