Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.

Different ways to write guards #4

Open
yuanchuan opened this issue Jan 18, 2018 · 0 comments
Open

Different ways to write guards #4

yuanchuan opened this issue Jan 18, 2018 · 0 comments

Comments

@yuanchuan
Copy link
Owner

yuanchuan commented Jan 18, 2018

// currently supported
match(
  x => 2, when(x => x > 3)
)

// no support
match(
  (x = when(x > 3)) => 2
)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant