Edit

kc3-lang/kc3/test/ikc3/list.out.expected

Branch :

  • test/ikc3/list.out.expected
  • []
    [[]]
    [[], []]
    [[], [], []]
    [[], [], [], []]
    [[], []]
    [[], [], []]
    [[], [], []]
    [[], [], [], []]
    [[], []]
    [[], [], []]
    [[], [], [], []]
    [[[], []], [], []]
    [[[]], []]
    [:a]
    [:a, :b]
    [:a, :b, :c]
    [:a | :b]
    [:a, :b | :c]
    [:a, :b, :c, :d]
    [:a, :b, :c | :d]
    [:a, :b, :c | :d]
    List.map([1, 2, 3, 4], fn (x) { x * 2 })
    [2, 4, 6, 8]
    List.reverse([1, 2, 3, 4])
    [4, 3, 2, 1]
    List.has?([:read], :read)
    true
    List.has?([:read], :write)
    false
    List.join(["1", "2", "3"], ", ")
    "1, 2, 3"
    List.each([1, 2, 3], fn (x) { puts(x) })
    1
    2
    3
    true
    List.last([1, 2, 3])
    3