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

Key: STR-235
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
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

Syntactical ambiguity with higher order arguments

Created: 2005-01-26 22:08   Updated: 2008-03-31 20:39
Component/s: stratego-front
Affects Version/s: 0.13
Fix Version/s: 0.16 (Stratego Core Compiler)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Solve
This issue will solve:
STR-289 High order strategies exported incorr... Major Closed
 


 Description  « Hide
----------------------------------------------------------------------
module foo
strategies

topdownS_2_0(i_95 : ATerm() -> ATerm() , j_95 : a -> a * a -> a) =
    id
----------------------------------------------------------------------

-----------------------------------------------------------------------------------------
martin@logistico:~/tmp> parse-stratego -i bar.str | pp-aterm
Specification(
  [ Strategies(
      [ SDef(
          "topdownS_2_0"
        , [ VarDec(
              "i_95"
            , FunType(
                [ConstType(Sort("ATerm", []))]
              , ConstType(Sort("ATerm", []))
              )
            )
          , VarDec(
              "j_95"
            , amb(
                [ FunType(
                    [ConstType(SortVar("a"))]
                  , FunType(
                      [ConstType(SortVar("a")), ConstType(SortVar("a"))]
                    , ConstType(SortVar("a"))
                    )
                  )
                , FunType(
                    [ FunType([ConstType(SortVar("a"))], ConstType(SortVar("a")))
                    , ConstType(SortVar("a"))
                    ]
                  , ConstType(SortVar("a"))
                  )
                ]
              )
            )
          ]
        , Id
        )
      ]
    )
  ]
)
-----------------------------------------------------------------------------------------


(This is a fragment of libxtclib)

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.