Skip to content
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

Merged
merged 40 commits into from
Oct 8, 2018
Merged

Conversation

dangabhi
Copy link
Contributor

@dangabhi dangabhi commented Oct 7, 2018

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.

@piyush-kurur
Copy link
Member

travis build seems to fail. Can you check the cryptolib directory and do a make from there.

@dangabhi
Copy link
Contributor Author

dangabhi commented Oct 7, 2018

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.

Preliminary research suggests this might be the issue.

@piyush-kurur
Copy link
Member

piyush-kurur commented Oct 7, 2018 via email

{| setup := Ast.setup i;
process := Ast.process i x;
finalise := Ast.finalise i
{| setupB := Ast.setup i;
Copy link
Member

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 ?

Copy link
Contributor Author

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?

Copy link
Member

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.

@piyush-kurur
Copy link
Member

piyush-kurur commented Oct 8, 2018 via email

@piyush-kurur piyush-kurur merged commit 2586af6 into raaz-crypto:master Oct 8, 2018
@dangabhi dangabhi deleted the final-representation branch October 8, 2018 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants