Erick Tryzelaar wrote:
> match "hello" with
> | "hi" => expr1
> | regex2 => expr2
> | regex3 => expr3
> | regex4 as m:regex_match => expr4
> | regex5 as s:list[string] => expr5
> | regex6 => expr6
> | "ho" => expr7
> | _ => expr8
> endmatch

I mean:

match "hello" with
| "hi" => expr1
| regex2 => expr2
| regex3 => expr3
| regex4 as ?m:regex_match => expr4
| regex5 as ?s:list[string] => expr5
| regex6 => expr6
| "ho" => expr7
| _ => expr8
endmatch


Also, can we do this already?

match Some "hi" with
| Some _ as ?x => ... // x == Some "hi"
| None => ...
endmatch


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to