-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial: typesfuns #21
Comments
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L276
|
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L316
|
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L519
|
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L573
|
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L717
|
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L748
|
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L788
https://en.wiktionary.org/wiki/predicate |
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L833
|
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L880 I/O -> 输入输出? RE: 没必要吧?程序员都知道啥是 I/O Re: Re: OK. |
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L894 纯粹语言 (pure language) |
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L906
|
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L1070
|
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L1105
RE: 我想这里的 codata 更多指下文代码中的关键字。 |
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L1591
|
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L1684
RE: 这里其实可以用班级来指代文中的 class |
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L1822
RE: 对于序对这个数据结构,这里确实可以用析构。 |
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L1859
|
我还是觉得应该翻译此处的codata,如果表示关键字的话,应该是用 backticks 包起来的。 |
那就用 backticks 包起来吧,好多引用代码中函数名或参数的地方都没有 `` = =|| |
我觉得根据上下文这里需要翻译,因为原文描述的是余数据类型的限制,而不是关键字的限制。
Best
Fangyi Zhou
RE: 好吧= =
Issue 的回复引用机制真是恶心= =||
… On 17 Mar 2018, at 11:11, Oling Cat ***@***.***> wrote:
我还是觉得应该翻译此处的codata,如果表示关键字的话,应该是用 backticks 包起来的。
那就用 backticks 包起来吧,好多引用代码中函数名或参数的地方都没有 `` = =||
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
咱又自己考虑了一下,它虽然在类型中,但语义上确实是一个谓词。
在这里, |
向量的谓词是什么呢?
我平时阅读的中文文献不多,但这样的说法让我觉得有一点奇怪。
其他译者有什么意见么?
…On Mon, 26 Mar 2018 at 22:41 Oling Cat ***@***.***> wrote:
https://github.com/Idris-zh/Idris-dev/blame/master/docs/tutorial/typesfuns.rst#L788
- 例如,我们可能希望在以下定义中描述隐式参数的类型,它为向量定义了谓词(它也在
- 例如,我们可能希望在以下定义中描述隐式参数的类型,它为向量定义了前提(它也在
https://en.wiktionary.org/wiki/predicate
此处的predicate属于(2)logic,不属于(1)grammar
咱又自己考虑了一下,它虽然在类型中,但语义上确实是一个谓词。
谓词,用来描述或判定客体性质、特征或者客体之间关系的词项。根据《现代汉语》的定义,汉语的体词包括名词,数词,量词;汉语的谓词包括动词和形容词。谓,在古文中与「是」等同,表示判断。
在这里,IsElem 根据构造器参数构造出一个类型Here或There来表示判断,这也是把语义编码成类型的一个例子。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHdBDy5nbu8A1qIokl2VM-zMOr7bc3f7ks5tiP4XgaJpZM4Stqwa>
.
|
不是向量的谓词,而是对向量的元素定义了谓词。即 |
The text was updated successfully, but these errors were encountered: