Haskell way to explore https:https://cdn.v2ex.com/navatar/0fcb/c61a/531_normal.png?m=1421573082 https:https://cdn.v2ex.com/navatar/0fcb/c61a/531_large.png?m=1421573082 2022-05-15T02:38:13Z Copyright © 2010-2018, V2EX 哪个函数返回参数本身? tag:www.v2ex.com,2022-02-16:/t/834182 2022-02-16T03:38:15Z 2022-05-15T02:38:13Z pythonee member/pythonee 作为几年前只看过 learn you haskell for great good ,敲过一些练习代码的人士,这个问题真不明白了

]]>
GHC 9.2 发布了 tag:www.v2ex.com,2021-10-31:/t/811919 2021-10-31T10:36:03Z 2021-10-31T10:36:03Z ekd123 member/ekd123 消息元:
https://discourse.haskell.org/t/ghc-9-2-1-released/

]]> 那本书可以称为编程界的《葵花宝典》? tag:www.v2ex.com,2018-11-07:/t/505480 2018-11-07T10:09:04Z 2019-05-25T04:52:55Z Jex member/Jex 欲练神功,必先自宫,说的就是……?

]]>
国内有什么好的 Haskell 社群( qq/wechat/论坛)吗? tag:www.v2ex.com,2017-03-22:/t/349447 2017-03-22T06:00:52Z 2017-03-22T06:24:27Z sirqiao member/sirqiao 如何修复错误“Variable not in scope: md5 :: C8.ByteString -> a0”? tag:www.v2ex.com,2016-11-23:/t/322744 2016-11-23T10:20:10Z 2016-11-23T10:17:10Z luckypoem member/luckypoem


git clone https://github.com/ian-ross/blog ian-ross-blog

cd ian-ross-blog

cd build

i modified blog.hs:

delete "import System.Locale (defaultTimeLocale)"

change "import Data.Time.Format (formatTime)" to be

"import Data.Time.Format (formatTime, defaultTimeLocale)"

then i ran "ghc --make blog.hs",

root@AR:/usr/local/ian-ross-blog/build# ghc --make blog.hs

[1 of 2] Compiling TikZ ( TikZ.hs, TikZ.o )

TikZ.hs:148:23: error:

Variable not in scope: md5 :: C8.ByteString -> a0

root@AR:/usr/local/ian-ross-blog/build#

那么,如何修复错误“ Variable not in scope: md5 :: C8.ByteString -> a0 ”? ]]>
Haskell 这门语言怎么样? tag:www.v2ex.com,2016-06-02:/t/283133 2016-06-02T22:51:05Z 2016-06-06T19:10:45Z yocoso member/yocoso 首先我知道,它很小众。

然后很多人都说,它的函数式编程方式是很值得学习的,哪怕你不用这门语言,它给你编程思维方式的启迪是很大的。 公司有人组织一起学习 haskell, 想知道,它是否值得我付出时间。

因为时间有限,如果花时间参与学习 haskell ,必须放下另一些有价值的学习.

我的主编程语言是 Javascript ,同样是函数式编程, haskell 给我带来多大的思维转变?

我也不打算以后靠 haskell 换工作。 Javascript 是我将一直坚持的语言。

不知道 haskell 能给我带来的收获是否需要参与一个需要每周有 commitment 学习小组来实现?

]]>
写了篇 Applicative 的小总结~ tag:www.v2ex.com,2016-03-09:/t/262152 2016-03-09T04:17:50Z 2016-11-04T22:10:39Z scarlex member/scarlex http://scarletsky.github.io/2016/03/07/what-is-applicative-in-haskell/ ]]> 有没有小伙伴一起来团购 Haskell Programming 这本书 tag:www.v2ex.com,2016-02-29:/t/259977 2016-02-29T10:41:49Z 2016-03-09T12:30:07Z fatelovely member/fatelovely 关于这本书的详情,可以点击这里Haskell Programming,看起来是一本很棒的书~

最近自己在学 Haskell ,不是为了找工作,就是想学一点不一样的知识,记得曾经看过这样一句话:

任何能够改变你思考方式的知识,都值得学习

Haskell 当然属于上述知识之一。

目前我正在按照LearnHaskell的路径来进行学习,觉得很有意思~

这本书售价 59 刀,一个人买还是有点略贵,有两三个小伙伴一起买就最好了~

]]>
为什么学了 Haskell,果然印证了 V2EX 上的 智者(忘记网名)的断论,“学了 Haskell,回不去了“, 回不去了耶。 tag:www.v2ex.com,2016-02-28:/t/259708 2016-02-28T13:12:46Z 2017-01-24T21:50:21Z myid member/myid 贴 Haskell 代码,解一道小题。给任意字符串,找出长度最长的数字串。请随意扔砖头。 http://www.v2ex.com/t/259360#reply18 tag:www.v2ex.com,2016-02-28:/t/259703 2016-02-28T12:59:18Z 2016-02-28T12:56:18Z myid member/myid
longestInts :: String -> [Int]
longestInts xs = map (digitsToInt) $ longestLength $ extractDigits xs

extractDigits :: String -> [String]
extractDigits [] = []
extractDigits xs
| null $ dropWhile (not.isDigit) xs = []
| otherwise = (takeWhile (isDigit) $ dropWhile (not.isDigit) xs) : (extractDigits $ dropWhile (isDigit) $ dropWhile (not.isDigit) xs)

longestLength :: [[a]] -> [[a]]
longestLength xs = filter (\x -> length x == (maximum $ map (length) xs)) xs ]]>
一个很酷的 Hakyll 静态博客例子 tag:www.v2ex.com,2016-02-15:/t/256665 2016-02-15T09:56:59Z 2016-02-19T02:35:40Z sadhen member/sadhen https://xinitrc.de (代码: https://github.com/xinitrc/xinitrc.de
这是我的一个 fork : http://sadhen.com (代码: https://github.com/sadhen/sadhen.com

