-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Final representation #79
Final representation #79
Conversation
* X86_64 removed from _CoqProject
travis build seems to fail. Can you check the cryptolib directory and do a make from there. |
I did (or rather I went through the details of the travis build failure) and the error was opaque to me. Preliminary research suggests this might be the issue. |
On Sun, Oct 07, 2018 at 09:08:56AM -0700, dangabhi wrote:
> travis build seems to fail. Can you check the cryptolib directory and do a make from there.
I did (or rather I went through the details of the travis build failure) and the error was opaque to me.
Was kinda hoping you would be able to tell me what the issue is there.
Did you try building it locally on your machine ? I will have a look at it.
|
src/Verse/Compile.v
Outdated
{| setup := Ast.setup i; | ||
process := Ast.process i x; | ||
finalise := Ast.finalise i | ||
{| setupB := Ast.setup i; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this record is only locally used why cant this be just a tuple ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tuples are uglier to destruct and use once more than two components.
Is there a particular reason you prefer tuples over records?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to stick to the record or would just a tuple suffice given that you really use it only once. You can I guess just give it as let (stp,proc,fnl) := whatever in stuff
and be done with it.
On Mon, Oct 08, 2018 at 09:47:52AM +0000, dangabhi wrote:
dangabhi commented on this pull request.
> }.
Local Definition mkBlocks v x (i : iterator codeT v) :=
- {| setup := Ast.setup i;
- process := Ast.process i x;
- finalise := Ast.finalise i
+ {| setupB := Ast.setup i;
Tuples are uglier to destruct and use once more than two components.
Is there a particular reason you prefer tuples over records?
What you say is true when we use only part of the tuple. In this case
you need all the three components so why not just tuples.
|
Have made some changes to CryptoLib which, I have to guess, you will want to change. But these versions work.
Have not checked code for compilation yet.