kotlin - pannous/wasp GitHub Wiki

https://github.com/pannous/cheats/blob/master/cheats.kotlin

Good language except some fundamentals: Not all of the following math assertions hold in kotlin:

    assert_is("1 ⋁ 1 ∧ 0", 1);
    assert_is("1 ⋁ 0 ∧ 1", 1);
    assert_is("1 ⋁ 0 ∧ 0", 1);
    assert_is("0 ⋁ 1 ∧ 0", 0);
    assert_is("0 ⋁ 0 ∧ 1", 0);
    assert_is("true or true and false", true);
    assert_is("true or false and true", true);
    assert_is("true or false and false", true);
    assert_is("false or true and false", false);
    assert_is("false or false and true", false);

Failing and basic logic is almost unforgivable!