Version française
Home     About     Download     Resources     Contact us    
Browse thread
Type of prefix + and prefix ::
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Laurent Chéno <laurent.cheno@h...>
Subject: Type of prefix + and prefix ::
Why ?

>>       Caml Light version 0.73/Mac.3
>
>#prefix + ;;
>- : int -> int -> int = <fun>
>#prefix :: ;;
>- : 'a * 'a list -> 'a list = <fun>
>#


and not 

prefix :: ;;
- : 'a -> 'a list -> 'a list = <fun>

It's strange, no ?