स्काला आरईपीएल एक में मूल्य प्रकार पा सकते हैं:स्कैला आरपीएल: फ़ंक्शन प्रकार कैसे ढूंढें?
scala> val x = 1
x: Int = 1
scala> :t x
Int
फिर भी स्काला आरईपीएल कार्यों के लिए प्रकार की जानकारी प्रदर्शित नहीं करता है:
scala> def inc(x:Int) = x + 1
inc: (x: Int)Int
scala> :t inc
<console>:9: error: missing arguments for method inc;
follow this method with `_' if you want to treat it as a partially applied function
inc
^
<console>:9: error: missing arguments for method inc;
follow this method with `_' if you want to treat it as a partially applied function
inc
^
कैसे स्काला आरईपीएल में समारोह प्रकार खोजने के लिए?
कैसे कर त्रुटि संदेश में यह क्या कहते हैं के बारे में? – folone
[इस] के संभावित डुप्लिकेट (http://stackoverflow.com/questions/15583551/type-information-in-the-scala-repl) –