Replies: 3 comments 2 replies
-
|
@d3adb5 I don't think so... It was only a convenience, because I was trying to prioritize the use of CommitIO, TreeIO and BlobIO over Commit, Tree and Blob, and this somehow was easier for me to read instead of using IO Commit, etc everywhere. By now I think we can replace them. |
Beta Was this translation helpful? Give feedback.
-
|
Git itself works with files every time, as it is, basically, a bunch of commands that manipulate the .git directory. I think it is easier to model in C or any other language that doesn't have its IO so decoupled as Haskell. My idea here in prioritizing the use of IO * instead of |
Beta Was this translation helpful? Give feedback.
-
|
Hi @d3adb5! I've just replaced it here: #9. Seems to be working, and it's much more elegant |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed in
Core.Objectthere are some type synonyms forIO Commit,IO TreeandIO Blob. Are there any advantages to seeingCommitIOoverIO Commit? Personally I think it just adds needless indirection, making the code a little harder to digest.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions