[nem-en] How to construct option['a].None() from C#?

Kamil Skalski kamil.skalski at gmail.com
Mon Mar 5 21:46:53 CET 2007


You can also use:

list<'a>.Nil _N_constant_object_generator();

;)

Seriously... you are not supposed to create Nemerle specific objects in C#
It is better to use C#-friendly interface or use Nemerle objects only
for consumption in C#

If you really need, well, I guess we could expose some better name
here. Patches welcomed.

2007/3/5, Sergey Shishmintzev <sergey.shishmintzev at gmail.com>:
> Hi,
>
> [csharp]
> option<Value>.None._N_constant_object
> [/csharp]
> is ugly
>
> --
> Serg
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list