[Haskell-cafe] Type safety in foreign pointer

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Oct 15 09:53:42 EDT 2008


Hello Mauricio,

Wednesday, October 15, 2008, 5:40:16 PM, you wrote:

> newtype SomeStruct = SomeStruct ()

data SomeStruct = SomeStruct

looks even simpler. you don't need to shell around () since you anyway
will not use its value :)


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list