Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Current syntactic and semantic redundancies #699

Answered by mpvl
extemporalgenome asked this question in Ideas
Discussion options

You must be logged in to vote

Thanks for the feedback. I'll try to explain the raison d'etre of the various constructs. I'll be curious to hear if that explains the differences sufficiently or if there is still an uneasy feeling of redundancy or suggestions for simplifications, beyond the ones confirmed below.

Aliases

Unlike fields, which always have a :, an alias, never introduces something new and always just introduces a different name to refer to an existing element, whether it be a value or field. Moreover, the only other place where = is used is in let. More on let below. But for now, basically, any use of = never introduces something that influences unification.
Another way to view it, for X = Y for any let or …

Replies: 2 comments 2 replies

Comment options

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

@myitcv
Comment options

Answer selected by extemporalgenome
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants