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

MVP closures #1

Open
wants to merge 1 commit into
base: mvp
Choose a base branch
from
Open

Conversation

MartinKavik
Copy link

  • removed global state
  • removed seed::update
  • updateMap called with entries

Note:
Closure::new isn't in stable Rust - I've written it for Seed and allowed to use in user apps, but it's limited, you can't change its signature (like add parameters). Alternative is Closure::wrap or switch to nightly Rust (Seed is not 100% tested on nigthly, e.g. I had to add some type annotations because of it).

Function start should be refactored a little bit in the future.

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.

1 participant