-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Improve handleArcs function in translate/Main.hs #50
Comments
I suggest to have a look at function |
|
|
@snowleopard: OK |
For example: When using groupOn or groupSortOn, the result is: [A+,B+] C+
[A-] C-
[B-] C-
[D+] C+
[E+] C+
[D-,E-] C- It doesn't combine them like I hoped. I was hoping for: [[A+, B+], [D+], [E+]] C+
[[A-], [B-], [D-, E-]] C- |
@jrbeaumont No, actually it will sort them and then group, which is what we need. It does require a more complex constraint |
Could you show the code? |
@snowleopard The latest version is in my repo: [https://github.com/jrbeaumont/concepts] |
@snowleopard: Currently this doesn't print anything usable by a |
Just an experiment:
So it looks like |
By the way, without |
Yeah I found an issue. This is what I've had to do to include I understand the importance of |
Mmm, what about Otherwise, I'd implement it as: instance Ord DynSignal where
compare (Signal x) (Signal y) = compare x y |
I have tried that, and it just throws errors in the So I added my own instance. |
Fixed in #51 |
This was designed to include OR-causality handling, and has been tested and working, but was done quickly and without much thought on efficiency.
A
TODO
has been included in the code, but this issue serves to document it better.What needs to be done:
The text was updated successfully, but these errors were encountered: