[Yhc] Some suggested changes to Yhc.Core
Tom Shackell
shackell at cs.york.ac.uk
Sat Aug 4 04:06:47 EDT 2007
> Is it useful to have
> "name of function in C (or Nothing for same as haskell)"
> , or would it be more convenient as an always-present string that is
> filled in with the Haskell-name if necessary?
> Or to put it another way, should something like
> `foreign import ccall doSomething :: IO ()`
> be distinguishable from
> `foreign import ccall "doSomething" doSomething :: IO ()`
Interesting question, I opted for the "keep as much information as
possible" approach, but having said that I can't think of a single
useful example where you'd want to be able to distinguish the above.
I'd be equally happy for it to be filled in automatically,
What do people think?
Tom
More information about the Yhc
mailing list