public void LoadLibrary() { LibraryBasis.Load(this); LibraryArray.Load(this); LibraryString.Load(this); LibraryTable.Load(this); LibraryJson.Load(this); LibraryMath.Load(this); LibraryFunc.Load(this); }
/// <nodoc /> public Function(LibraryFunc func, string name = "<lambda>", int minArity = 1, int?maxArity = null, IEnumerable <Arg> curriedArgs = null) { Contract.Requires(func != null); m_func = func; Name = name; MinArity = minArity; MaxArity = maxArity; m_curriedArgs = (curriedArgs ?? CollectionUtilities.EmptyArray <Arg>()).ToArray(); }