DEV Community

Dave Orme
Dave Orme

Posted on

Ode to FP in Scala

val fable =
  ("Nouns *AND* verbs, what a thought!" ::
   "I'd heard they'd fought" ::
   "War!" ::
   "Internet said, 'WOT?  NOT!'" ::
   "Verbs are still an afterthought?" ::
   "Noire..." ::
   "A val, he kills" ::
   Nil)

fable(0)

Top comments (0)