Asked ChatGPT to write a simple Kotlin function and it did so surprisingly correctly along with an example input, I then told it to rewrite it without using var or other mutable types, and it knew the functional equivalent. Like wow.