This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
compilation/flap/tests/03-Typing/28-anonymous-function.good.typing.hopix
Adrien Guatto 6355f88c0f Jalon 3
2023-11-15 19:08:33 +01:00

1 line
No EOL
2.2 KiB
Text

(((value(DefineValue(SimpleValue(((value(Id succ))(position((start_p(""1 0 4))(end_p(""1 0 8)))))(((value(ForallTy()((value(TyArrow((value(TyCon(TCon int)()))(position((start_p(""1 0 11))(end_p(""1 0 14)))))((value(TyCon(TCon int)()))(position((start_p(""1 0 18))(end_p(""1 0 21)))))))(position((start_p(""1 0 11))(end_p(""1 0 21)))))))(position((start_p(""1 0 11))(end_p(""1 0 21))))))((value(TypeAnnotation((value(Fun(FunctionDefinition((value(PTypeAnnotation((value(PVariable((value(Id x))(position((start_p(""1 0 28))(end_p(""1 0 29)))))))(position((start_p(""1 0 28))(end_p(""1 0 29)))))((value(TyCon(TCon int)()))(position((start_p(""1 0 32))(end_p(""1 0 35)))))))(position((start_p(""1 0 27))(end_p(""1 0 36)))))((value(Apply((value(Apply((value(Variable((value(Id `+`))(position((start_p(""1 0 42))(end_p(""1 0 43)))))()))(position((start_p(""1 0 42))(end_p(""1 0 43)))))((value(Variable((value(Id x))(position((start_p(""1 0 40))(end_p(""1 0 41)))))()))(position((start_p(""1 0 40))(end_p(""1 0 41)))))))(position((start_p(""1 0 40))(end_p(""1 0 41)))))((value(Literal((value(LInt 1))(position((start_p(""1 0 44))(end_p(""1 0 45)))))))(position((start_p(""1 0 44))(end_p(""1 0 45)))))))(position((start_p(""1 0 40))(end_p(""1 0 45))))))))(position((start_p(""1 0 25))(end_p(""1 0 45)))))((value(TyArrow((value(TyCon(TCon int)()))(position((start_p(""1 0 48))(end_p(""1 0 51)))))((value(TyCon(TCon int)()))(position((start_p(""1 0 55))(end_p(""1 0 58)))))))(position((start_p(""1 0 48))(end_p(""1 0 58)))))))(position((start_p(""1 0 24))(end_p(""1 0 59)))))))))(position((start_p(""1 0 0))(end_p(""1 0 59)))))((value(DefineValue(SimpleValue(((value(Id main))(position((start_p(""3 61 65))(end_p(""3 61 69)))))(((value(ForallTy()((value(TyCon(TCon int)()))(position((start_p(""3 61 72))(end_p(""3 61 75)))))))(position((start_p(""3 61 72))(end_p(""3 61 75))))))((value(Apply((value(Variable((value(Id succ))(position((start_p(""3 61 78))(end_p(""3 61 82)))))()))(position((start_p(""3 61 78))(end_p(""3 61 82)))))((value(Literal((value(LInt 0))(position((start_p(""3 61 84))(end_p(""3 61 85)))))))(position((start_p(""3 61 83))(end_p(""3 61 86)))))))(position((start_p(""3 61 78))(end_p(""3 61 86)))))))))(position((start_p(""3 61 61))(end_p(""3 61 86))))))