Edit

kc3-lang/kc3/.ikc3_history

Branch :

  • .ikc3_history
  • Serialize.to_str(s)
    s = Serialize.new()
    s = Serialize.tag_to_str(12)
    Deserialize.str_to_tag(s)
    s = Serialize.tag_to_str(12)
    Deserialize.str_to_tag(s)
    s = Serialize.tag_to_str(12)
    Deserialize.str_to_tag(s)
    sysctl([:hw, :ncpu])
    sysctl([:hw])
    sysctl([:hw, :ncpu, :a])
    SMTP.open
    s = SMTP.open("localhost", "25", :plop, :debug, "")
    s = SMTP.open("localhost", "25", :none, :none, "")
    SMTP.close(s)
    1 || 2
    false || 2
    false || false
    false || 0
    true && 1
    true && 10
    SMTP.sendmail("dx@kmx.io", "Thomas de Grivel", "root@kmx.io", "Charlie Root", "test", "Test test !")
    inspect((Sw) 3)
    inspect((Sw) -3)
    inspect((Sw) -3000)
    inspect((Sw) -300000000)
    inspect((Sw) -30000000000000)
    inspect((Sw) -300000000000000000000000000000000000000000)
    inspect({1, 2})
    inspect({"a', 2})
    inspect({"a", 2})
    "#{inspect({"a", 2})}"
    "#{inspect({:a, 2})}"
    x = "123"; "#{inspect({x, 2})}"
    "#{inspect({x, %HTTP.Upload{}})}"
    "#{inspect(%HTTP.Upload{})}"
    quit
    q
    "#{inspect(%HTTP.Upload{})}"
    git diff
    Math.pow(2, 3)
    Math.greatest_divisor(4)
    Math.greatest_divisor(5)
    Math.greatest_divisor(6)
    Math.greatest_divisor(4)
    Math.greatest_divisor(1)
    Math.greatest_divisor(2)
    Math.greatest_divisor(3)
    Math.greatest_divisor(4)
    Math.greatest_divisor(5)
    Math.nth_mersenne_prime(2, 1)
    Math.nth_mersenne_prime(2, 2)
    Math.nth_mersenne_prime(2, 3)
    Math.nth_mersenne_prime(2, 1)
    Math.nth_mersenne_prime(2, 2)
    Math.nth_mersenne_prime(2, 3)
    Math.nth_mersenne_prime(2, 4)
    Math.nth_mersenne_prime((Integer) 2, 4)
    Math.nth_mersenne_prime(2, 4)
    Math.nth_mersenne_prime(2, 1)
    Math.nth_mersenne_prime(2, 2)
    Math.nth_mersenne_prime(2, 3)
    Math.nth_mersenne_prime(2, 4)
    Math.nth_mersenne_prime(2, 5)
    type(Math.nth_mersenne_prime(2, 5))
    Math.mersenne_prime(1)
    Math.mersenne_prime_test(5)
    Math.mersenne_prime_test(6)
    Math.next_greatest_divisor(1)
    Math.next_greatest_divisor(2)
    Math.next_greatest_divisor(3)
    Math.next_greatest_divisor(4)
    Math.next_greatest_divisor(1)
    Math.next_greatest_divisor(2)
    Math.next_greatest_divisor(3)
    Math.next_greatest_divisor(4)
    Math.next_greatest_divisor(1)
    Math.next_greatest_divisor(2)
    Math.next_greatest_divisor(3)
    Math.next_greatest_divisor(4)
    Math.next_greatest_divisor(5)
    Math.next_greatest_divisor(4)
    Math.next_prime(1024)
    Math.next_prime(10240)
    Math.next_prime(102400)
    123
    __DIR__
    Ratio.pow(2/3, 3/1)
    1 + 1
    inspect(fn (a, b) { a + b })
    type(fn (a, b) { a + b })
    x = fn (a, b) { a + b }
    inspect(x)
    x = fn (a, b) { a + b }
    inspect(x)
    x = fn (a, b) { a + b }
    inspect(x)
    +(1, 1)
    1 + 1