Re: Proposal - Foreign enum support

2014-04-19 Thread Edward Kmett
that going through a quasiquoter seems to be the right solution. -Edward On Thu, Apr 17, 2014 at 10:19 AM, Merijn Verstraaten mer...@inconsistent.nl wrote: Cross-post to haskell-prime in case there's any interest for including this into the report's FFI specification. Proposal - Foreign enum

Proposal - Foreign enum support

2014-04-17 Thread Merijn Verstraaten
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 defines) in C

Re: Proposal - Foreign enum support

2014-04-17 Thread Roman Cheplyaka
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 ___ Haskell-prime mailing list Haskell-prime@haskell.org