Repository navigation
Emoji REPL completion - #10709
Emoji REPL completion#10709
Conversation
|
Should we also make 💯 a |
|
As long as we're allowed to propose PRs that assign math constants to these new symbols, I'm all in favor. 👍 ETA: damnit. @simonbyrne was quicker on the keyboard. |
|
although 👍 might be more appropriate as an incrementer function :) |
julia> 💯
💯 = 100.0...
julia> fill(💯, (5,5))
5x5 Array{MathConst{:💯},2}:
💯 = 100.0... 💯 = 100.0... 💯 = 100.0... 💯 = 100.0... 💯 = 100.0...
💯 = 100.0... 💯 = 100.0... 💯 = 100.0... 💯 = 100.0... 💯 = 100.0...
💯 = 100.0... 💯 = 100.0... 💯 = 100.0... 💯 = 100.0... 💯 = 100.0...
💯 = 100.0... 💯 = 100.0... 💯 = 100.0... 💯 = 100.0... 💯 = 100.0...
💯 = 100.0... 💯 = 100.0... 💯 = 100.0... 💯 = 100.0... 💯 = 100.0... |
|
Love it! |
|
Defining 👍 as a function appears to hang the REPL :( |
|
We actually probably don't want 💯 as a MathConst, as all the inequality functions assume that MathConsts are irrational. We could have const 💯 =100 though. |
|
Obviously this PR is just for fun, but it is entertaining enough that it might be worthwhile to have it as an easter-egg. |
|
Is there a way to add completions at run-time so that |
|
There might be a way, but the latex substitution claims the convenient |
|
@Keno likes emojis. |
|
man, I just did a build this morning. Now I get to rebuild. Thanks. :) |
|
👍 Emojis are clearly the future. Is the following a problem with my terminal or julia? If you type, 👍 123 (without space), it looks fine, once you press return the 1 overlaps the 👍. Perhaps this because the length(":+1:") == 1? (Should it be 2?) I also see this if I tab complete two 👍👍 in a row. |
Ah, I see. I was hoping that those were themselves runtime extensible. But definitely in the "nice-to-have" category. |
|
Today's XKCD's alt text: http://xkcd.com/1513/ |
To quote @jiahao:
Happy April 1st