May. 27th, 2012

juan_gandhi: (Default)


(10x [livejournal.com profile] centralasian)

не то чтобы я слишком понимаю смысл происходящего на этом свете...
juan_gandhi: (Default)
  val appender = (s1: String) => (s2: String) => s1 + " " + s2

  "ApplicativeSet" should {
    "combine Johns and Pauls" in {
      import All.AppSet._
      val combinations = pure(appender) <*> Set("John", "Paul") <*> Set("the 1st", "the 2nd")
      combinations equals Set("John the 1st", "John the 2nd", "Paul the 1st", "Paul the 2nd") mustBe true
    }
  }

from a log

May. 27th, 2012 09:40 pm
juan_gandhi: (Default)
java.lang.UnsupportedOperationException: fuck you

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

September 2025

S M T W T F S
 1 2345 6
78 9 10111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 11th, 2025 07:10 am
Powered by Dreamwidth Studios