On Wed, 12 Mar 2014, SF Markus Elfring wrote:

> > let store_positions fun count places =
> >     current_function := fun;
>
> Does OCaml not like my name selection here?
> Do I accidentally stumble on another software development "surprise" with
> reserved key words?

Well, it is not really a surprise.  Fun is indeed a reserved keyword in
ocaml.

julia

> http://ocaml.org/learn/faq.html
>
>   let store_positions fu count places =
>       current_fu := fu;
>       current_count := string_of_int count;
>       List.iter append places
>
> Regards,
> Markus
> _______________________________________________
> Cocci mailing list
> [email protected]
> https://systeme.lip6.fr/mailman/listinfo/cocci
>
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to