Stratego/XT JIRA  History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STR-77
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Martin Bravenboer
Reporter: Martin Bravenboer
Votes: 0
Watchers: 0
Operations

Clone this issue
Create sub-task
If you were logged in you would be able to see more operations.
Stratego/XT

Improve translation of list constructs in RTG to sig

Created: 2004-04-29 17:42   Updated: 2008-03-31 20:39
Component/s: stratego-regular
Affects Version/s: 0.10
Fix Version/s: 0.10

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
The translation of lists, although correct, is really ugly.

---------------------------------------------------------
    Nil : b_0
    Conc : b_0 * b_0 -> b_0
    Conc : b_0 * a_0 -> a_0
    Conc : a_0 * b_0 -> a_0
    Conc : a_0 * a_0 -> a_0
    Cons : Id * b_0 -> a_0
---------------------------------------------------------

This must be improved. ASAP. Maybe it is possible to recognize such a structure in rtg2sig and use the List(...) in this case. It is a pity that the signature isn't that precise anymore then, but well ... Het oog wil ook wat!

 All   Comments   Work Log   Change History      Sort Order:
Martin Bravenboer [2004-04-29 17:45]
btw, this is on special request of Arthur :P .