After having seen Brent Yorgey’s blog post, I started hacking-up a simple Happstack webapp to display factorization diagrams. This has been pretty straight forward, although the code isn’t really clean nor idiomatic. I just felt like quickly putting something up and running during the little free time I have had this weekend. You can play with the app at diagrams.alpmestan.com. Here is an example of generated SVG.

1235’s factorization
1235’s factorization