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

Support "exception" under or-patterns #6422

Closed
vicuna opened this issue May 14, 2014 · 4 comments

Comments

Projects
None yet
2 participants
@vicuna
Copy link

commented May 14, 2014

Original bug ID: 6422
Reporter: @alainfrisch
Assigned to: @trefis
Status: resolved (set by @alainfrisch on 2018-11-09T13:03:05Z)
Resolution: fixed
Priority: normal
Severity: feature
Fixed in version: 4.08.0+dev/beta1/beta2
Category: typing
Has duplicate: #6432
Related to: #6318 #6423
Monitored by: @nojb @diml jmeber @yallop @hcarty @yakobowski @mmottl

Bug description

The idea is to be able to share branches between value and exception branches in "pattern match with exceptions". This has been discussed along with the new feature, and this ticket is here for future reference.

@vicuna

This comment has been minimized.

Copy link
Author

commented May 14, 2014

Comment author: @alainfrisch

LexiFi developers happily start using the new feature. The feedback is excellent, and the "need" for support under or pattern has popped up very quickly.

@vicuna

This comment has been minimized.

Copy link
Author

commented Aug 27, 2015

Comment author: @mmottl

I've just run into this issue, too, when more flexible pattern matching with exceptions would have made my code so much nicer.

@vicuna

This comment has been minimized.

Copy link
Author

commented Nov 23, 2015

Comment author: @trefis

A proposal for this is available at #305 .
Review welcomed.

@vicuna

This comment has been minimized.

Copy link
Author

commented Jan 15, 2018

Comment author: @trefis

An updated proposal is at : #1568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.