Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Sudoku solver
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-15 (13:32)
From: Pascal Brisset <pascal.brisset@e...>
Subject: Re: [Caml-list] Sudoku solver
Diego Olivier Fernandez Pons wrote:

>>where search is not included. So it does not solve all the instances:
> It shouldn't be difficult to add a simple search (generate) is it ?

  Yes, just add one line (before printing):
	Goals.solve (Goals.Array.forall Goals.Array.labeling v);