Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | (* Copyright (C) 2009 Matthew Fluet. |
2 | * Copyright (C) 2002-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 | ||
9 | signature CHOICE_PATTERN = | |
10 | sig | |
11 | (* expand "ab{c{d,e},f{gh}}{i,j}" = | |
12 | * ["abcdi", "abcdj", "abcei", "abcej", "abfghi", "abfghj"] | |
13 | *) | |
14 | val expand: string -> string list Result.t | |
15 | end |