Skip to content

fix: typo#2091

Open
sukyoung wants to merge 4 commits intoWebAssembly:mainfrom
sukyoung:main
Open

fix: typo#2091
sukyoung wants to merge 4 commits intoWebAssembly:mainfrom
sukyoung:main

Conversation

@sukyoung
Copy link
Contributor

The following definitions are not used anywhere:


def $arg_for_param(arg, param) : subst
def $arg_for_param(EXP e, EXP x `: t) = {EXP (x, e)}
def $arg_for_param(TYP t, TYP x) = {TYP (x, t)}
def $arg_for_param(FUN y, FUN x `: p* `-> t) = {FUN (x, y)}
def $arg_for_param(GRAM g, GRAM x `: p* `-> t) = {GRAM (x, g)}

def $args_for_params(arg*, param*) : subst
def $args_for_params(eps, eps) = {}
def $args_for_params(a_1 a*, p_1 p*) = s ++ $args_for_params(a*, $subst_param(s, p)*)
  -- if s = $arg_for_param(a_1, p_1)```

The following definitions are not used anywhere:

```;; Constructing substitutions for parameters

def $arg_for_param(arg, param) : subst
def $arg_for_param(EXP e, EXP x `: t) = {EXP (x, e)}
def $arg_for_param(TYP t, TYP x) = {TYP (x, t)}
def $arg_for_param(FUN y, FUN x `: p* `-> t) = {FUN (x, y)}
def $arg_for_param(GRAM g, GRAM x `: p* `-> t) = {GRAM (x, g)}

def $args_for_params(arg*, param*) : subst
def $args_for_params(eps, eps) = {}
def $args_for_params(a_1 a*, p_1 p*) = s ++ $args_for_params(a*, $subst_param(s, p)*)
  -- if s = $arg_for_param(a_1, p_1)```
`rule Step_exp/COMP` is undefined.
Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Yeah, the args-for-params is not needed atm. Feel free to remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants