[lyah] 翻译中全角问题

4 views
Skip to first unread message

Zoom.Quiet

unread,
Feb 24, 2012, 5:23:17 AM2/24/12
to haske...@googlegroups.com
as atta.
- 原文中的组合 . 不时被 。错误替代了!
map (\l@(x:xs) -> (x,length l)) . group . sort $
[1,1,1,1,2,2,2,2,3,3,2,2,2,5,6,7]
[(1,4),(2,7),(3,2),(5,1),(6,1),(7,1)]

結果:
map (\l@(x:xs) -> (x,length l)) 。group 。sort $ [1,1,1,1,2,2,2,2,3,3,2,2,2,5,6,7]

<interactive>:1:33: Not in scope: `。'

<interactive>:1:40: Not in scope: `。'


ps:
俺都是将输入法配置成全部标点只用半角的,,,

--
人生苦短, Pythonic! 冗余不做,日子甭过!备份不做,十恶不赦!
俺: http://about.me/zoom.quiet
文字协议: http://creativecommons.org/licenses/by-sa/2.5/cn/

屏幕快照 2012-02-24 18.16.18.png
Reply all
Reply to author
Forward
0 new messages