When coding in Haskell it is helpfull to define function results as “undefined” while you write the skeleton of your application. That way the executable compiles and let’s you work in order parts/cases under your attention.
Is there any equivalent thing in Scala? I’d like to write something similar to:
def notAbleToWriteThisYet = undefined
Also see this thread on the mailing list.
Scala 2.10.0-M1:
(defined in
Predef.scalaasdef ??? : Nothing = throw new NotImplementedError.)