Implement loading namespaces with the using
keyword
#829
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "ghallak/233"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes: #233
Fixes: #234
Created by: radrow
Review: Dismissed
Super!
Created by: radrow
Created by: radrow
I'm surprised that I wrote it this way. Will change.
Created by: radrow
No indefinite articles with plurals
Created by: radrow
In such documents it is better not to use abbreviated forms
Created by: radrow
Created by: hanssv
Sorry I'm late to the party, but I was thinking about the example
using_namespace_ambiguous_name
- isn't the problem that you alias bothXa
andXb
toA
and the error is really on the lineusing Xb as A
- the example reports two (other) errors? Otherwise it looks good to me.Also there is a trivial conflict in documentation it seems.
@hanssv I would say that it's not an error that two namespaces have the same alias, as these namespaces might have functions with different names:
I think the above example should compile, and I can't think of a way that this could cause any bugs (beside that, haskell allows using the same alias for multiple modules).
Created by: hanssv
Again, let me remind me about the target audience... Modeling things after Haskell might or might not be the correct thing 😅
That last example did not match my mental picture of things but I should be able to adapt the picture - possibly the documentation could clarify this?
@hanssv I've updated the docs to here
7fabbff11e
Created by: hanssv
Review: Approved
👍
Created by: radrow
Review: Approved
Merged by: ghallak at 2021-09-07 14:45:28 UTC