支持 Tikz 和数学公式,如 https://xinitrc.de/blog/2014/02/15/Magic-tricks.html ]]>
学习 Haskell 过程中,写了一篇对 Functor 的总结 tag:www.v2ex.com,2016-02-11:/t/256071 2016-02-11T04:04:46Z 2016-02-26T00:06:12Z scarlex member/scarlex http://scarletsky.github.io/2016/02/09/what-is-functor-in-haskell/

欢迎各位指教。 ]]>
发现一本好书《Haskell Data Analysis Cookbook》 tag:www.v2ex.com,2015-11-11:/t/235448 2015-11-11T12:46:33Z 2015-12-16T06:24:00Z irainy member/irainy book face

书中代码:Github

同时还挖到作者的一个 Haskell 课程也很不错:Introduction to Haskell, CS 1501 Lecture slides

]]>
How to Write a Spelling Corrector - Haskell tag:www.v2ex.com,2015-11-07:/t/234446 2015-11-07T10:49:01Z 2015-11-15T19:36:57Z irainy member/irainy
https://gist.github.com/rainyear/94b5d9a865601f075719
]]>
Haskell 入门学习资料整理 tag:www.v2ex.com,2015-09-07:/t/218840 2015-09-07T05:34:44Z 2015-11-22T12:29:57Z irainy member/irainy
-- 这里好冷清…… 

Haskell 入门学习资料整理

Books

  1. 《 Learn You a Haskell for Great Good!》 English | 中文
  2. 《 Real World Haskell 》 English | 中文
  3. 《 Parallel and Concurrent Programming in Haskell 》 English - Online

Resources

  1. Haskell 学习资源
  2. Awesome Haskell

Blog post

  1. 为什么我们要学习 Haskell 这样的编程语言
  2. How I Start Haskell
  3. Getting Started with Haskell
]]>
Haskell for Mac tag:www.v2ex.com,2015-08-25:/t/215961 2015-08-25T13:43:19Z 2015-08-31T23:27:42Z Livid member/Livid
http://haskellformac.com/ ]]>
Yesod - Haskell 的 Web 开发框架 tag:www.v2ex.com,2015-06-24:/t/200914 2015-06-24T13:15:40Z 2015-07-09T22:37:25Z Livid member/Livid http://yannesposito.com/Scratch/en/blog/Yesod-tutorial-for-newbies/ ]]> Haskell 怎么在只有一个元素的列表上定义函数 tag:www.v2ex.com,2014-11-27:/t/149686 2014-11-27T06:26:01Z 2014-11-27T06:37:48Z arbipher member/arbipher
foo (x:[]) = 0
foo (x:xs) | null xs = 0
这两次能通过编译,但是不能一运行就报错。

发现只有
foo xs | length xs == 1 = 0
这么定义才work,感觉很丑。。。 ]]>
一段 Haskell 代码求助! tag:www.v2ex.com,2014-11-04:/t/143923 2014-11-04T09:38:41Z 2014-11-05T16:58:48Z wcp1231 member/wcp1231 http://www.lazzaro.com.ar/#/archive/83103005589 ,前一半还能看懂,到后面就不行了,我是小白刚刚入门 Haskell,请各位大大们讲解一下。。

let dropWhile'' predicate list= (foldr (\x rec -> if precidate x then rec.tail else id) id list) list

不明白的地方有两个, rec.tail 是啥意思?应该不是过程式语言的调用吧。。
另一个是 (foldr (\x rec -> if precidate x then rec.tail else id) id list) 这段 foldr 不会是返回一个包含函数的 list 然后作用到最后的那个 list 上吧?有这种语法?

谢谢给位大大了! ]]>
Haskell 很适合做编译器前端 tag:www.v2ex.com,2014-01-29:/t/98680 2014-01-29T23:57:57Z 2014-04-10T16:18:45Z sectic member/sectic Introduction to Haskell tag:www.v2ex.com,2013-01-10:/t/57187 2013-01-10T07:28:59Z 2013-02-22T00:49:03Z Kymair member/Kymair http://shuklan.com/haskell/

已经放出了第一课
这个presentation的样式真不错 XD => http://shuklan.com/haskell/lec01.html#/ ]]>
在 Github 上弄了一个 blog, 写写 Haskell tag:www.v2ex.com,2012-08-22:/t/45817 2012-08-22T15:59:00Z 2013-05-30T16:50:47Z limu member/limu http://blog.pmonad.com/
一个人写挺无聊的, 欢迎大家位临参观,不吝赐教哇. ]]>
关于一些名词翻译的确定 tag:www.v2ex.com,2012-06-11:/t/39095 2012-06-11T08:21:09Z 2012-07-23T06:01:41Z infinte member/infinte
Type Class 翻译作「类型类」感觉不是很好,我打算翻译成「类综」,和「类型」相对。(是从统计力学里「系综」想到的……)
Type 仍然作类型。
Functor 作「函子」
Applicative 比较难翻译,先保留
Monoid 作「幺半群」

各位提些意见? ]]>
有没有人有兴趣补完 《趣学指南》 的汉语翻译? tag:www.v2ex.com,2012-04-20:/t/32768 2012-04-20T13:54:31Z 2012-11-05T00:13:58Z infinte member/infinte 贺 haskell 开区,这是交流处。 tag:www.v2ex.com,2012-04-20:/t/32739 2012-04-20T07:36:11Z 2012-09-21T03:44:19Z infinte member/infinte
下编译器去 haskell.org
看书看 RWH
顺便学数学…… ]]>
ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86