Ejemplo n.º 1
0
 private bool BoolEquals(IEilangEquatable other)
 {
     return(other.Type switch
     {
         EilangType.FunctionPointer => Item == other.As <FunctionPointerValue>().Item,
         _ => false
     });
Ejemplo n.º 2
0
 public IValue ValueNotEquals(IEilangEquatable other, IValueFactory fac)
 {
     return(fac.Bool(!BoolEquals(other)));
 }