-
Notifications
You must be signed in to change notification settings - Fork 165
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
Some backends do not implement the define
pragma
#266
Comments
andreasabel
changed the title
C backend does not implement
Some backends do not implement the Jan 3, 2020
define
pragmadefine
pragma
andreasabel
added a commit
that referenced
this issue
Jan 3, 2020
andreasabel
added a commit
that referenced
this issue
Jan 3, 2020
andreasabel
added a commit
that referenced
this issue
Jan 3, 2020
andreasabel
added a commit
that referenced
this issue
Jan 3, 2020
andreasabel
added a commit
that referenced
this issue
Jan 3, 2020
If we refer to a defined constructor within another defined constructor, the generated Haskell will still be incorrect.
andreasabel
added a commit
that referenced
this issue
Jan 4, 2020
andreasabel
added a commit
that referenced
this issue
Jan 4, 2020
andreasabel
added a commit
that referenced
this issue
Jan 4, 2020
andreasabel
added a commit
that referenced
this issue
Jan 18, 2020
In particular, in the presence of defined constructors, there should not be excessive new lines. (Re #266)
andreasabel
added a commit
that referenced
this issue
Apr 1, 2021
andreasabel
added a commit
that referenced
this issue
Apr 1, 2021
The transation to Ocaml syntax was missing some parentheses.
andreasabel
added a commit
that referenced
this issue
Apr 2, 2021
andreasabel
added a commit
that referenced
this issue
Apr 2, 2021
andreasabel
added a commit
that referenced
this issue
Dec 23, 2021
Also: Disable hlint warnings connected to writing lambdas instead of functions.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The C backend does not implement the
define
pragma.For this example,
fails at compilation of
Printer.c
, which treatseNeg
as variant just asEInt
andEMinus
.The backends Haskell, Java, CPP, OCaml do support
define
.Backends that do not support
define
:--functor
The text was updated successfully, but these errors were encountered: