Haskell 趣學指南

Updated 2 years ago

xiaoyulong (@peterxiao) started discussion #28

a year ago · 0 comments


就像我们之前定义的型态,分别代表一个星期的七天。这个型态代表了我们想对打开的文件做什么。很简单吧。留意到我们的型态是 IOMode 而不是 IO Mode。IO Mode 代表的是一个 I/O action 包含了一个型态为 Mode 的值,但 IOMode 不过是一个阳春的 enumeration。

Input and Output (Edit this file)

阳春的 enumeration 翻译错误

No description provided.

No comments on this discussion.

to join this conversation on GitBook. Already have an account? Sign in to comment

You’re not receiving notifications from this thread.

1 participant