Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

F# library expected to behave like C# when consumed

Tags:

c#

f#

I'm developing a library in F# for consumption by another team using C#. What things should I look out for knowing that this other team expects this library to behave like any other C# library?

For example if I use Options types I'll need to convert them to null when I expose to C#. Some other possible transition areas could be computation expressions, FastFunc, events and naming issues.

like image 937
gradbot Avatar asked Dec 09 '10 17:12

gradbot


1 Answers

The F# Component Design Guidelines is a document designed to answer exactly this question.

like image 99
Brian Avatar answered Nov 15 '22 10:11

Brian