# New operators

**URL:** <https://discuss.kotlinlang.org/t/new-operators/4125>\
**Category:** Language Design\
**Created:** [August 10, 2017, 8:35am UTC](https://discuss.kotlinlang.org/t/new-operators/4125 "2017-08-10T08:35:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tieskedh](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/tieskedh/32/2816_2.png) [@tieskedh](https://discuss.kotlinlang.org/u/tieskedh)\
**Post date:** [August 10, 2017, 9:16am UTC](https://discuss.kotlinlang.org/t/new-operators/4125/2 "2017-08-10T09:16:35Z")

</div>

There are multiple discussions going on:

For the binary operators:

[https://youtrack.jetbrains.com/issueMobile/KT-1440](https://youtrack.jetbrains.com/issueMobile/KT-1440)

For function literals:

> [@Plans for collection literals?](https://discuss.kotlinlang.org/t/plans-for-collection-literals/2049):
>
> I’ve read about collections literals (or the whish for them) in Kotlin from time to time. But I’ve found no official statement whether they should be introduced some times or not. I think of something like this: val myList = [3, 1, 2, 3] val mySet = {1, 2, 3} // or [1, 2, 3].asSet val myMap = {"a" : 1, "b" : 2, "c": 3} Although listOf etc. is not too bad, such a syntax would be very handy. Are there any plans to introduce collection literals?

(function literals do exist at the moment for annotations)

Ps. For the mapping note:

> [@Plans for collection literals?](https://discuss.kotlinlang.org/t/plans-for-collection-literals/2049/8):
>
> Just pointing out that Kotlin already has the “to” infix method so if they did implement anything it would probably look more like: val myMap = {"a" to 1, "b" to 2, "c" to 3}

---

_[View the full topic](https://discuss.kotlinlang.org/t/new-operators/4125)._
