
woodheadz 发表于 3-6-2014 12:17
比objectC好多了,但我还是不喜欢里面一些匪夷所思的地方。比如这个:
func simpleDescription() -> St ...
woodheadz 发表于 3-6-2014 14:17
比objectC好多了,但我还是不喜欢里面一些匪夷所思的地方。比如这个:
func simpleDescription() -> St ...
woodheadz 发表于 3-6-2014 14:17
比objectC好多了,但我还是不喜欢里面一些匪夷所思的地方。比如这个:
func simpleDescription() -> St ...
trisun 发表于 3-6-2014 14:41
习惯了就好, HasKell的语法开始看起来也比较怪:
addVectors :: (Num a) => (a, a) -> (a, a) -> (a, ...

trisun 发表于 3-6-2014 14:41
习惯了就好, HasKell的语法开始看起来也比较怪:
addVectors :: (Num a) => (a, a) -> (a, a) -> (a, ...
var mathFunction: (Int, Int) -> Int = addTwoInts



DDD888 发表于 4-6-2014 12:55
问一下,是否该编程语言已经推出?是要下载新的xcode吗?
做PL的可能是少数几个跟工业界关系紧密的研究领域吧。
The type of both of these functions is (Int, Int) -> Int. This can be read as:
“A function type that has two parameters, both of type Int, and that returns a value of type Int.”
This can be read as:
“Define a variable called mathFunction, which has a type of ‘a function that takes two Int values, and returns an Int value.’ Set this new variable to refer to the function called addTwoInts.”


Jay@Au 发表于 5-6-2014 09:42
我没有交99,所以看不到。你是交了99的会员应该可以看到啊, https://developer.apple.com/devcenter/ios ...
Jay@Au 发表于 5-6-2014 12:06
估计链接的确不好找, 看看这个帖子http://apple.stackexchange.com/questions/132842/where-can-i-downl ...


| 欢迎光临 FreeOZ论坛 (https://www.freeoz.org/bbs/) | Powered by Discuz! X3.2 |