Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Split out auto-recompilation into a standalone tool using hint #5

fryguybob opened this Issue · 5 comments

2 participants


(Imported from Original issue from on April 2, 2011, 06:07:57 PM UTC)

See the #diagrams IRC logs from 1 April 2011 for some ideas on what could be done here.

@fryguybob fryguybob was assigned

(Imported. Original comment by on April 8, 2011, 12:31:29 AM UTC)

Here is a minimal example of using hint with diagrams:


(Imported. Original comment by on April 9, 2011, 04:50:38 PM UTC)

Here is a fuller example (I had a little more time this weekend as an Ultimate tournament was cancelled).

Right now this is just repl rendering but it should be easy to add looped compile. I can make a diagrams-hint project unless there is any objection.


(Imported. Original comment by on April 11, 2011, 02:33:25 AM UTC)

Awesome, go for it!


(Imported. Original comment by on April 11, 2011, 11:13:48 AM UTC)

I have the project up here:

I'm in the process of reordering the transformer stack so we can keep a module in context. At that point we will basically have a simple version of ghci where we can choose what to do when asked to "evaluate" a diagram. I also discovered that hakyll monitors for file system changes on Linux using hinotify (when built with the inotify flag). It should be easy to do something similar (on Windows this requires using IO completion ports which I might tackle at some point).


Is this superceded by using fsnotify, eg, diagrams/diagrams-lib#213?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.