Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend map macro to constrained maps #198

Open
schillic opened this issue Mar 7, 2020 · 1 comment
Open

Extend map macro to constrained maps #198

schillic opened this issue Mar 7, 2020 · 1 comment
Labels
enhancement macros Issues related to DSL syntax

Comments

@schillic
Copy link
Member

schillic commented Mar 7, 2020

@map can only read unconstrained maps so far. But we can read constraints in @system. It should be rather easy to share that code (I hope).

@mforets mforets added the macros Issues related to DSL syntax label Dec 3, 2020
@mforets
Copy link
Member

mforets commented Aug 31, 2021

This is also a source of bugs, e.g. in the following code, the struct is built, but the guard is ignored (!):

julia> guard_1 = Universe(3);

julia> t1 = @map(h -> h, dim: 3, h  guard_1)
IdentityMap(3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement macros Issues related to DSL syntax
Projects
None yet
Development

No branches or pull requests

2 participants