Changes between Version 8 and Version 9 of Language/Declarations
- Timestamp:
- 06/25/09 02:21:35 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Language/Declarations
v8 v9 94 94 Foreign imports define the type of an external symbol. 95 95 96 Foreign data imports import a type name from C land. If no kind is given then the kind is assumed to be * (value types). For example:97 98 {{{ 99 foreign import data "String" String# :: % -> %96 Foreign data imports import a type name from C land. If a kind is given then its resulting kind must be *. If no kind is given then it is assumed to be *. For example: 97 98 {{{ 99 foreign import data "String" String# :: % -> * 100 100 foreign import data "Int32" Int32# 101 101 }}}
