4 ms·
I agree that it's difficult to represent graphs textually. So why not do it graphically?
by panic 17y ago
I agree that it's difficult to represent graphs textually. So why not do it graphically?
- blasdel 17y agoBeyond text, there be dragons.
- iman 17y agoThe yampa library is an embedded domain specific language for haskell that is graph based. With regular haskell syntax it is indeed quite tricky (and ugly) to describe the graphs, but there is a popular haskell extension (arrow syntax) that makes things very elegant. You give names to the nodes of the graph and then you describe the connections between the nodes yampa is used for making interactive simulations (games) or graphical user interfaces. It takes a purely functional approach to these problem domains (no monads!) http://www.haskell.org/yampa/ http://www.haskell.org/yampa/