mno2 / learnyouahaskell-zh Goto Github PK
View Code? Open in Web Editor NEWChinese translation of Learn you a Haskell for great good
Chinese translation of Learn you a Haskell for great good
After migration, use gitbook as the hosting service but not github pages. And shutting down the learnyouahaskell-zh-tw organization account, transferring the ownership back to @MnO2
In chapter 5, 'recursion' is translate to "递回", it's a little weird. In mainland China ,we usually use "递归" other than "递回" to stand for 'recursion'.
Reference: gitbook-plugin-zawgyicss. The gitbook's default chinese font is not good looking.
如题
Copy the file to gitbook folder and change the syntax format.
`
=> `
`
=> ```
github support the syntax of haskell, why not use it?
if so, I am glad to replace it.
现在页面上英文非等宽字体使用了 Web Fonts, 样式是达成美观一致了,
存在的问题是 Web Fonts 加载慢, 页面打开有半秒钟的空白
考虑替换 Inder 的方案, 不知道是否可行, 先抛出来:
OS X 采用 Optima http://www.fonts.com/font/adobe/optima#product_top
Ubuntu 采用 Ubuntu http://font.ubuntu.com/
Windows 采用 Verdana http://www.fontpalace.com/font-download/Verdana/
另外中文针对 OS X 增加冬青黑体 (Hiragino Sans GB).
Most probably to be Imgur. Free of charge.
在第五章 recursion 的 用遞迴來思考 部分,誤將 factorial 譯成 Fibonacci
For easier management.
The code
calcBmis xs = [bmi w h | (w, h) <- xs]
where bmi weight height = weight / height ^ 2
should be changed as
calcBmis xs = [bmi | (w, h) <- xs]
where bmi weight height = weight / height ^ 2
Data.set最后那里,集合判断是否子集的代码重复了两次,map和filter的代码给移到下方了。缺了nub的代码。
另外谢谢译者!
像是在ch02中有一段是
```text
*Note*: 在 ghci 下,我們可以使用 ``let`` 關鍵字來定義一個常量。在 ghci 下執行 ``let a=1`` 與在腳本中編寫 ``a=1`` 是等價的。
這部分在gitbook顯示出來會是
*Note*: 在 ghci 下,我們可以使用 ``let`` 關鍵字來定義一個常量。在 ghci 下執行 ``let a=1`` 與在腳本中編寫 ``a=1`` 是等價的。
與原先的網站的內容似乎仍有點差距
是否改用quote類型會比較好呢
> *Note*: 在 ghci 下,我們可以使用 ``let`` 關鍵字來定義一個常量。在 ghci 下執行 ``let a=1`` 與在腳本中編寫 ``a=1`` 是等價的。
其長相大致如
Note: 在 ghci 下,我們可以使用
let
關鍵字來定義一個常量。在 ghci 下執行let a=1
與在腳本中編寫a=1
是等價的。
Chapter 2, Near the end.
三遍 -> 三边
三遍 -> 三邊
沒有讀清楚文章,不好意思
When the gitbook migration is done. The legacy ruby scripts are no longer needed.
In section Map and Filter,
"* 的型别为 (Num a) -> a -> a -> a"
should be modified as
"* 的型别为 (Num a) => a -> a -> a"
I hope I am correct this time. :-)
可否在简介或 README 中提供在线访问本书的 URL?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.