Skip to content

Commit f5b33fd

Browse files
committed
Make constants terms by default
1 parent 8043a88 commit f5b33fd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/smtml/symbol.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module Name = struct
3636
end
3737

3838
let ( @: ) (name : string) (ty : Ty.t) : t =
39-
{ name = Name.simple name; namespace = var; ty }
39+
{ name = Name.simple name; namespace = term; ty }
4040

4141
let name { name; _ } = name
4242

src/smtml/symbol.mli

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ val var : namespace
5454
(** {1 Symbol Creation} *)
5555

5656
(** [s @: ty] creates a symbol with name [s] and type [ty], belonging to the
57-
default namespace. *)
57+
term (function, constant) namespace. *)
5858
val ( @: ) : string -> Ty.t -> t
5959

60-
(** [make ty s] creates a symbol with type [ty] and name [s] in the default
61-
namespace. *)
60+
(** [make ty s] creates a symbol with type [ty] and name [s] in the term
61+
(function, constant) namespace. *)
6262
val make : Ty.t -> string -> t
6363

6464
(** [make3 ty name ns] creates a symbol with type [ty], name [name], and

0 commit comments

Comments
 (0)