Skip to content
Discussion options

You must be logged in to vote

Hello! type is a keyword so it cannot be used as a variable. It is quite common for languages not to permit keywords to be used as variable names.

I tend to use type_ in my Gleam and Rust programs intead.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@xhh
Comment options

@lpil
Comment options

lpil Oct 15, 2022
Maintainer

Answer selected by xhh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants