[MLton] basis library bug

Stephen Weeks sweeks at sweeks.com
Mon Nov 13 14:19:11 PST 2006


> The basis library spec for the Socket structure clearly has a typo
> in the types of recvVecFrom, recvVecFromNB, recvVecFrom' and
> recvVecFromNB'.  Consider the corresponding recvArrFrom,
> recvArrFromNB, recvArrFrom' and recvArrFromNB'.  The latter
> correctly require that the address family of the returned sock_addr
> match that of the argument socket.  The former allow it to be any
> sock_addr type at all.

Great minds think alike.  In this case, Henry of 2006 thinking like
Henry of 2005.  :-)

  http://mlton.org/pipermail/mlton/2005-July/027228.html

Based on that discussion, we fixed that bug in r3888 on July 2, 2005.

I just checked and the bug is still around in Poly/ML and SML/NJ,
though.




More information about the MLton mailing list