enough between that going through a quasiquoter
seems to be the right solution.
-Edward
On Thu, Apr 17, 2014 at 10:19 AM, Merijn Verstraaten wrote:
> Cross-post to haskell-prime in case there's any interest for including
> this into the report's FFI specification.
>
14 7:19 AM, "Merijn Verstraaten"
> wrote:
>
> Cross-post to haskell-prime in case there's any interest for including
> this into the report's FFI specification.
>
> Proposal - Foreign enum support
> ===
>
> At the moment the FFI
nums, bit vectors. IMHO any FFI proposal for working with C
> enums should take that idiom into account.
>
> On Apr 17, 2014 7:19 AM, "Merijn Verstraaten" wrote:
> Cross-post to haskell-prime in case there's any interest for including this
> into the report'
14 7:19 AM, "Merijn Verstraaten"
wrote:
> Cross-post to haskell-prime in case there's any interest for including
> this into the report's FFI specification.
>
> Proposal - Foreign enum support
> ===
>
> At the moment the FFI do
Agreed. A quasiquoter is the right approach here.
On Thursday, April 17, 2014, Roman Cheplyaka wrote:
> I am reluctant about adding a new syntactic feature for such a niche
> problem.
>
> Can't this be achieved with a quaiquoter?
>
> Roman
>
___
ghc-d
I am reluctant about adding a new syntactic feature for such a niche problem.
Can't this be achieved with a quaiquoter?
Roman
signature.asc
Description: Digital signature
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/li
Cross-post to haskell-prime in case there's any interest for including this
into the report's FFI specification.
Proposal - Foreign enum support
===
At the moment the FFI does not have a convenient way with interacting enums
(whether proper enums or CPP def