Skip to content
Snippets Groups Projects
  1. Aug 07, 2014
    • Etienne Kneuss's avatar
      New list operations · ad33512e
      Etienne Kneuss authored
      List:
        slice(from: Int, to: Int): List[T]
        replace(from: T, to: T): List[T]
        chunks(s: Int): List[List[T]]
        zip[B](that: List[B]): List[(T, B)]
        -(e: T): List[T]
        --(that: List[T]): List[T]
        &(that: List[T]): List[T]
        pad(s: Int, e: T): List[T]
        find(e: T): Option[Int]
        lastOption: Option[T]
        firstOption: Option[T]
        unique: List[T]
        splitAt(e: T): List[List[T]]
        split(seps: List[T]): List[List[T]]
        count(e: T): Int
        evenSplit: (List[T], List[T])
        insertAt(pos: Int, l: List[T]): List[T]
        replaceAt(pos: Int, l: List[T]): List[T]
        rotate(s: Int): List[T]
      
      ListOps:
        flatten[T](ls: List[List[T]]): List[T]
      ad33512e
    • Etienne Kneuss's avatar
  2. Jul 30, 2014
  3. Jul 29, 2014
  4. Jun 05, 2014
  5. May 30, 2014
  6. May 21, 2014
  7. May 06, 2014
  8. May 05, 2014
  9. Apr 25, 2014
  10. Apr 11, 2014
  11. Apr 09, 2014
  12. Apr 08, 2014
  13. Apr 07, 2014
  14. Mar 25, 2014
  15. Mar 21, 2014
  16. Mar 20, 2014
  17. Mar 17, 2014
  18. Mar 14, 2014
  19. Mar 13, 2014
Loading