From 84b8439aa90f1465d05dcba936a25eaf96f914a0 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 26 Feb 2022 13:42:32 +0100 Subject: Use the whole dictionnary when searching for a word for a faster exploration --- motus/js/state.ml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'motus/js/state.ml') diff --git a/motus/js/state.ml b/motus/js/state.ml index cbab14f..e2e531d 100644 --- a/motus/js/state.ml +++ b/motus/js/state.ml @@ -5,6 +5,7 @@ type proposition = (Jstr.t * Validity.t) option list type state = { analysis : Wordlist.t + ; catalog : Wordlist.t ; rules : Criteria.t list ; length : int ; propositions : proposition list @@ -14,6 +15,7 @@ type state = let init () = { analysis = Wordlist.empty_data () + ; catalog = Wordlist.empty_data () ; rules = [] ; length = 0 ; propositions = [] -- cgit v1.2.3