process icon indicating copy to clipboard operation
process copied to clipboard

Functional extension: guide the process by a 'pattern matching'-like construct

Open gvandeglind opened this issue 10 years ago • 5 comments

e.g. http://docs.scala-lang.org/tutorials/tour/pattern-matching.html

gvandeglind avatar Aug 12 '15 19:08 gvandeglind

Yes, that would be nice. Maybe we can first write a test case for it to see when in particular this will be useful.

jgordijn avatar Aug 12 '15 19:08 jgordijn

Yes, that's a good idea. I think once there is support for pattern matching I would (often) prefer this over the if statement, since it will make the process more readable particularly when there are multiple (more then 2) cases (which would lead to nested if constructs).

gvandeglind avatar Aug 12 '15 20:08 gvandeglind

Issue is in progress...I would like to put a label on it that I am working on it (it's in progress), but probably I don't have the right to do so ;-)

gvandeglind avatar Sep 02 '15 18:09 gvandeglind

I added you as collaborator @gvandeglind . Can you try again?

jgordijn avatar Sep 05 '15 07:09 jgordijn

Thanks! I have assigned it to myself. btw, the pattern matching is almost working...I still need to extend the DSL to be able to actually use the new construct.

gvandeglind avatar Sep 07 '15 08:09 gvandeglind