Debian Codegraph @

doc/guide/src/WishList.adoc

raw
1 = WishList
2
3 This page is mainly for recording recurring feature requests. If you
4 have a new feature request, you probably want to query interest on one
5 of the <<Contact#,mailing lists>> first.
6
7 Please be aware of MLton's policy on
8 <<LanguageChanges#,language changes>>. Nonetheless, we hope to provide
9 support for some of the "immediate" <<SuccessorML#>> proposals in a
10 future release.
11
12
13 == Support for link options in ML Basis files
14
15 Introduce a mechanism to specify link options in <<MLBasis#,ML Basis>>
16 files. For example, generalizing a bit, a ML Basis declaration of the
17 form
18
19 ----
20 option "option"
21 ----
22
23 could be introduced whose semantics would be the same (as closely as
24 possible) as if the option string were specified on the compiler
25 command line.
26
27 The main motivation for this is that a MLton library that would
28 introduce bindings (through <<ForeignFunctionInterface#,FFI>>) to an
29 external library could be packaged conveniently as a single MLB file.
30 For example, to link with library `foo` the MLB file would simply
31 contain:
32
33 ----
34 option "-link-opt -lfoo"
35 ----
36
37 Similar feature requests have been discussed previously on the mailing lists:
38
39 * http://www.mlton.org/pipermail/mlton/2004-July/025553.html
40 * http://www.mlton.org/pipermail/mlton/2005-January/026648.html