Time for an 2014 update…

This commit is contained in:
Ingy döt Net 2014-01-17 05:32:22 +00:00
parent 372c577f83
commit 09687c4926
2520 changed files with 34227 additions and 7318 deletions

View file

@ -0,0 +1,3 @@
julia> 四十二 = "voilà";
julia> println(四十二)
voilà

View file

@ -0,0 +1,2 @@
julia>println("\u2708")

View file

@ -1,12 +0,0 @@
function surround(string ; border = :default)
ve, ho, ul, ur, dl, dr =
border == :bold ? ("\u2503","\u2501","\u250F","\u2513","\u2517","\u251b") :
border == :double? ("\u2551","\u2550","\u2554","\u2557","\u255a","\u255d") :
border == :dotted? ("\u254e","\u254c","\u250c","\u2510","\u2514","\u2518") :
("\u2502","\u2500","\u250c","\u2510","\u2514","\u2518")
println(ul,ho^length(string),ur,"\n",
ve, string ,ve,"\n",
dl,ho^length(string),dr)
end

View file

@ -1,2 +1,2 @@
sub prefix:<> ($#56655;) { $#56655; ** (1/3) }
sub prefix:<> (\𝐕) { 𝐕 ** (1/3) }
say27; # prints 3

View file

@ -0,0 +1,5 @@
def Σ(array)
array.inject(:+)
end
puts Σ([4,5,6]) #=>15