本文介绍了netwire的完整示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已阅读netwire ,但我在想象如何在真实应用程序中看起来像是有问题。由于本教程仅涉及纯电线,如果有任何游戏,我特别感兴趣,但我不介意其他人。反应香蕉的例子可能会做得很好。他们应该只是说明FRP是如何有用的。

解决方案

对于那些在未来遇到这种情况的人,我认为这是一个使用netwire的完整应用程序的一个很好的例子。他也开始(从今天起)为PACMAN工作。




I've read the netwire quickstart, but I have problems imagining how the whole thing would look like in a 'real' application. As the tutorial only deals with pure wires, I'm especially interested in in games if there are any, but I wouldn't mind others. Reactive Banana examples would probably do as well. They should just illustrate how FRP is useful.

解决方案

For those of you who stumble on this in the future, I thought this was a great example of a full application using netwire. He is also starting (as of today) to work on PACMAN as well.

http://www.reddit.com/r/haskell/comments/1kmes7/building_an_asteroids_clone_in_haskell_using/

http://ocharles.org.uk/blog/posts/2013-08-18-asteroids-in-netwire.html

https://github.com/ocharles/netwire-classics/

这篇关于netwire的完整示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-24 22:01