Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | (* Copyright (C) 1999-2006, 2008 Henry Cejtin, Matthew Fluet, Suresh |
2 | * Jagannathan, and Stephen Weeks. | |
3 | * | |
4 | * MLton is released under a BSD-style license. | |
5 | * See the file MLton-LICENSE for details. | |
6 | *) | |
7 | ||
8 | signature RESULT = | |
9 | sig | |
10 | datatype 'a t = | |
11 | No of string | |
12 | | Yes of 'a | |
13 | ||
14 | val isNo: 'a t -> bool | |
15 | val isYes: 'a t -> bool | |
16 | val layout: ('a -> Layout.t) -> 'a t -> Layout.t | |
17 | val map: 'a t * ('a -> 'b) -> 'b t | |
18 | end |