diff options
Diffstat (limited to 'lib/field.ml')
| -rw-r--r-- | lib/field.ml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/field.ml b/lib/field.ml index df59673..8f72c37 100644 --- a/lib/field.ml +++ b/lib/field.ml @@ -11,6 +11,12 @@ module type S = sig val one : t (** The one value, i.e. the multiplicative identity. *) + val of_string : string -> t + (** [of_string s] returns the field element represented by [s]. *) + + val to_string : t -> string + (** [to_string a] returns the string representation of [a]. *) + val equal : t -> t -> bool (** [equal a b] returns [true] if [a] is equal to [b]. *) |
