superpower 0.3.0
superpower: ^0.3.0 copied to clipboard
Lists, Iterables and Maps on steroids! π¦ Extends Lists with negative indices, sortedBy(), groupBy(), distinct(), slice(), flatten() etc. Inspired by Kotlin.
0.3.0 #
- Breaking:
$Iterable.whereNotNull->$Iterable.whereNotNull() - Added
$Mapand$map() - Added
$Iterable.all(),$Iterable.toMap(),$Iterable.windowed() - Added parameter
nto$Iterable.cycle() - Added more tests
- Fix wrong naming in docs:
is really calledsortBysortedBy(thanks @bltavares) - Improved docs and added examples to many functions
0.2.0 #
- Remove
drop()anddropWhile()from$Listand$Iterable(useskip()andskipWhile()instead) - Add
$it()as short form of$Iterable() - Add test cases
0.1.3 #
- Add
$Iterable.joinToString(),$Iterable.onEach()and$Iterable.shuffled
0.1.2 #
- Add
$Iterable.mapNotNull()
0.1.1 #
- Documentation fixes
0.1.0 #
- First release