Issue 3698 in pharo: removing caseOf:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3698 in pharo: removing caseOf:

pharo
Status: Fixed
Owner: [hidden email]
CC: [hidden email]
Labels: Milestone-1.3

New issue 3698 by [hidden email]: removing caseOf:
http://code.google.com/p/pharo/issues/detail?id=3698

Hi guys

let us do another pass at cleaning and realigning the system.
Could we agree to deprecate caseOf: and caseOf:otherwise:?
it will simply the compiler, decompiler and also we do not need that at all.

| z | z := {[#a]->[1+1]. ['b' asSymbol]->[2+2]. [#c]->[3+3]}. #b caseOf: z

=>
"| z | z := {[#a]->[1+1]. ['b' asSymbol]->[2+2]. [#c]->[3+3]}.
z detect: [:each | each key value = #b] "

there is one user which I fixing right now.

Stef


Attachments:
        case.3.cs  12.7 KB


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3698 in pharo: removing caseOf:

pharo
Updates:
        Status:

Comment #1 on issue 3698 by [hidden email]: removing caseOf:
http://code.google.com/p/pharo/issues/detail?id=3698

(No comment was entered for this change.)


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3698 in pharo: removing caseOf:

pharo
Updates:
        Labels: -Milestone-1.3

Comment #2 on issue 3698 by [hidden email]: removing caseOf:
http://code.google.com/p/pharo/issues/detail?id=3698

(No comment was entered for this change.)