[racket] Typo in FFI documentation

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Jun 6 19:42:12 EDT 2013

Fixed - thanks!

At Thu, 06 Jun 2013 07:23:19 +0400, Клочков Роман wrote:
>  
> http://docs.racket-lang.org/foreign/foreign_procedures.html#%28part._foreign~3ac
> ustom-types%29
> 
> ( define-fun-syntax   _float*
>    ( syntax-id-rules   ( _float* )
>      [ ( _float* )   ( type:   _float   pre:   ( x   =>   ( +   0.0   x ) ) ) ] 
> ) )
>  
> ( _fun   _float*   ->   _bool )
> 
> doesn't work.
> 
> Should be 
> 
> ( define-fun-syntax   _float*
>    ( syntax-id-rules   ( _float* )
>      [ _float*    ( type:   _float   pre:   ( x   =>   ( +   0.0   x ) ) ) ] ) )
>  
> ( _fun   _float*   ->   _bool )
> 
> 
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users


Posted on the users mailing list.