Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let r0 = Listenv.emptyenv(Int(0));;
- let test1 = Sum(Eint(5), Eint(2));;
- let nameparam =
- Let(
- "x",
- Fun(
- "a",
- Sum(Nameden "a", Nameden "a")
- ),
- Let(
- "q",
- Eint(2),
- Apply(
- Den "x",
- Name(Sum(Den "q", Den "q"))
- )
- )
- );;
- let wrongnameparam =
- Let(
- "x",
- Fun(
- "a",
- Sum(Nameden "a", Nameden "a")
- ),
- Let(
- "q",
- Eint 2,
- Apply(
- Den "x",
- Sum(Den "q", Den "q")
- )
- )
- );;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement