Zulip Chat Archive

Stream: general

Topic: untyped expressions


Jakob von Raumer (Apr 19 2018 at 14:40):

When referring to local constants it's pretty annoying that I have to give the type every time. Can't I used leave the type unelaborated until the local constant is abstracted away anyway?

Kenny Lau (Apr 19 2018 at 14:40):

for example?

Sebastian Ullrich (Apr 19 2018 at 14:43):

@Jakob von Raumer Sure, you can use any dummy type as long as you don't need type inference

Jakob von Raumer (Apr 19 2018 at 14:43):

@Kenny Lau When I use them in expressions that I later on treat with expr.pis for example

Jakob von Raumer (Apr 19 2018 at 14:44):

Well, so I just use `(Type)?

Sebastian Ullrich (Apr 19 2018 at 14:48):

yeah


Last updated: Dec 20 2023 at 11:08 UTC