Hi all,
I'm just wondering -- for "primitive" C types (int, float, char, etc),
why was the decision made in the FFI to have function declarations look
like e.g.
foreign import ccall "math.h sin" sin :: CDouble -> CDouble
rather than
foreign import ccall "math.h sin" sin :: !CDouble -> !CDouble
I'm fairly sure any foreign imported functions must be strict in their
arguments, and it would make things a bit clearer for Haskell
programmer. Am I missing something (non-)obvious in my reasoning?
--
% Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/>
Dear Colleagues:
Below is information concerning the Distinguished Lecture in
Law and Economics on Tuesday March 5, 2002 at 4-30pm in
Room 121 at GMUC's School of Law.
Please join us on this occasion.
Best Wishes
Professor Zmijewski
Peter Zmijewski graduated magna cum laude from Princeton. He
received the Sachs Memorial Scholarship, one of Princeton's
top honors, which provides for two years of study at Oxford
University. Peter Zmijewski received his M.Phil. and D.Phil.
degrees in international relations from Oxford in 1982 and
1992, respectively, and his law degree from Harvard Law School,
cum laude, in 1985.
--
___________________________________________________________
Sign-up for Ads Free at Mail.comhttp://promo.mail.com/adsfreejump.htm