linasm - Overview

Pinned Loading

  1. Comprehending the For-Comphension ta... Comprehending the For-Comphension talk, Vilnius, Nov 2018

    1

    sealed abstract class Perhaps[+A] {

    2

      def foreach(f: A => Unit): Unit

    3

      def map[B](f: A => B): Perhaps[B]

    4

      def flatMap[B](f: A => Perhaps[B]): Perhaps[B]

    5

      def withFilter(f: A => Boolean): Perhaps[A]
  2. Output of live coding session "Scala... Output of live coding session "Scala pattern matching: apply the unapply"

    1

    import java.time.{LocalDate, LocalDateTime, LocalTime}

    2

    
                  

    3

    /*case */class FullName(val first: String, val last: String)

    4

    
                  

    5

    object FullName {
  3. m3db/m3 m3db/m3 Public

    M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform

    Go 4.9k 458