[m-dev.] Help required with Erlang: Address review comments
Paul Bone
paul at bone.id.au
Wed Sep 7 16:24:55 AEST 2016
On Wed, Sep 07, 2016 at 04:11:11PM +1000, Julien Fischer wrote:
>
> On Wed, 7 Sep 2016, Paul Bone wrote:
>
> >On Wed, Sep 07, 2016 at 03:47:10PM +1000, Julien Fischer wrote:
>
> >>>>Isn't it just:
> >>>>
> >>>> Result = {ok};
> >>>>
> >>>>etc? (That is at least, what the reference manual section on Erlang
> >>>>data passing conventions suggests that it is.)
> >>>
> >>>Doh! that was it.
> >>
> >>I'll adjust the reference manual to it a litle more obvious.
> >
> >To be fair, it's probably already the kind of thing that would be obvious to
> >someone who actually knows Erlang.
>
> Maybe, although it's really a question of how Mercury values map down to
> Erlang values. In any case, there's no harm in adding a note saying
> that pragma foreign_export_enum doesn't need to exist for Erlang and
> pointing the reader to the section on Erlang data passing conventions
> (which is what I am intending to do).
Agreed. Thanks.
--
Paul Bone
http://paul.bone.id.au
More information about the developers
mailing list