module Novika::Resolver::Runnable::HasDatum(T)

Overview

Represents a runnable with datum of type T. This module assigns no intrinsic meaning to the word "datum" or to its value; includers are free to choose that, as well as the type T.

The only real consequence of including this module is that equality and hash methods will be defined. These methods will delegate comparison/hashing to the datum(s) at hand.

Direct including types

Defined in:

novika/resolver.cr

Instance Method Summary

Instance Method Detail

def ==(other : T) #

Returns whether the datum of this runnable is equal to other.


def ==(other : self) #

def hash(hasher) #