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

Add shortcuts for local and lambda #13

Closed
wants to merge 2 commits into from

Conversation

kaifee-haque
Copy link
Contributor

Summary of Changes

  • Shortcut for local definitions
  • Shortcut for anonymous functions
    • full expression uses lambda as the character isn't supported by MarkUs yet
  • else clause for cond expression is moved to its own line

@kaifee-haque kaifee-haque changed the title Func values Add shortcuts for local and lambda Nov 21, 2020
Copy link
Owner

@Raymo111 Raymo111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have shortcuts for lambda, I just haven't pushed them yet. Markus does support the greek character; I submitted my last assignment with it and it looks cleaner. I'd like to keep else on the same line because it's easier to hit enter than to deal with formatting. I might also implement another cond to check if something is empty and return empty (I'll call it bc for base case or something).

@Raymo111
Copy link
Owner

I'm closing this PR for now just because I've already implemented this; give me a week or two to merge them before adding anything else. Thanks for contributing!

@Raymo111 Raymo111 closed this Nov 21, 2020
@kaifee-haque kaifee-haque deleted the func-values branch November 21, 2020 19:38
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.

2 participants