[Haskell-cafe] Pretty-printing peg solitaire boards

Vimal j.vimal at gmail.com
Sun Nov 25 01:59:33 EST 2007


On 25/11/2007, Maurí­cio <briqueabraque at yahoo.com> wrote:
> Hi,
>
> I'm trying to pretty-print (with Text
> . PrettyPrint . HughesPJ) a set of peg solitaire
> boards. No matter what I try, I always get this:
>
>    00#
>    00#
> 0000#00
> 0000000
> 0000000
>    000
>    000   :   00#
>              00#
>            0000000
>            0000000
>            0000000
>              000
>              000
>

Just curious. Are you working on the algorithm also? :)


More information about the Haskell-Cafe mailing list