Skip to content
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

haskell流程 #35

Open
boboyada opened this issue Jan 13, 2017 · 1 comment
Open

haskell流程 #35

boboyada opened this issue Jan 13, 2017 · 1 comment

Comments

@boboyada
Copy link

boboyada commented Jan 13, 2017

从java转而学习haskell,太颠覆我以前的随意的习惯了,感觉处处是沟沟坎坎,寸步难行,有太多的疑问,偏偏IDE工具也与以前的eclipse不同,既有语言问题又有工具问题,有时想调试一下,单步跟踪来查看相关信息,却无法下手。希望magic haskell一书的作者,能有机会写写这方面的中文资料。
比如我有三个函数f1,f2,f3,和flow主控函数,我希望在这个flow主控函数里,按照自己的意图,分别运行f1,f3,f2函数。仅仅面对这样的一个简单的功能需求,我却是无从下手?如何表达这种需求?
在haskell函数里,无法顺序运行多个函数或语句?
内心都要抓狂了

@winterland1989
Copy link
Owner

不知你可看过我的系列视频?总的说来haskell的程序是一个巨大的表达式,对这个表达求值的过程就是程序执行的过程,为了构建需要的流程控制,我们往往需要借助Monad这样的抽象,所以还望你不要着急,一步一步理解haskell里的抽象,多练习练习,其实并没有你想象的那么困难。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants