{"push_id":768729468,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"d7a5f177da1abd0786365a96d9cfb40cf9ca018c","before":"7a6a92a11e299d065844301381c62ff60a0e2179","commits":[{"sha":"d7a5f177da1abd0786365a96d9cfb40cf9ca018c","author":{"email":"8637b6ee7c10938f838264b7f31f34eee5247eb2@gmail.com","name":"Sebastian Ivarsson"},"message":"Continue work on getting some initial functionality.\n\nThe program now just prints what it should be doing to simplify\ndebugging.\n\nAdded a RmMonad which is a StateT around IO, deriving both MonadState\nand MonadIO. This allows it to keep track of some paths as state, and\nalso perform the IO-operations required. The state now contains three\npaths: The temp-dir where the files are to be moved, the basepath of the\nargument passed to the program (~ $ rm.hs a/b/c would give a basepath of\n~/a/b) and a relative path which is to be preserved in the temp-dir (if\na contains b and c/d, $ rm.hs a should move a/b and a/c/d to the\ntemp-dir.\n\nThis required some changes both in Main and Rm and is not completely\ntested yet.","distinct":true,"url":"https://api.github.com/repos/sebiva/rm.hs/commits/d7a5f177da1abd0786365a96d9cfb40cf9ca018c"}]}