1 ! Copyright (C) 2009 Maximilian Lupke.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: assocs help.markup help.syntax sequences ;
11 { $description "Calculates an assoc of { prefix sequence } pairs with prefix being an prefix of each element of sequence for each element in " { $snippet "seqs" } "." } ;
18 { $description "Calculates an assoc of { prefix { sequence } } pairs with prefix being an unambiguous prefix of sequence in seqs." } ;
20 ARTICLE: "sequences.abbrev" "Examples of abbrev usage"
21 "It is probably easiest to just run examples to understand abbrev."
23 "{ \"hello\" \"help\" } abbrev"
24 "{ \"hello\" \"help\" } unique-abbrev"
28 ABOUT: "sequences.abbrev"