[MLton] Re: exene example
Matthew Fluet
fluet@cs.cornell.edu
Wed, 31 Aug 2005 22:17:10 -0400 (EDT)
>> For whatever reason we had many problems with infering option types in this
>> exene build.
>
> I think many of your problems arise from an inappropriate use of .mlb files.
> For example, you have:
>
> portExene/eXene/examples/triangle/sources.mlb:
>
> local
> /homes/lziarek/stabalize/code/mlton/basis-library/basis.mlb
> /homes/lziarek/stabalize/code/mlton/basis-library/mlton.mlb
> /homes/lziarek/stabalize/code/mlton/lib/cml/cml-lib/cml-lib.mlb
> /homes/lziarek/stabalize/code/mlton/lib/cml/cml.mlb
> ../../sources.mlb
> in
> icon-bitmap.sml
> mltonTri.sml
> end
As another comment, you shouldn't need both cml/cml-lib/cml-lib.mlb and
cml/cml.mlb. The latter exports the former.