Import Upstream version 20180207
[hcoop/debian/mlton.git] / mlton / atoms / profile-exp.sig
CommitLineData
7f918cf1
CE
1(* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 2004-2006 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 *)
8
9signature PROFILE_EXP_STRUCTS =
10 sig
11 structure SourceInfo: SOURCE_INFO
12 end
13
14signature PROFILE_EXP =
15 sig
16 include PROFILE_EXP_STRUCTS
17
18 datatype t =
19 Enter of SourceInfo.t
20 | Leave of SourceInfo.t
21
22 val equals: t * t -> bool
23 val hash: t -> word
24 val layout: t -> Layout.t
25 val toString: t -> string
26 end